MMD_PRC8/_module/nss/0c_if_taunt.nss
Jaysyn904 d77404f157 2025/07/15 Update
Added PEPS AI.
Updated module name.
Set all henchmen to have a random race &/or class based name using a custom version of Markshire's Nomeclature scripts, as well as appearance.
Set Constructs, Undead, Outsiders & Elementals to not require food or drink.
Full compile.
2025-07-15 22:19:46 -04:00

16 lines
708 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script: 0c_if_taunt
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that returns TRUE the server allows a henchman to
taunt and if they have the don't have the taunt ai script set.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_associates"
int StartingConditional()
{
object oHenchman = OBJECT_SELF;
return (AI_TAUNTING_ON &&
GetSkillRank(SKILL_TAUNT, oHenchman) > ai_GetCharacterLevels(oHenchman) &&
GetLocalString(oHenchman, AI_COMBAT_SCRIPT) != "ai_a_taunter");
}