Quote:
Originally Posted by kayen85
Code:
sub EVENT_SAY {
if ($text =~/buff/i) {
quest::say("Time for your Haste buff buff");
my $GetPlayerID = $client->GetID();
$npc->CastSpell(172, $GetPlayerID );
}
}
I tried this for a few spells and worked fine. Set the NPC for level 75. It will
use the npc's level to base the spell no the player. I set myself to lv 1 and lv 75 and buffs all had same duration.
Kayen
GM Stormhaven
|
Please try spell id 5417 (champion) it is a group spell, I do not see a way to make it cast on a PC.