[svn 3151] Additive tmpvals not removed properly
Posted: Tue Apr 05, 2011 1:58 am
Additive tmpvals seem to not get reset correctly when equipment is removed.
As you can see, when I remove this equipment, only 1% of the benefit is removed. I can get as much life_regen and max_life as I want by taking the cloak on and off. (Actually, looking at it, I get a lot more permanent gain when I take the cloak *off* than when I put it on. That may be because of the values hanging around.)
Code: Select all
ght: linen robe of life chronomancer's yew staff of wizardry :: OFFHAND BODY
fight: linen robe of life plush linen cloak of the Shaloren :: nil BODY
fight: linen robe of life wizard's copper ring of see invisible :: nil BODY
fight: linen robe of life wizard's copper ring :: nil BODY
fight: linen robe of life linen wizard hat of magic (#STATBONUS#) :: nil BODY
fight: linen robe of life monstrous rough leather belt :: nil BODY
fight: linen robe of life steel amulet of mastery (#MASTERY#) :: nil BODY
fight: linen robe of life temporal rough leather gloves of warmaking :: nil BODY
fight: linen robe of life nightwalker's brass lantern :: nil BODY
fight: linen robe of life scholar's pair of rough leather boots of tirelessness :: nil BODY
fight: linen robe of life miner's iron pickaxe :: nil BODY
addTmpVal table: 0x2cd0a40 life_regen 0.6 :=: 1 196 add
addTmpVal table: 0x2cd0a40 max_life 40 :=: 1 197 add
addTmpVal table: 0x2cd0a40 healing_factor 0.11 :=: 1 198 add
addTmpValTable table: 0x2b05250 8 5
addTmpVal table: 0x2b05250 8 0.05 :=: 1 199 perc_inv
[LOG] Rose wears: #0080FF##UID:1799:0#linen robe of life (0 def, 0 armor)#LAST#.
removeTempVal life_regen 0.6 :=: 196
delTmpVal life_regen 0.006
removeTempVal resists table: 0x2ead880 :=: 199
delTmpVal 8 0.05
removeTempVal healing_factor 0.11 :=: 198
delTmpVal healing_factor 0.0011
removeTempVal max_life 40 :=: 197
delTmpVal max_life 0.4