diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-01 00:19:52 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-10 22:04:58 +0200 |
commit | 150e1a9a59aaabe7f72e24889616d301e9d804f8 (patch) | |
tree | e35feed20310ac414fb5e05f6093cd5cb40d9ec7 /src/game-server/autoattack.h | |
parent | af59c9d650bc254683618e7b334795e5a75886b2 (diff) | |
download | manaserv-150e1a9a59aaabe7f72e24889616d301e9d804f8.tar.gz manaserv-150e1a9a59aaabe7f72e24889616d301e9d804f8.tar.bz2 manaserv-150e1a9a59aaabe7f72e24889616d301e9d804f8.tar.xz manaserv-150e1a9a59aaabe7f72e24889616d301e9d804f8.zip |
Fixed issues with removing attribute modifiers
* AttributeModifiersEffect::remove was not calling updateMod with the
'value' parameter, causing it to have no effect at all for Stackable
modifiers.
* The cached value of the changed modifier effect was not being
recalculated when removing modifiers, because it started one layer too
high (there's an inconsistency here: AttributeModifiersEffect::add
updates this cached value while AttributeModifiersEffect::remove
doesn't).
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/game-server/autoattack.h')
0 files changed, 0 insertions, 0 deletions