View Single Post
  #5  
Old 05-18-2004, 05:10 AM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

I don't understand the question. You want them to regen if they are mezzed? I would take a look at mob.h/npc.h for what is available. Specifically, you can use IsMezzed() to determine if a mob is mezzed.

edit: I think I understand now.. look up a few lines (484). You will see:
Code:
if (IsStunned()||IsMezzed())
  return true;
So if they are stunned or mezzed, they don't regen HP, I guess. If you want, I suppose you could just move that below the regen code, or move the regen code up.. I'm not looking at it in too much detail, but you get the point I hope.
Reply With Quote