Ancordia_PRC8/_module/nss/henchlighten.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

25 lines
440 B
Plaintext

#include "hench_i0_conv"
int StartingConditional()
{
if (!GetLocalInt(OBJECT_SELF, sHenchLightOffHand))
{
return FALSE;
}
int wieldState = GetLocalInt(OBJECT_SELF, sHenchDualWieldState);
if(wieldState == 1)
{
return TRUE;
}
if(wieldState == 2)
{
return FALSE;
}
if (GetHasFeat(FEAT_TWO_WEAPON_FIGHTING, OBJECT_SELF))
{
return TRUE;
}
return FALSE;
}