RoT2_PRC8/_module/nss/xx_cb_solar.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

26 lines
810 B
Plaintext

void main()
{
/* object oPlayer = GetEnteringObject();
location lPlayer = GetCampaignLocation("PlayerData","Location",oPlayer);
if(GetIsObjectValid(GetAreaFromLocation(lPlayer)))
{
if(GetLocalInt(oPlayer,"BypassLocation") == 0)
{
AssignCommand(oPlayer,ActionDoCommand(JumpToLocation(lPlayer)));
}
}
if(GetLocalInt(oPlayer,"Dead")==1)
{
effect Deathstroke = EffectDeath(TRUE);
AssignCommand(oPlayer,ActionDoCommand(ApplyEffectToObject(DURATION_TYPE_INSTANT,Deathstroke,oPlayer)));
}
else if (GetCampaignInt("PlayerData","Dead",oPlayer) == 1)
{
effect Deathstroke = EffectDeath(TRUE);
AssignCommand(oPlayer,ActionDoCommand(ApplyEffectToObject(DURATION_TYPE_INSTANT,Deathstroke,oPlayer)));
} */
}