generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload
This commit is contained in:
16
_mod/_module/nss/vamp_ck_cwolf.nss
Normal file
16
_mod/_module/nss/vamp_ck_cwolf.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user