HoS_PRC8/_mod/_module/nss/vamp_ck_cwolf.nss

17 lines
527 B
Plaintext
Raw Normal View History

2024-11-25 19:36:07 -05:00
// vamp_ck_cwolf
int StartingConditional()
{
object oPC=GetPCSpeaker();
int nXP=GetLocalInt(oPC,"nVampireXP");
int nLevel=1+(nXP/5000);
int nBlood=GetLocalInt(oPC,"nBloodPool");
object oTarget=GetLocalObject(oPC,"oTarget");
string sTag=GetTag(oTarget);
if (nBlood>29&&GetRacialType(oTarget)==RACIAL_TYPE_ANIMAL)
{
if (sTag=="NW_DIREWOLF"||sTag=="NW_WOLFDIREBOSS"||sTag=="NW_WOLFWINT") return TRUE;
else if (sTag=="NW_WOLF"||sTag=="NW_WORG"||sTag=="UNC23") return TRUE;
}
return FALSE;
}