@@ -138,31 +138,37 @@ var ItemSetDestroyerBattlegear = core.NewItemSet(core.ItemSet{
138138 Name : "Destroyer Battlegear" ,
139139 Bonuses : map [int32 ]core.ApplySetBonus {
140140 2 : func (agent core.Agent , setBonusAura * core.Aura ) {
141- setBonusAura .
142- AttachSpellMod (core.SpellModConfig {
143- ClassMask : SpellMaskWhirlwind ,
144- Kind : core .SpellMod_PowerCost_Flat ,
145- IntValue : - 5 ,
146- }).
147- ExposeToAPL (37518 )
148- },
149- 4 : func (agent core.Agent , setBonusAura * core.Aura ) {
150141 warrior := agent .(WarriorAgent ).GetWarrior ()
151- actionID := core.ActionID {SpellID : 37521 }
152- rageMetrics := warrior .NewRageMetrics (actionID )
142+ actionID := core.ActionID {SpellID : 37529 }
143+
144+ aura := warrior .NewTemporaryStatsAura (
145+ "Overpower" ,
146+ actionID ,
147+ stats.Stats {stats .AttackPower : 100 },
148+ time .Second * 5 ,
149+ )
153150
154151 setBonusAura .
155152 AttachProcTrigger (core.ProcTrigger {
156- Name : "Destroyer Battlegear - 4PC" ,
153+ Name : "Destroyer Battlegear - 2PC" ,
154+ ClassSpellMask : SpellMaskOverpower ,
157155 TriggerImmediately : true ,
158156 Callback : core .CallbackOnSpellHitDealt ,
159- Outcome : core .OutcomeParry | core .OutcomeDodge ,
160157 Handler : func (sim * core.Simulation , spell * core.Spell , result * core.SpellResult ) {
161- warrior . AddRage (sim , 2 , rageMetrics )
158+ aura . Activate (sim )
162159 },
163160 }).
164161 ExposeToAPL (actionID .SpellID )
165162 },
163+ 4 : func (agent core.Agent , setBonusAura * core.Aura ) {
164+ setBonusAura .
165+ AttachSpellMod (core.SpellModConfig {
166+ ClassMask : SpellMaskMortalStrike | SpellMaskBloodthirst ,
167+ Kind : core .SpellMod_PowerCost_Flat ,
168+ IntValue : - 5 ,
169+ }).
170+ ExposeToAPL (37535 )
171+ },
166172 },
167173})
168174
@@ -172,35 +178,59 @@ var ItemSetDestroyerArmor = core.NewItemSet(core.ItemSet{
172178 Bonuses : map [int32 ]core.ApplySetBonus {
173179 2 : func (agent core.Agent , setBonusAura * core.Aura ) {
174180 warrior := agent .(WarriorAgent ).GetWarrior ()
175- actionID := core.ActionID {SpellID : 37529 }
181+ actionID := core.ActionID {SpellID : 37523 }
176182
177183 aura := warrior .NewTemporaryStatsAura (
178- "Overpower " ,
184+ "Reinforced Shield " ,
179185 actionID ,
180- stats.Stats {stats .AttackPower : 100 },
181- time .Second * 5 ,
186+ stats.Stats {stats .BlockValue : 100 },
187+ time .Second * 6 ,
182188 )
183189
184190 setBonusAura .
185191 AttachProcTrigger (core.ProcTrigger {
186- Name : "Destroyer Armor - 2PC" ,
187- ClassSpellMask : SpellMaskOverpower ,
192+ Name : "Destroyer Armor - 2PC - Trigger " ,
193+ ClassSpellMask : SpellMaskShieldBlock ,
188194 TriggerImmediately : true ,
189195 Callback : core .CallbackOnSpellHitDealt ,
190196 Handler : func (sim * core.Simulation , spell * core.Spell , result * core.SpellResult ) {
191197 aura .Activate (sim )
192198 },
193199 }).
200+ AttachProcTrigger (core.ProcTrigger {
201+ Name : "Destroyer Armor - 2PC - Consume" ,
202+ TriggerImmediately : true ,
203+ Outcome : core .OutcomeBlock ,
204+ Callback : core .CallbackOnSpellHitTaken ,
205+ Handler : func (sim * core.Simulation , spell * core.Spell , result * core.SpellResult ) {
206+ aura .Deactivate (sim )
207+ },
208+ }).
194209 ExposeToAPL (actionID .SpellID )
195210 },
196211 4 : func (agent core.Agent , setBonusAura * core.Aura ) {
212+ warrior := agent .(WarriorAgent ).GetWarrior ()
213+ actionID := core.ActionID {SpellID : 37526 }
214+
215+ aura := warrior .NewTemporaryStatsAura (
216+ "Battle Rush" ,
217+ actionID ,
218+ stats.Stats {stats .MeleeHasteRating : 200 },
219+ time .Second * 10 ,
220+ )
221+
197222 setBonusAura .
198- AttachSpellMod (core.SpellModConfig {
199- ClassMask : SpellMaskMortalStrike | SpellMaskBloodthirst ,
200- Kind : core .SpellMod_PowerCost_Flat ,
201- IntValue : - 5 ,
223+ AttachProcTrigger (core.ProcTrigger {
224+ Name : "Destroyer Armor - 4PC" ,
225+ TriggerImmediately : true ,
226+ ProcChance : 0.07 ,
227+ RequireDamageDealt : true ,
228+ Callback : core .CallbackOnSpellHitTaken ,
229+ Handler : func (sim * core.Simulation , spell * core.Spell , result * core.SpellResult ) {
230+ aura .Activate (sim )
231+ },
202232 }).
203- ExposeToAPL (37535 )
233+ ExposeToAPL (actionID . SpellID )
204234 },
205235 },
206236})
@@ -235,6 +265,9 @@ var ItemSetOnslaughtArmor = core.NewItemSet(core.ItemSet{
235265 Name : "Onslaught Armor" ,
236266 Bonuses : map [int32 ]core.ApplySetBonus {
237267 2 : func (agent core.Agent , setBonusAura * core.Aura ) {
268+ warrior := agent .(WarriorAgent ).GetWarrior ()
269+ warrior .T6Tank2P = setBonusAura
270+
238271 setBonusAura .ExposeToAPL (38408 )
239272 },
240273 4 : func (agent core.Agent , setBonusAura * core.Aura ) {
0 commit comments