Skip to content

Commit

Permalink
Fireplaces in Cathedral will now set you on fire (fixes #492)
Browse files Browse the repository at this point in the history
  • Loading branch information
theastropath committed Aug 1, 2023
1 parent b0f2786 commit e9d2d5d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupParis.uc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function PreFirstEntryMapFixes()
local #var(prefix)DataLinkTrigger dlt;
local #var(prefix)JaimeReyes j;
local ZoneInfo zi;
local #var(prefix)DamageTrigger dt;

// shut up, Tong! (reduced rando is not as focused on replays compared to normal rando)
if(!dxr.flags.IsReducedRando()) {
Expand Down Expand Up @@ -129,6 +130,14 @@ function PreFirstEntryMapFixes()
foreach AllActors(class'GuntherHermann', g) {
g.ChangeAlly('mj12', 1, true);
}
foreach AllActors(class'#var(prefix)DamageTrigger',dt){
//There should only be two damage triggers in the map,
//but check the damage type anyway for safety
//This will make the fireplaces actually set you on fire
if(dt.DamageType=='Burned'){
dt.DamageType='Flamed';
}
}
break;
}
}
Expand Down

0 comments on commit e9d2d5d

Please sign in to comment.