x0_i0_equip

Library that handles equipping weapons functions.

NOTE: This file includes x0_i0_assoc and x0_i0_enemy.

Functions

NameBrief Description
bkEquipAppropriateWeaponsEquip the appropriate weapons to face the target.
bkEquipMeleeEquip melee weapon(s) and a shield.
bkEquipRanged
EquipAppropriateWeaponsCause a creature to ready an appropriate weapon.
GetIsWeaponLargeInternal function. Returns TRUE if this is a large weapon. Simple test for the item weight being greater than 12 pounds.
IsOutOfAmmoReturns TRUE if out of ammo of currently equipped weapons.
StoreLastRangedInternal function. Stores the last ranged weapon used for when the henchmen switches from ranged to melee in XP1.
WiseToDualWieldChecks to see if the user has ambidexterity and two weapon fighting.
WrapperActionAttackThis is just a wrapper around ActionAttack to make sure the creature equips weapons.


  author: Mistress, contributor: Graewerld