Page 1 of 1

[Fixed for V0.37] SWAP ignores charge level

Posted: Fri Mar 31, 2006 1:39 am
by Sophia
If the strength of SWAP is 0, shouldn't it preserve the object's charge level, if it has one? For example, swapping a ful bomb for a ven potion results in the new ven potion always having a random charge level.

This is either a bug report or a suggestion, depending on what you had in mind. :D

Posted: Fri Mar 31, 2006 10:24 am
by George Gilbert
Well, it was the intended behaviour, but probably should be a bug!

A strength of 0 means "random" apart from when passing through a wallitem_action when it means "use the strength of the item that triggered it". As you suggest, I think it should use the previous strength when doing a swap as well.

Posted: Fri Mar 31, 2006 11:19 am
by George Gilbert
Fixed for V0.37