Thread: Buff Bot
View Single Post
  #5  
Old 01-17-2009, 12:06 AM
secash
Fire Beetle
 
Join Date: Dec 2008
Location: San Jose, CA
Posts: 6
Default

Quote:
Originally Posted by kayen85 View Post
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.
Reply With Quote