there is some issues with C++ and I am not sure if its a server-related
Trying to change max health of character and its working fine when checking the value using lua scripts such as:
However, when you go to the database: the added maxHealth became Health as well as mana
I have an XML file that I specify how much health/mana I want for the character to be added so the 3500 you see above is that I want my character to have additional 3000 health.
In-game it works fine, but it has some bugs when using function such as setMaxHealth(getMaxHealth + 1000) etc.
I dunno if its something that can be fixed, if anyone can let me know plz do
tfs 1.0
LUA:
function onCastSpell(cid, var)
player = Player(cid)
print(player:getMaxHealth())
end
However, when you go to the database: the added maxHealth became Health as well as mana
I have an XML file that I specify how much health/mana I want for the character to be added so the 3500 you see above is that I want my character to have additional 3000 health.
In-game it works fine, but it has some bugs when using function such as setMaxHealth(getMaxHealth + 1000) etc.
I dunno if its something that can be fixed, if anyone can let me know plz do
tfs 1.0
Last edited: