[Rumble v5.03] Inflict Damage not working properly

Framework(s) for D&D 4e, including Veggiesama's.

Moderators: dorpond, trevor, Azhrei, giliath, Gamerdude, jay, Mr.Ice

Post Reply
Merilan
Kobold
Posts: 3
Joined: Wed Aug 04, 2010 2:50 am

[Rumble v5.03] Inflict Damage not working properly

Post by Merilan »

Code: Select all

java.lang.NumberFormatException: For input string: "Villain" error executing expression setLibProperty("rfw.lastRealHPDamageUndo", json.set(getLibProperty("rfw.lastRealHPDamageUndo"), token, realDam)).
I get that error when I use the Inflict Damage button on a token; this was on the test map, against the Villain token (but the same error happens with any other token). Am I doing something wrong?

User avatar
Rumble
Deity
Posts: 6235
Joined: Tue Jul 01, 2008 7:48 pm

Re: [Rumble v5.03] Inflict Damage not working properly

Post by Rumble »

No, there's an issue with the framework - for some reason, the variables aren't initialized properly for that. If you run these commands:

Code: Select all

[h:setLibProperty("rfw.lastRealHPDamageUndo", "{}", "Lib:4e")]
[h:setLibProperty("rfw.lastTempHPDamageUndo", "{}", "Lib:4e")]

from the chat window, the macro should work again. I will make sure that's fixed in the next release.

Post Reply

Return to “D&D 4e Frameworks”