Difference between revisions of "Additional Weapon Damage"

From PCGen Wiki
Jump to: navigation, search
(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 ...)
 
Line 22: Line 22:
 
Examples:
 
Examples:
  
ADDITIONALDAMAGE:Poison<br>
+
:<tt>ADDITIONALDAMAGE:Poison<br>
ADDITIONALDAMAGE:1d6 Cold<br>
+
:ADDITIONALDAMAGE:1d6 Cold<br>
ADDITIONALDAMAGE:%d4 Sonic|TL
+
:ADDITIONALDAMAGE:%d4 Sonic|TL</tt>
  
 
We may also need a parallel tag for double weapons:<br>
 
We may also need a parallel tag for double weapons:<br>
ALTADDITIONALDAMAGE:x
+
:<tt>ALTADDITIONALDAMAGE:x</tt>
  
 
Now we need a way to add this property to natural weapons, I propose we
 
Now we need a way to add this property to natural weapons, I propose we
Line 33: Line 33:
 
the text can be added, example:
 
the text can be added, example:
  
NATURALATTACKS:Claw,Weapon.Natural.Melee.Slashing,*2, 1d4,1d6 Acid
+
:<tt>NATURALATTACKS:Claw,Weapon.Natural.Melee.Slashing,*2, 1d4,1d6 Acid</tt>
 +
 
 +
The new variable for NATURALATTACKS will accept a single entry and no variable substitution.
  
 
Next we need a new sub token for the WEAPON OS token, ADDITIONALDAMAGE
 
Next we need a new sub token for the WEAPON OS token, ADDITIONALDAMAGE
 
which outputs the value of ADDITIONALDAMAGE for that weapon.
 
which outputs the value of ADDITIONALDAMAGE for that weapon.
  
So far this is straight forward, where it may get complicated is how
+
EQMOD's can have ADDITIONALDAMAGE tags to add these properties to weapons. ADDITIONALDAMAGE is additive in the same way that SPROP is (multiple tags are grouped into a single, comma separated string). This tag is pretty much identical to SPROP except for it's name and the additional ability to add this property to NATURALATTACKS.
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.
 

Revision as of 18:02, 15 July 2008

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

The new variable for NATURALATTACKS will accept a single entry and no variable substitution.

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

EQMOD's can have ADDITIONALDAMAGE tags to add these properties to weapons. ADDITIONALDAMAGE is additive in the same way that SPROP is (multiple tags are grouped into a single, comma separated string). This tag is pretty much identical to SPROP except for it's name and the additional ability to add this property to NATURALATTACKS.