I'm attempting at getting the soulbinders working on my server but it's not working properly
Code:
sub EVENT_SAY {
if ($text=~/Hail/i){quest::say("Greetings $name . Blah Blah [bind your soul]."); }
if ($text=~/bind my soul/i){quest::say("Very well. You will return to this spot when you die.");
quest::castspell($userid,2049); }
}
I've tried this, but the NPC casts thunderclap instead. I've checked my spells.txt files and thunderclap is id 471 and 1024. Bind Affinity is 2049 and 35 (I've tried both).
Both Ids of bind affinity work find if a GM casts it, so I'm not sure what's up.
Any help would be greatly appreciated