View Single Post
  #1  
Old 12-30-2012, 02:27 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

then this shold work right?

Code:
my $npc_target = $client->GetTarget();
my $mon_target = $npc_target->GetMobID();
$client->CastSpell($a_cast_buff,$mon_target,10,0,0);
it doesn't i'm not sure why

$a_cast_buff is some spell id value (i outputted it to make sure it was valid)

casting on $clientid works with the same $client->Cast. etc code
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote