-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
7c5b799
commit d390c6e
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.