cxs410 Beginner
Joined: 04 Oct 2005 Posts: 20
|
Posted: Mon Oct 17, 2005 11:13 pm
A tougher script.. |
I want to calculate how hard a specific hit that a mob is doing to me.
Basically I need to capture a few things here.
The way a mob hits me (ex//barely injures).
My current hp, cur_hp (I've got this part I know what my current hp is)
My hp after a hit, (this is a tough one because cur_hp changes as soon as I'm hit. (that is the biggest stumbling block) if I can capture the difference then I suppose I could do a count for hit_injure +1 (everytime I'm injured) and divide the total damage that has been inflicted on me everytime I'm injured to figure out how much damage is occuring (roughly) everytime i am injured...
So i guess what I'm asking any thoughts on how to say, if your injured take your cur_hp from before your were injured and subtract your cur_hp and add that number to injured_count.. |
|