problem with hp

01/26/2017 18:58 boss912#1
hello, i have problem with hp after teleporting, when i teleport my hp have 1/4 ex: if me full hp 30k after teleporting i will have about 7k hp.. how fix it?*

p.s in table.h i edit to int hp,and in char.cpp edit**SetHP(GetMaxHP()); *= *but it don`t helped..
01/28/2017 18:56 boss912#2
up
01/29/2017 20:30 bluedrago#3
mmm
test quest
when login or logout begin
pc.get_hp() pc.get_sp() if pc.hp <0 then
affect.add_collect(apply.HP_REGEN, 100000, 5)
end
if pc.sp <0 then affect.add_collect(apply.SP_REGEN, 100000, 5)
end
end
end
end

---------------
or add login or logout or enter....
01/30/2017 20:05 boss912#4
no, with quset will bugg with hp regen, player can do on 5sec hp regen 100000