Additional Weapon Damage

From PCGen Wiki
Revision as of 17:55, 15 July 2008 by Eddyanthony (talk | contribs) (New page: Here's something simple that PCGen can't currently handle, some weapons deal additional damage beyond the standard damage roll. Flaming swords do fire damage, many monsters attacks inject ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here's something simple that PCGen can't currently handle, some weapons deal additional damage beyond the standard damage roll. Flaming swords do fire damage, many monsters attacks inject poison. This is displayed in most stat blocks right inline with the normal damage, examples:

1d8 plus 1d6 fire
1d6 plus poison

Currently we put this data in the equipments SPROP or an SAB tag if it's a monster. I would like to see a way to do this in PCGen, we need something in addition to SPROP as that tag is a dumping ground for many things besides just additional damage. I think it can be a text string as there are not many cases where there is something that modifies the secondary damage value. In those rare cases where that may be needed we could make the new tag accept variable substitution like SPROP and SAB do.

ADDITIONALDAMAGE:x
x = Text (Additional damage the weapon deals)
This would be a short string (like "1d6 Acid damage") leaving any longer descriptions and details to an SPROP or ability DESC.

Examples:

ADDITIONALDAMAGE:Poison
ADDITIONALDAMAGE:1d6 Cold
ADDITIONALDAMAGE:%d4 Sonic|TL

We may also need a parallel tag for double weapons:
ALTADDITIONALDAMAGE:x

Now we need a way to add this property to natural weapons, I propose we add an additional optional variable to NATURALATTACKS at the end where the text can be added, example:

NATURALATTACKS:Claw,Weapon.Natural.Melee.Slashing,*2, 1d4,1d6 Acid

Next we need a new sub token for the WEAPON OS token, ADDITIONALDAMAGE which outputs the value of ADDITIONALDAMAGE for that weapon.

So far this is straight forward, where it may get complicated is how EQMOD's might add this property to a weapon. My first thought is that ADDITIONALDAMAGE could be valid in EQMODs and it would be additive in the same way that SPROP is. In fact, now that I think about it this tag is pretty much identical to SPROP except for it's name and the additional ability to add this property to NATURALATTACKS.