Skip to content

Commit

Permalink
Add Poisoned weapon type
Browse files Browse the repository at this point in the history
As I can't find this type of weapon on the PHB or DMG, I have created it in the Adventure league file, but it's general enought that I have not give it source
  • Loading branch information
grandchefpanda committed Mar 28, 2016
1 parent 7c5b799 commit d390c6e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions COM_5ePack_AL_Rage_of_Demons - Equipment.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<document signature="Hero Lab Data">
<thing id="i5CPoisone" name="Poisoned Weapon" compset="MagicWep" buytemplate="BuyMoney" xactspecial="2">
<fieldval field="wAttackEff" value="And the target must succeed on a DC 15 saving throw or become poisoned for 1d4 hours."/>
<eval phase="Final" priority="20000" index="3"><![CDATA[
~restrict the list of weapons to valid ones only
gizmo.child[gCustMagic].field[gItemExpr].text = #magicgearexpr[] & " & (component.MyGear & component.BaseWep)"
~set our name based on the type of weapon chosen
field[livename].text = "Poisoned "
perform gizmo.findchild[BaseWep].setfocus
if (state.isfocus <> 0) then
field[livename].text &= titlecase(focus.field[name].text)
field[sbName].text = field[livename].text
else
field[livename].text &= "Weapon"
endif
field[shortname].text = field[livename].text]]>
<after name="gItemExpr Set"/>
</eval>
<child entity="gMagWeapon"></child>
</thing>
</document>
Binary file modified COM_5ePack_AL_Rage_of_Demons_Stock_File.stock
Binary file not shown.

0 comments on commit d390c6e

Please sign in to comment.