Aantioch_Infernum/_module/nss/69_hench_eqmelee.nss

19 lines
385 B
Plaintext
Raw Permalink Normal View History

//69_hench_eqmelee
// Henchman equips melee weapon
// Created by: 69MEH69 Sep2004
#include "69_INC_HENAI"
void main()
{
object oPC = GetPCSpeaker();
if(HasMeleeWeapon69(OBJECT_SELF))
{
SetAssociateState(NW_ASC_USE_RANGED_WEAPON, FALSE);
ActionSpeakString("Very well.");
bkEquipMelee(oPC);
}
else
ActionSpeakString("I do not have a melee weapon to equip.");
}