Skip to content

Commit

Permalink
Allow Bile Launchers to set attack zone with a right click
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Dec 12, 2024
1 parent 2a1dc02 commit 7c4d58e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7589,6 +7589,13 @@
<Flags index="IgnoreUser" value="1"/>
</CmdButtonArray>
</CAbilAttack>
<CAbilEffectTarget id="AP_BileLauncherTargetSet">
<Flags index="Smart" value="1"/>
<Effect index="0" value="AP_BileLauncherTargetSetCP"/>
<Range value="15"/>
<Arc value="360"/>
<CursorEffect value="AP_BileLauncherBombardmentDamageSearch"/>
</CAbilEffectTarget>
<CAbilTrain id="AP_GatewayTrain">
<EditorCategories value="Race:Protoss,AbilityorEffectType:Structures"/>
<Activity value="UI/Warping"/>
Expand Down
13 changes: 13 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/EffectData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23143,4 +23143,17 @@
<Amount value="25"/>
<Death value="Eviscerate"/>
</CEffectDamage>
<CEffectCreatePersistent id="AP_BileLauncherTargetSetCP">
<PeriodCount value="1"/>
<PeriodicEffectArray value="AP_BileLauncherTargetSetOrder"/>
<PeriodicPeriodArray value="0"/>
</CEffectCreatePersistent>
<CEffectIssueOrder id="AP_BileLauncherTargetSetOrder">
<EditorCategories value="Race:Zerg"/>
<WhichUnit Value="Caster"/>
<Abil value="AP_BileLauncherAttack"/>
<AbilCmdIndex value="2"/>
<Player Value="Creator"/>
<Target Value="TargetPoint"/>
</CEffectIssueOrder>
</Catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -22296,6 +22296,7 @@
<AbilArray Link="BuildInProgress"/>
<AbilArray Link="stop"/>
<AbilArray Link="AP_BileLauncherAttack"/>
<AbilArray Link="AP_BileLauncherTargetSet"/>
<BehaviorArray Link="OnCreep"/>
<BehaviorArray Link="AP_ZergBuildingNotOnCreep"/>
<BehaviorArray Link="AP_ZergBuildingDiesCrawler"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16834,6 +16834,7 @@
<Race value="Zerg"/>
<ScoreResult value="BuildOrder"/>
<EffectArray Reference="Weapon,AP_BileLauncherBombardment,Range" Value="8"/>
<EffectArray Reference="Abil,AP_BileLauncherTargetSet,Range[0]" Value="8"/>
<EditorCategories value="Race:Zerg,UpgradeType:Talents"/>
<AffectedUnitArray value="AP_BileLauncher"/>
</CUpgrade>
Expand Down

0 comments on commit 7c4d58e

Please sign in to comment.