Bug - Cannot Reproduce buff casts that attempt to equip MP reducing equipment shouldn't always do so

Sometimes when casting a buff, an item is swapped out in an attempt to reduce the cost of casting
the buff. A good example of this would be "woven bailing wire bracelets".

But it might take off an "amulet of extreme plot significance" to do this, in which case you
might lose 30MP if you were at full MP to gain a -1MP cost advantage.

I would suggest looking at maxMP and seeing if the new item would reduce it to the point
of negating the MP reducing cost advantage before doing so, if the user has a current
MP that would be reduced by the item swap.
 
I see code in place which looks specifically for this scenario.

Can you provide a specific example where it made the wrong decision rather than just say "might"?
 
Back
Top