$bPrintedMenuBar = true;
}
}
function printMenuJavaScript()
{
global $bPrintedJavaScript, $TEST_DIR;
if ( !$bPrintedJavaScript )
{
?>
home » builders » builder's lessons » weapon flags
Weapon flags
Weapon flags are magical properties of weapons, that are specific to weapons, unlike the A APPLY's that can apply to objects in general. Make sure to add a magic flag to a weapon that has any of these flags.
#QQ27
black handled broadsword sword~
{80}a black handled broadsword~
{80}A black handled broadsword lies rusting on the ground here. ~
~
ITEM_TYPE_WEAPON
FLAG_MAGIC
CAN_WEAR_TAKE|CAN_WEAR_HOLD|CAN_WEAR_BELT
QUALITY_AVERAGE MATERIAL_METAL COND_PERFECT SIZE_MEDIUM
0 WFLAG_BANE RACE_DRAGON WEAPON_TYPE_BROAD_SWORD 0 0
E
black handled broadsword sword~
It is a broad sword with a black handle.
~
The weapon above will do extra damage against dragons.
| WFLAG_ARROW_DEFLECTION | Acts as if the PC has the arrow deflection feat while wielding a weapon |
| WFLAG_REFLECTIVE | Weapon will reflect spells back at the caster |
| WFLAG_BANE | Increased modifiers against a specific race |
| WFLAG_DISRUPTION | Critical hits have a chance of destroying undead - doing 2-4 times normal damage |
| WFLAG_RETURNING | Thrown weapons or projectiles to the PC's inventory after use |
| WFLAG_SPEED | Increased number of attacks |
| WFLAG_THROWING | A normally unthrown weapon has the ability to be thrown |
| WFLAG_WOUNDING | Causes the victim to bleed |
| WFLAG_VENOMOUS | The weapon is always poisonous, it does not need poison to be reapplied |
| WFLAG_SMITING | Critical hit gives the weapon a chance of destroying constructs |
| WFLAG_VAMPIRIC | The weapon will give hitpoints to the wielder and take them from the victim |
| WFLAG_KEEN | Increased critical threat range |
| WFLAG_VORPAL | Chance of severing limbs |
| WFLAG_BACKSTABBING | Increased damage from backstabs |
| WFLAG_HOLY | Increased damage to undead and outsiders |
| WFLAG_DEFENDER | Increased AC |
Value2 on a weapon has the modifier to the flag. For instance, if you apply WFLAG_BANE, you will need to enter the race number of the race that the Bane is against.