Thread: Need new event
View Single Post
  #2  
Old 02-17-2004, 12:09 PM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

Wouldn't need to be an event, would just need to add a line or 2 to parser.cpp saying npcmob->GetHP().

Take a took in parser.cpp and embparser.cpp and you'll figure it out pretty easy.

Then just use the variable you set (eg $mobhp) and use it an in if statement.

if(($mobhp >= 2000) && $text=~/Hail/i){quest::say("I have over 2k HP!");}
__________________

kRPG Profile
Reply With Quote