Skip to content

Commit

Permalink
Fix broken Nova Plasma rifle on death effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed May 22, 2024
1 parent 60a3271 commit 6ab0c89
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6788,4 +6788,28 @@
<EditorCategories value="AbilityorEffectType:Units"/>
<Duration value="0.5"/>
</CBehaviorBuff>
<CBehaviorBuff id="AP_NovaWeaponPlasmaKill">
<BehaviorFlags index="Permanent" value="1"/>
<BehaviorFlags index="EnabledWhileDead" value="1"/>
<InfoIcon value="Assets\Textures\btn-upgrade-nova-equipment-plasmagun.dds"/>
<EditorCategories value="AbilityorEffectType:Units,Race:Terran"/>
<Duration value="1"/>
<DamageResponse Chance="1" Fatal="1" Handled="AP_NovaPlasmaPuddle"/>
</CBehaviorBuff>
<CBehaviorBuff id="AP_NovaWeaponPlasmaKillSmall">
<BehaviorFlags index="Permanent" value="1"/>
<BehaviorFlags index="EnabledWhileDead" value="1"/>
<InfoIcon value="Assets\Textures\btn-upgrade-nova-equipment-plasmagun.dds"/>
<EditorCategories value="AbilityorEffectType:Units,Race:Terran"/>
<Duration value="1"/>
<DamageResponse Chance="1" Fatal="1" Handled="AP_NovaPlasmaPuddleSmall"/>
</CBehaviorBuff>
<CBehaviorBuff id="AP_NovaWeaponPlasmaKillLarge">
<BehaviorFlags index="Permanent" value="1"/>
<BehaviorFlags index="EnabledWhileDead" value="1"/>
<InfoIcon value="Assets\Textures\btn-upgrade-nova-equipment-plasmagun.dds"/>
<EditorCategories value="AbilityorEffectType:Units,Race:Terran"/>
<Duration value="1"/>
<DamageResponse Chance="1" Fatal="1" Handled="AP_NovaPlasmaPuddleLarge"/>
</CBehaviorBuff>
</Catalog>
39 changes: 39 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UnitData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10855,6 +10855,26 @@
<Race value="Terr"/>
<EditorCategories value="ObjectType:Projectile,ObjectFamily:Campaign"/>
</CUnit>
<CUnit id="AP_NovaPlasmaPuddle">
<Race value="Terr"/>
<FlagArray index="Uncommandable" value="1"/>
<FlagArray index="Unselectable" value="1"/>
<FlagArray index="Untargetable" value="1"/>
<FlagArray index="Uncursorable" value="1"/>
<FlagArray index="KillCredit" value="0"/>
<FlagArray index="Invulnerable" value="1"/>
<FogVisibility value="Snapshot"/>
<Response value="Nothing"/>
<LifeStart value="10"/>
<LifeMax value="10"/>
<StationaryTurningRate value="0"/>
<TurningRate value="0"/>
<Height value="-0.2"/>
<BehaviorArray Link="NovaPlasmaPuddle"/>
<MinimapRadius value="0"/>
<EditorCategories value="ObjectType:Unit,ObjectFamily:Campaign"/>
<Fidget DelayMax="0" DelayMin="0"/>
</CUnit>
<CUnit id="AP_NovaPlasmaPuddleSmall">
<Race value="Terr"/>
<FlagArray index="Uncommandable" value="1"/>
Expand All @@ -10874,6 +10894,25 @@
<EditorCategories value="ObjectType:Unit,ObjectFamily:Campaign"/>
<Fidget DelayMax="0" DelayMin="0"/>
</CUnit>
<CUnit id="AP_NovaPlasmaPuddleLarge">
<Race value="Terr"/>
<FlagArray index="Uncommandable" value="1"/>
<FlagArray index="Unselectable" value="1"/>
<FlagArray index="Untargetable" value="1"/>
<FlagArray index="Uncursorable" value="1"/>
<FlagArray index="KillCredit" value="0"/>
<FlagArray index="Invulnerable" value="1"/>
<FogVisibility value="Snapshot"/>
<Response value="Nothing"/>
<LifeStart value="10"/>
<LifeMax value="10"/>
<StationaryTurningRate value="0"/>
<TurningRate value="0"/>
<Height value="-0.2"/>
<MinimapRadius value="0"/>
<EditorCategories value="ObjectType:Unit,ObjectFamily:Campaign"/>
<Fidget DelayMax="0" DelayMin="0"/>
</CUnit>
<CUnit id="AP_NovaWeaponPlasmaBlastNewLaunchMissile" parent="WizSimpleMissile" abil="NovaWeaponPlasmaBlastNew">
<Race value="Terr"/>
<EditorCategories value="ObjectType:Projectile,ObjectFamily:Campaign"/>
Expand Down

0 comments on commit 6ab0c89

Please sign in to comment.