Page 1 of 1

svn: vim regen on hit a nil value

Posted: Wed Jun 20, 2012 12:51 am
by PureQuestion
Image

Re: svn: vim regen on hit a nil value

Posted: Wed Jun 20, 2012 1:29 am
by edge2054
Whoops, bad copy paste ftl

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