Unless you input at least 1d1 in a weapon's Critical field for bonus damage, Maptools will spit errors like the following at you, whenever you try to use a power that keys off that weapon:
Illegal argument type java.math.BigDecimal, expecting java.lang.String
java.lang.IllegalArgumentException: n must be positive error executing expression critbonus = eval(MHCritDice).
java.lang.NullPointerException error executing expression critbonus = eval(MHCritDice).
Obviously this is amiss given that non-magical weapons never deal bonus damage on a critical hit.
[Rumble 5.01] BUG: Must Input 1d1+ for Weapon Crit Damage
Moderators: dorpond, trevor, Azhrei, giliath, Gamerdude, jay, Mr.Ice
-
- Kobold
- Posts: 3
- Joined: Thu Aug 19, 2010 5:13 pm
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: [Rumble 5.01] BUG: Must Input 1d1+ for Weapon Crit Damag
I could be wrong, but I think Rumble covered this in a post somewhere. Try 0d6Surrealistik wrote:Unless you input at least 1d1 in a weapon's Critical field for bonus damage, Maptools will spit errors like the following at you, whenever you try to use a power that keys off that weapon:
Illegal argument type java.math.BigDecimal, expecting java.lang.String
java.lang.IllegalArgumentException: n must be positive error executing expression critbonus = eval(MHCritDice).
java.lang.NullPointerException error executing expression critbonus = eval(MHCritDice).
Obviously this is amiss given that non-magical weapons never deal bonus damage on a critical hit.
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
Re: [Rumble 5.01] BUG: Must Input 1d1+ for Weapon Crit Damag
Surrealistik wrote:Unless you input at least 1d1 in a weapon's Critical field for bonus damage, Maptools will spit errors like the following at you, whenever you try to use a power that keys off that weapon:
Illegal argument type java.math.BigDecimal, expecting java.lang.String
java.lang.IllegalArgumentException: n must be positive error executing expression critbonus = eval(MHCritDice).
java.lang.NullPointerException error executing expression critbonus = eval(MHCritDice).
Obviously this is amiss given that non-magical weapons never deal bonus damage on a critical hit.
The bonus critical dice field should default to 0d6 for all weapons when you set them up, and only needs to be changed if the weapon has critical bonus dice. Is it not doing this?