D
Daripa
Guest
so I run this code and if my lvl increases my hp doesn't :/
can someone explain the logic behind this
///global
//lvl
global.lvl =1;
//player hitpoints
global.hp =100*global.lvl*1.25;
global.hpmax =100*global.lvl*1.25;
//EXP
global.ex =0;
global.exmax =100*global.lvl*1.25;
//player Damage
global.dmg = 50*global.lvl
// enemy.hitpoints
global.enemyhp = 1.25*global.lvl
can someone explain the logic behind this
///global
//lvl
global.lvl =1;
//player hitpoints
global.hp =100*global.lvl*1.25;
global.hpmax =100*global.lvl*1.25;
//EXP
global.ex =0;
global.exmax =100*global.lvl*1.25;
//player Damage
global.dmg = 50*global.lvl
// enemy.hitpoints
global.enemyhp = 1.25*global.lvl