svn: vim regen on hit a nil value
Posted: Wed Jun 20, 2012 12:51 am

Everything about ToME
https://forums.te4.org/
Code: Select all
if w.mana_on_crit then price = price + w.mana_regen_on_hit * 3 end
if w.vim_on_crit then price = price + w.vim_regen_on_hit * 3 end
if w.psi_on_crit then price = price + w.psi_regen_on_hit * 3 end
if w.hate_on_crit then price = price + w.hate_regen_on_hit * 3 end
Code: Select all
if w.mana_on_crit then price = price + w.mana_on_crit * 3 end
if w.vim_on_crit then price = price + w.vim_on_crit * 3 end
if w.psi_on_crit then price = price + w.psi_on_crit * 3 end
if w.hate_on_crit then price = price + w.hate_on_crit * 3 end