SkyLancer15
Member
how would I change this block so that I can change other values (ie level) using the same concept?
would I change this line:
or this one?
thanks!
Code:
#--------------------------------------------------------------------------
# * Get Maximum HP
#--------------------------------------------------------------------------
def maxhp
n = [[base_maxhp + @maxhp_plus, 1].max, 9999].min
for i in @states
n *= $data_states[i].maxhp_rate / 100.0
end
n = [[Integer(n), 1].max, 9999].min
return n
end
#--------------------------------------------------------------------------
would I change this line:
Code:
n = [[base_maxhp + @maxhp_plus, 1].max, 9999].min
Code:
n = [[Integer(n), 1].max, 9999].min