RATDOG/_module/nss/cv_is_charmed.nss

24 lines
546 B
Plaintext
Raw Normal View History

//:://////////////////////////////////////////////
//:: cv_is_charmed.nss
//:: Copyright (c) 2022 NWNDS
//:://////////////////////////////////////////////
/*
Checks to see if the NPC speaker is Charmed
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 20221128
//:://////////////////////////////////////////////
#include "x0_i0_match"
int StartingConditional()
{
int isCharmed = GetHasEffect(EFFECT_TYPE_CHARMED, OBJECT_SELF);
if (isCharmed)
return TRUE;
return FALSE;
}