Skip to content

Commit

Permalink
Disruptor Cloaking Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
SirChuckOfTheChuckles committed Aug 7, 2024
1 parent 2b2e17f commit 578f277
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33093,6 +33093,9 @@
<On Terms="Behavior.AP_CorsairPermanentCloak.On" Send="Create"/>
<On Terms="Behavior.AP_CorsairPermanentCloak.On" Send="StatusIncrement ActiveCount"/>
<On Terms="Behavior.AP_CorsairPermanentCloak.Off" Send="StatusDecrement ActiveCount"/>
<On Terms="Behavior.AP_DisruptorPermanentCloak.On" Send="Create"/>
<On Terms="Behavior.AP_DisruptorPermanentCloak.On" Send="StatusIncrement ActiveCount"/>
<On Terms="Behavior.AP_DisruptorPermanentCloak.Off" Send="StatusDecrement ActiveCount"/>
<On Terms="Behavior.AP_OraclePermanentCloak.On" Send="Create"/>
<On Terms="Behavior.AP_OraclePermanentCloak.On" Send="StatusIncrement ActiveCount"/>
<On Terms="Behavior.AP_OraclePermanentCloak.Off" Send="StatusDecrement ActiveCount"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
<StateFlags index="Cloak" value="1"/>
</Modification>
</CBehaviorBuff>
<CBehaviorBuff id="AP_DisruptorPermanentCloak">
<InfoFlags index="Hidden" value="1"/>
<EditorCategories value="AbilityorEffectType:Units"/>
<DisableValidatorArray value="AP_HaveDisruptorPermanentCloak"/>
<Modification>
<StateFlags index="Cloak" value="1"/>
</Modification>
</CBehaviorBuff>
<CBehaviorBuff id="AP_GhostPermanentCloak">
<InfoFlags index="Hidden" value="1"/>
<EditorCategories value="AbilityorEffectType:Units"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
<CButton id="AP_AcidExplosionImmunity">
<Icon value="Assets\Textures\btn-upgrade-terran-acidexplosionimmunity.dds"/>
</CButton>
<CButton id="AP_PermanentlyCloakedDisruptor">
<Icon value="Assets\Textures\btn-upgrade-protoss-fenix-disruptorpermanentcloak.dds"/>
<AlertIcon value="Assets\Textures\btn-upgrade-protoss-fenix-disruptorpermanentcloak.dds"/>
<EditorCategories value="Race:Protoss"/>
</CButton>
<CButton id="Attack">
<!-- Override -->
<SimpleDisplayText value=""/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
<EditorCategories value="Race:Zerg,TechType:Upgrade"/>
<NodeArray index="Show" Link="AP_NotCountUpgradeHotSHaveSwarmHostSplitACompleteOnly"/>
</CRequirement>
<CRequirement id="AP_HaveDisruptorPermanentCloak">
<EditorCategories value="Race:Protoss,TechType:Ability"/>
<NodeArray index="Show" Link="AP_CountUpgradeAP_DisruptorPermanentCloakCompleteOnly"/>
</CRequirement>
<CRequirement id="AP_UseCombatShield">
<EditorCategories value="Race:Terran,TechType:Upgrade"/>
<NodeArray index="Show" Link="AP_CountUpgradeCombatShieldCompleteOnly"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6202,4 +6202,8 @@
<CRequirementCountUpgrade id="AP_CountUpgradeAP_RoachVileCompleteOnlyTechTreeCheat">
<Count Link="AP_RoachVile" State="CompleteOnly"/>
</CRequirementCountUpgrade>
<CRequirementCountUpgrade id="AP_CountUpgradeAP_DisruptorPermanentCloakCompleteOnly">
<Flags index="TechTreeCheat" value="0"/>
<Count Link="AP_DisruptorPermanentCloak" State="CompleteOnly"/>
</CRequirementCountUpgrade>
</Catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -15790,6 +15790,7 @@
<AbilArray Link="AP_PurificationNovaTargeted"/>
<AbilArray Link="ProgressRally"/>
<BehaviorArray Link="AP_SOAHeroicShieldProcBuff"/>
<BehaviorArray Link="AP_DisruptorPermanentCloak"/>
<CardLayouts>
<LayoutButtons Face="Move" Type="AbilCmd" AbilCmd="move,Move" Row="0" Column="0"/>
<LayoutButtons Face="Stop" Type="AbilCmd" AbilCmd="stop,Stop" Row="0" Column="1"/>
Expand All @@ -15799,6 +15800,7 @@
<LayoutButtons Face="MovePatrol" Type="AbilCmd" AbilCmd="move,Patrol" Row="0" Column="3"/>
<LayoutButtons Face="Rally" Type="AbilCmd" AbilCmd="ProgressRally,Rally1" Row="2" Column="4"/>
<LayoutButtons Face="AP_PurificationNovaTargeted" Type="AbilCmd" AbilCmd="AP_PurificationNovaTargeted,0" Row="2" Column="0"/>
<LayoutButtons Face="AP_PermanentlyCloakedDisruptor" Type="Passive" Requirements="AP_HaveDisruptorPermanentCloak" Row="1" Column="0"/>
</CardLayouts>
<SeparationRadius value="0.375"/>
<InnerRadius value="0.5"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8986,6 +8986,11 @@
<EffectArray Operation="Set" Reference="Behavior,AP_SpawnLarva,InfoArray[0].MaxCount" Value="6"/>
<EditorCategories value="Race:Zerg"/>
</CUpgrade>
<CUpgrade id="AP_DisruptorPermanentCloak">
<Icon value="Assets\Textures\btn-upgrade-protoss-fenix-disruptorpermanentcloak.dds"/>
<EditorCategories value="Race:Protoss,UpgradeType:Talents"/>
<AffectedUnitArray value="AP_Disruptor"/>
</CUpgrade>
<CUpgrade id="AP_K5Apocalypse">
<EditorCategories value="Race:Zerg,UpgradeType:Talents"/>
</CUpgrade>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<Find value="1"/>
<Value value="AP_HavePermanentCloakWraith"/>
</CValidatorPlayerRequirement>
<CValidatorPlayerRequirement id="AP_HaveDisruptorPermanentCloak">
<Find value="1"/>
<Value value="AP_HaveDisruptorPermanentCloak"/>
</CValidatorPlayerRequirement>
<CValidatorPlayerRequirement id="AP_HaveHotSHaveRaptor">
<Find value="1"/>
<Value value="AP_HaveHotSHaveRaptor"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,7 @@ Button/Name/AP_PermanentCloakBanshee=Advanced Cross-Spectrum Dampeners
Button/Name/AP_PermanentCloakWraith=Unregistered Cloaking System
Button/Name/AP_PermanentlyCloaked=Permanently Cloaked
Button/Name/AP_PermanentlyCloakedCorsair=Stealth Drive
Button/Name/AP_PermanentlyCloakedDisruptor=Cloaking Module
Button/Name/AP_PermanentlyCloakedGhost=Permanently Cloaked
Button/Name/AP_PermanentlyCloakedNova=Permanently Cloaked
Button/Name/AP_PermanentlyCloakedObserver=Permanently Cloaked
Expand Down Expand Up @@ -2539,6 +2540,7 @@ Button/Tooltip/AP_PermanentCloakBanshee=Banshee is permanently cloaked.
Button/Tooltip/AP_PermanentCloakWraith=Wraith is permanently cloaked.
Button/Tooltip/AP_PermanentlyCloaked=This unit is permanently cloaked.
Button/Tooltip/AP_PermanentlyCloakedCorsair=Corsair is permanently cloaked.
Button/Tooltip/AP_PermanentlyCloakedDisruptor=Disruptor is permanently cloaked.
Button/Tooltip/AP_PermanentlyCloakedGhost=Ghost is permanently cloaked.
Button/Tooltip/AP_PermanentlyCloakedNova=Nova is permanently cloaked.
Button/Tooltip/AP_PermanentlyCloakedObserver=The Observer is permanently cloaked.
Expand Down

0 comments on commit 578f277

Please sign in to comment.