This commit is contained in:
2025-12-28 15:36:55 +08:00
parent 0ce11a0d86
commit 642c204f28
5 changed files with 64 additions and 20 deletions

View File

@@ -8,6 +8,7 @@ namespace WulaFallenEmpire
public class CompProperties_AbilityEnableOverwatch : CompProperties_AbilityEffect
{
public int durationSeconds = 180; // Default 3 minutes
public bool useArtilleryVersion = false; // Both use normal mothership by default
public CompProperties_AbilityEnableOverwatch()
{
@@ -37,7 +38,7 @@ namespace WulaFallenEmpire
map.components.Add(overwatch);
}
overwatch.EnableOverwatch(Props.durationSeconds);
overwatch.EnableOverwatch(Props.durationSeconds, Props.useArtilleryVersion);
}
public override bool CanApplyOn(LocalTargetInfo target, LocalTargetInfo dest)