Finished PRC8 integration
Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
//:: Created On: 06-13-2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_inc_spells"
|
||||
#include "nw_i0_generic"
|
||||
|
||||
/*
|
||||
@@ -61,7 +61,7 @@ int GZHasNegativeEffects(object oPC)
|
||||
|
||||
int GZGetIsBlindOrDeaf(object oPC)
|
||||
{
|
||||
int bBlind = ((GetHasEffect(EFFECT_TYPE_BLINDNESS,oPC) == TRUE) || (GetHasEffect(EFFECT_TYPE_DEAF,oPC)==TRUE));
|
||||
int bBlind = ((PRCGetHasEffect(EFFECT_TYPE_BLINDNESS,oPC) == TRUE) || (PRCGetHasEffect(EFFECT_TYPE_DEAF,oPC)==TRUE));
|
||||
return bBlind;
|
||||
}
|
||||
|
||||
@@ -73,37 +73,37 @@ int GZGetIsDamaged(object oPC)
|
||||
|
||||
int GZGetHasAbilityDamage(object oPC)
|
||||
{
|
||||
int bAbilityDmg = (GetHasEffect(EFFECT_TYPE_ABILITY_DECREASE,oPC) == TRUE);
|
||||
int bAbilityDmg = (PRCGetHasEffect(EFFECT_TYPE_ABILITY_DECREASE,oPC) == TRUE);
|
||||
return bAbilityDmg;
|
||||
}
|
||||
|
||||
int GZGetIsPoisoned(object oPC)
|
||||
{
|
||||
int bPoisoned = (GetHasEffect(EFFECT_TYPE_POISON,oPC) == TRUE);
|
||||
int bPoisoned = (PRCGetHasEffect(EFFECT_TYPE_POISON,oPC) == TRUE);
|
||||
return bPoisoned;
|
||||
}
|
||||
|
||||
int GZGetIsDiseased(object oPC)
|
||||
{
|
||||
int bDiseased = (GetHasEffect(EFFECT_TYPE_DISEASE,oPC) == TRUE);
|
||||
int bDiseased = (PRCGetHasEffect(EFFECT_TYPE_DISEASE,oPC) == TRUE);
|
||||
return bDiseased;
|
||||
}
|
||||
|
||||
int GZGetIsCursed(object oPC)
|
||||
{
|
||||
int bCursed = (GetHasEffect(EFFECT_TYPE_CURSE,oPC) == TRUE);
|
||||
int bCursed = (PRCGetHasEffect(EFFECT_TYPE_CURSE,oPC) == TRUE);
|
||||
return bCursed;
|
||||
}
|
||||
|
||||
int GZGetIsPolymorphed(object oPC)
|
||||
{
|
||||
int bPoly = (GetHasEffect(EFFECT_TYPE_POLYMORPH,oPC) == TRUE);
|
||||
int bPoly = (PRCGetHasEffect(EFFECT_TYPE_POLYMORPH,oPC) == TRUE);
|
||||
return bPoly;
|
||||
}
|
||||
|
||||
int GZHasNegativeLevels(object oPC)
|
||||
{
|
||||
int bLvl = (GetHasEffect(EFFECT_TYPE_NEGATIVELEVEL,oPC) == TRUE);
|
||||
int bLvl = (PRCGetHasEffect(EFFECT_TYPE_NEGATIVELEVEL,oPC) == TRUE);
|
||||
return bLvl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user