Problem description:
Not really certain if this falls under this category but;
Anyone got a guess on what may have caused this?
runtime error: Division by zero
proc name: Stat (/mob/Stat)
usr: Dragon (/mob)
src: Dragon (/mob)
call stack:
Dragon (/mob): Stat()
ID:145289
Apr 26 2006, 10:33 pm
|
|
In response to Jp
|
|
You're turning a stat into a procent. And seeing as when a mob ain't created yet, and the vars are null (0), it'll divide by zero.
Whatever stat you're setting to a %, use mob/var |
Show us your Stat() proc. In there, somewhere, you've got a division where the right-hand operand is zero. You can't divide by zero.