svn: vim regen on hit a nil value

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
PureQuestion
Master Artificer
Posts: 726
Joined: Fri Feb 03, 2012 3:53 am

svn: vim regen on hit a nil value

#1 Post by PureQuestion »

Image

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: svn: vim regen on hit a nil value

#2 Post 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

Post Reply