Updated scripts to use MyPRCGetRacialType
Updated scripts to use MyPRCGetRacialType. Full compile.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user