Quote (Scaryghoul @ 6 Feb 2010 19:09)
I think there is no error in my code now
Only 4 points off and I'm 70% sure the dictionary values at the top are correct. Someone mind theory crafting what's wrong? IMO it's diablo's natural rounding down.
They are.
Change
werewolf = 0.25 and
werebear = 0.50 to
werewolf = 25 and
werebear = 50.
Otherwise you get a factor 100 reduction here,
#Life boosters
total_percent = (itempercent + werebear + werewolf + lycan + bo + oak)/100.00The rest seemed accurate.
This post was edited by Eywa on Feb 6 2010 05:01pm