Skip to content

Commit

Permalink
sc2: Adding triggers for stalward duality charge
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMarinets committed Aug 3, 2024
1 parent 753bf80 commit 433e7cc
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@ void libABFE498B_gf_AP_Triggers_unlockProtossWarCouncil (int lp_player, int lp_b
libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardRapidfireCannon, // 20
libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardFusionMortars, // 21
libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking, //22
ap_triggers_PlayerConsumer_sig, //23
libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge, //23
ap_triggers_PlayerConsumer_sig, //24
ap_triggers_PlayerConsumer_sig, //25
libABFE498B_gf_AP_Triggers_Protoss_unlockReaverKhalaiReplicators, //26
Expand Down Expand Up @@ -7303,6 +7303,12 @@ void libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking (int lp_
libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_AnnihilatorAerialTracking", 1);
}

void libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge (int lp_player) {
// Automatic Variable Declarations
// Implementation
libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_StalwartDualityCharge", 1);
}

void libABFE498B_gf_AP_Triggers_Protoss_unlockColossusPacificationProtocols (int lp_player) {
// Automatic Variable Declarations
// Implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ void libABFE498B_gf_AP_Triggers_Protoss_unlockImmortalFamilyAdvancedTargetingMec
void libABFE498B_gf_AP_Triggers_Protoss_unlockImmortalFamilyDisruptorDispersion (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockImmortalImprovedBarrier (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockColossusPacificationProtocols (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockWrathwalkerRapidPowerCycling (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockWrathwalkerEyeOfWrath (int lp_player);
Expand Down
40 changes: 39 additions & 1 deletion Mods/ArchipelagoTriggers.SC2Mod/Triggers
Original file line number Diff line number Diff line change
Expand Up @@ -4572,7 +4572,7 @@
libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardRapidfireCannon, // 20
libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardFusionMortars, // 21
libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking, //22
ap_triggers_PlayerConsumer_sig, //23
libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge, //23
ap_triggers_PlayerConsumer_sig, //24
ap_triggers_PlayerConsumer_sig, //25
libABFE498B_gf_AP_Triggers_Protoss_unlockReaverKhalaiReplicators, //26
Expand Down Expand Up @@ -59267,6 +59267,7 @@
<Item Type="FunctionDef" Library="ABFE498B" Id="08AE426A"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="D039AFE1"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="A07C1E0D"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="7D0E800C"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="3B23A0D3"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="D9E68DBA"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="C01D4135"/>
Expand Down Expand Up @@ -61587,6 +61588,43 @@
<Value>1</Value>
<ValueType Type="int"/>
</Element>
<Element Type="FunctionDef" Id="7D0E800C">
<Identifier>AP_Triggers_Protoss_unlockStalwartDualityCharge</Identifier>
<FlagAction/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="124E8384"/>
<FunctionCall Type="FunctionCall" Library="ABFE498B" Id="F8C961C9"/>
</Element>
<Element Type="ParamDef" Id="124E8384">
<ParameterType>
<Type Value="int"/>
</ParameterType>
<Default Type="Param" Library="ABFE498B" Id="48DBF52E"/>
</Element>
<Element Type="Param" Id="48DBF52E">
<Value>0</Value>
<ValueType Type="int"/>
</Element>
<Element Type="FunctionCall" Id="F8C961C9">
<FunctionDef Type="FunctionDef" Library="Ntve" Id="9F8EF8FB"/>
<Parameter Type="Param" Library="ABFE498B" Id="53C22386"/>
<Parameter Type="Param" Library="ABFE498B" Id="E5EEEF53"/>
<Parameter Type="Param" Library="ABFE498B" Id="DC49B550"/>
</Element>
<Element Type="Param" Id="53C22386">
<ParameterDef Type="ParamDef" Library="Ntve" Id="C7188352"/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="124E8384"/>
</Element>
<Element Type="Param" Id="E5EEEF53">
<ParameterDef Type="ParamDef" Library="Ntve" Id="7E5035EE"/>
<Value>AP_StalwartDualityCharge</Value>
<ValueType Type="gamelink"/>
<ValueGameType Type="Upgrade"/>
</Element>
<Element Type="Param" Id="DC49B550">
<ParameterDef Type="ParamDef" Library="Ntve" Id="3BFEECBB"/>
<Value>1</Value>
<ValueType Type="int"/>
</Element>
<Element Type="FunctionDef" Id="3B23A0D3">
<FlagAction/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="1B2B127B"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ FunctionDef/Name/lib_ABFE498B_7C6D6C84=AP_Triggers_Protoss_unlockSignifier
FunctionDef/Name/lib_ABFE498B_7C847581=AP_Triggers_Zerg_UltraliskNoxious
FunctionDef/Name/lib_ABFE498B_7CB9C2C8=AP_Triggers_Protoss_unlockVoidRayFamilyFluxVanes
FunctionDef/Name/lib_ABFE498B_7CC74863=AP_Triggers_Terran_unlockCommandCenterMULE
FunctionDef/Name/lib_ABFE498B_7D0E800C=AP_Triggers_Protoss_unlockStalwartDualityCharge
FunctionDef/Name/lib_ABFE498B_7DBC7D9E=AP_Triggers_Terran_unlockVehicleWeapon
FunctionDef/Name/lib_ABFE498B_7DBE2940=AP_Triggers_Zerg_DefilerPredatoryConsumption
FunctionDef/Name/lib_ABFE498B_7E29507E=AP_Triggers_Terran_unlockNovaGhostVisor
Expand Down Expand Up @@ -890,6 +891,7 @@ ParamDef/Name/lib_ABFE498B_10AA9013=player
ParamDef/Name/lib_ABFE498B_11837F27=player
ParamDef/Name/lib_ABFE498B_11D221E2=player
ParamDef/Name/lib_ABFE498B_122D4462=player
ParamDef/Name/lib_ABFE498B_124E8384=player
ParamDef/Name/lib_ABFE498B_129015B3=player
ParamDef/Name/lib_ABFE498B_12C4C512=player
ParamDef/Name/lib_ABFE498B_13012D42=player
Expand Down

0 comments on commit 433e7cc

Please sign in to comment.