16 lines
443 B
Plaintext
16 lines
443 B
Plaintext
// vamp_ck_crat
|
|
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>9&&GetRacialType(oTarget)==RACIAL_TYPE_ANIMAL)
|
|
{
|
|
if (sTag=="NW_RATDIRE001"||sTag=="NW_RAT001"||sTag=="NW_RAT002") return TRUE;
|
|
}
|
|
return FALSE;
|
|
}
|