0 of 0

File information

Last updated

Original upload

Created by

Spcat

Uploaded by

SPcat123

Virus scan

Safe to use

Tags for this mod

About this mod

Human_Race_Passive_lost_fix.

Permissions and credits
Aims to fix situations where Gale loses his race skills for unknown reasons.
Here is the code

INIT 
DB_Give_Passive_Gale_Initialized(0);

IF
LevelLoaded(_)
AND
DB_Give_Passive_Gale_Initialized(0)
THEN
TimerLaunch("Give_Passive_Gale_InitDelay", 0);
IF
TimerFinished("Give_Passive_Gale_InitDelay")
THEN
NOT DB_Give_Passive_Gale_Initialized(0);
DB_Give_Passive_Gale_Initialized(1);
IF
DB_Players(_Player)
AND
IsTagged((CHARACTER)_Player, (TAG)GALE_a3907be6-50c2-407e-b159-8c53f9a3418e, 1)
AND
DB_Give_Passive_Gale_Initialized(1)
AND
HasPassive(_Player, "HumanVersatility", 0)
THEN
AddPassive(_Player, "HumanVersatility");
IF
DB_Players(_Player)
AND
IsTagged((CHARACTER)_Player, (TAG)GALE_a3907be6-50c2-407e-b159-8c53f9a3418e, 1)
AND
DB_Give_Passive_Gale_Initialized(1)
AND
HasPassive(_Player, "HumanMilitia", 0)
THEN
AddPassive(_Player, "HumanMilitia");