Thread: Buff Bot
View Single Post
  #4  
Old 01-16-2009, 07:53 PM
kayen85
Sarnak
 
Join Date: Dec 2007
Posts: 50
Default

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
Reply With Quote