Skip to content

Commit

Permalink
Fix a bug with Roaches in race-swapped WoL missions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Jul 6, 2024
1 parent f812131 commit e3c8199
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4249,7 +4249,7 @@
<Death value="Disintegrate"/>
</CEffectDamage>
<CEffectApplyBehavior id="AP_BileDuctsApplyBehavior">
<ValidatorArray index="0" value="UseBileDucts"/>
<ValidatorArray index="0" value="AP_UseBileDucts"/>
<EditorCategories value="Race:Zerg"/>
<Behavior value="AP_BileDucts"/>
</CEffectApplyBehavior>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3431,4 +3431,8 @@
<EditorCategories value="Race:Protoss,TechType:Ability"/>
<NodeArray index="Show" Link="AP_CountBehaviorVoidRaySwarmDamageBoostCompleteOnlyAtUnit"/>
</CRequirement>
<CRequirement id="AP_HaveHotSEnhancedBileDucts">
<EditorCategories value="Race:Zerg,TechType:Upgrade"/>
<NodeArray index="Show" Link="CountUpgradeHotSEnhancedBileDuctsCompleteOnly"/>
</CRequirement>
</Catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -5907,4 +5907,7 @@
<Flags index="TechTreeCheat" value="0"/>
<Count Link="AP_VoidRaySwarmDamageBoost" State="CompleteOnlyAtUnit"/>
</CRequirementCountBehavior>
<CRequirementCountUpgrade id="AP_CountUpgradeHotSEnhancedBileDuctsCompleteOnly">
<Count Link="AP_HotSEnhancedBileDucts" State="CompleteOnly"/>
</CRequirementCountUpgrade>
</Catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -5527,4 +5527,8 @@
<CValidatorUnitType id="AP_IsInterceptorTaldarim">
<Value value="AP_InterceptorTaldarim"/>
</CValidatorUnitType>
<CValidatorPlayerRequirement id="AP_UseBileDucts">
<Find value="1"/>
<Value value="AP_HaveHotSEnhancedBileDucts"/>
</CValidatorPlayerRequirement>
</Catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -1183,9 +1183,9 @@
<DisplayEffect value="AP_RoachUMelee"/>
<TargetFilters value="Ground,Visible;Missile,Stasis,Dead,Hidden,Invulnerable"/>
<Range value="0.5"/>
<Marker Link="Weapon/AcidSaliva"/>
<Marker Link="Weapon/AP_AcidSaliva"/>
<Cost>
<Cooldown Link="Weapon/AcidSaliva"/>
<Cooldown Link="Weapon/AP_AcidSaliva"/>
</Cost>
<Period value="2"/>
<Effect value="AP_RoachMeleeSet"/>
Expand Down Expand Up @@ -1239,9 +1239,9 @@
<!-- Missing in Vanilla -->
<TargetFilters value="Ground,Visible;Missile,Stasis,Dead,Hidden,Invulnerable"/>
<Range value="0.5"/>
<Marker Link="Weapon/RoachCorpser"/>
<Marker Link="Weapon/AP_RoachCorpser"/>
<Cost>
<Cooldown Link="Weapon/RoachCorpser"/>
<Cooldown Link="Weapon/AP_RoachCorpser"/>
</Cost>
<Period value="2"/>
<Effect value="AP_RoachVileCorpserMeleeSet"/>
Expand All @@ -1255,9 +1255,9 @@
<DisplayEffect value="AP_RoachVileUMelee"/>
<TargetFilters value="Ground,Visible;Missile,Stasis,Dead,Hidden,Invulnerable"/>
<Range value="0.5"/>
<Marker Link="Weapon/RoachVile"/>
<Marker Link="Weapon/AP_RoachVile"/>
<Cost>
<Cooldown Link="Weapon/RoachVile"/>
<Cooldown Link="Weapon/AP_RoachVile"/>
</Cost>
<Period value="2"/>
<Effect value="AP_RoachVileMeleeSet"/>
Expand Down

0 comments on commit e3c8199

Please sign in to comment.