Updated scripts to use MyPRCGetRacialType

Updated scripts to use MyPRCGetRacialType.  Full compile.
This commit is contained in:
Jaysyn904
2022-09-28 21:36:29 -04:00
parent 8994c41256
commit 0b86a6485c
81 changed files with 142 additions and 74 deletions

View File

@@ -314,7 +314,7 @@ void main()
// Min. Amount of Rounds between each breath use. See readme for counter defaults. Def: 3
// Default checks for dragon flying automatic turning on of flying.
if(GetLevelByClass(CLASS_TYPE_DRAGON) || GetRacialType(OBJECT_SELF) == RACIAL_TYPE_DRAGON)
if(GetLevelByClass(CLASS_TYPE_DRAGON) || MyPRCGetRacialType(OBJECT_SELF) == RACIAL_TYPE_DRAGON)
{
SetSpawnInCondition(AI_FLAG_COMBAT_FLYING, AI_COMBAT_MASTER);
// This turns ON combat flying. I think anything winged looks A-OK. See readme for info.