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-01 00:19:57 +0200 |
commit | 8f7053df40cd378bf8d165b4b878bace806965c9 (patch) | |
tree | 8268a4943040bdf2bef8a4f22d2f424fafff0b1e /src/scripting/script.cpp | |
parent | 9e25dbe968be4d772763156ab5a08e4f24eb6f38 (diff) | |
download | manaserv-8f7053df40cd378bf8d165b4b878bace806965c9.tar.gz manaserv-8f7053df40cd378bf8d165b4b878bace806965c9.tar.bz2 manaserv-8f7053df40cd378bf8d165b4b878bace806965c9.tar.xz manaserv-8f7053df40cd378bf8d165b4b878bace806965c9.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).
Diffstat (limited to 'src/scripting/script.cpp')
0 files changed, 0 insertions, 0 deletions