This makes no sense. If the hp is below 0, why not make it 0 so it will die.
|
|

Code:if (HP <= 0) { //if the hp is below 0 then set the hp to 30! Otherwise it will crash. HP = 30; }
This makes no sense. If the hp is below 0, why not make it 0 so it will die.

If it is below zero, as in -1, then it will crash.

| « Shops..? | Shorter way of no Equipment on first login. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |