Hashirama479
World of Ninja
- Joined
- Dec 19, 2016
- Messages
- 536
- Solutions
- 6
- Reaction score
- 74
i have a problem on here i made the an item give 1 billion health each time u use it. now this item can be used to get up to 4 billion health but when u use it again it will not calculate correctly and your health will go from 4 billion to around 1 billion. The script line im looking at which gets maxhealth and adds the extra is here.
Code:setCreatureMaxHealth(cid, (getCreatureMaxHealth(cid) + 1000000000))
Im unsure but did you change on ur database from int to bigint?
Health & Healthmax
Mana & Manamax