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

@@ -4,11 +4,13 @@ Custom Treasure Table for use with the BESIE
Random Encounter Package by Ray Miller
*/
////////////////////////////////////////////////////
#include "prc_inc_racial"
////////////////////////////////////////////////////
void main()
{
//Note: This statement causes the script to exclude animals from this treasure table.
if(GetRacialType(OBJECT_SELF) == RACIAL_TYPE_ANIMAL) return;
if(MyPRCGetRacialType(OBJECT_SELF) == RACIAL_TYPE_ANIMAL) return;
////////////////////////////////////////////////////////////
object oCreature = OBJECT_SELF;
float fChance;