
svn: vim regen on hit a nil value
Moderator: Moderator
-
- Master Artificer
- Posts: 726
- Joined: Fri Feb 03, 2012 3:53 am
Re: svn: vim regen on hit a nil value
Whoops, bad copy paste ftl
Starting at 1261
Should be...
Starting at 1261
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
Should be...
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