In response to VashMan
I replied with what I could think of.
If you could fix my coding, I would be eternally grateful!
In response to Xallius
Could someone please revise my coding above to effect all the mobs? instead of just the npcs.
In response to Xallius
Not 100% sure, but I think the problem is that mob/Stat() is not called for mobs without a client.


Ultimately the best way to code for the updates (to minimize cpu usage) is to do an update whenever there is damage taken/MP used. For damage at least, it can be thrown into your death-check proc. MP might have to be coded in for every single spell (or whatever changes MP in your game).

You could also just make an Update_bars() proc, then just spawn another copy of itself off within it.

In response to Xallius
Nevermind, I have fixed the problem on my own... In fact I fixed all of these problems on my own.. The only information I found useful was Nick123's example on pixel's.

-----Thanks anyways!
Page: 1 2