Weapon
Weapon Effect
This section can be used to write Dragonscript that will modify the weapon's statistics using item and weapon properties. Other properties can still be used but only as part of condition, math and pick expressions.
Examples
Set the weapon's critical hit effect to "Knockdown"
set weapon.critical to 'Knockdown';
Set the number of damage dice for a weapon based on character level
set weapon.diceCount to pick [1:1, 9:2, 13:3, 15:4, 17:5, 18:6, 19:7, 20:8] at character.level;
Equipped Effect
The Dragonscript added to this section will be applied to characters when they equip the weapon.