Browse Source

fix finalizer deleting bosses

master
Alison Watson 2 months ago
parent
commit
2955dcd1a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pk7/lzscript/2_CyberMage/2_Mateba.zsc

+ 1
- 1
pk7/lzscript/2_CyberMage/2_Mateba.zsc View File

@@ -113,7 +113,7 @@ class Lith_FinalizerShot : FastProjectile
Death:
TNT1 A 0 {
if(tracer) {
if(bBOSS || double(tracer.health) / tracer.ACS_ScriptCall("Lith_GetFinalizerMaxHealth") > 0.5) {
if(tracer.bBOSS || double(tracer.health) / tracer.ACS_ScriptCall("Lith_GetFinalizerMaxHealth") > 0.5) {
tracer.A_DamageSelf(50);
} else {
tracer.A_SpawnItemEx("Lith_FinalizerKill", flags: SXF_NOCHECKPOSITION|SXF_TRANSFERSPRITEFRAME|SXF_TRANSFERSCALE);


Loading…
Cancel
Save