Skip to content

Commit

Permalink
Merge pull request #3717 from syrifgit/thewarwithin
Browse files Browse the repository at this point in the history
Assorted Frost Mage improvements, Issue Report Template
  • Loading branch information
Hekili authored Sep 10, 2024
2 parents 66c60d1 + ea28885 commit 98478f7
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 13 deletions.
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/Recommendation-Report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,53 @@ body:
required: true
- label: I am reporting an issue with the default priority included with the specialization (imported or edited priorities are not supported).
required: true
- type: dropdown
id: spec
attributes:
label: Spec
description: Which spec
options:
- DK - Blood
- DK - Frost
- DK - Unholy
- DH - Havoc
- DH - Vengeance
- Druid - Balance
- Druid - Feral
- Druid - Guardian
- Druid - Restoration
- Evoker - Augmentation
- Evoker - Devastation
- Evoker - Preservation
- Hunter - Beast Mastery
- Hunter - Marksmanship
- Hunter - Survival
- Mage - Arcane
- Mage - Fire
- Mage - Frost
- Monk - Brewmaster
- Monk - Windwalker
- Paladin - Holy
- Paladin - Protection
- Paladin - Retribution
- Priest - Discipline
- Priest - Holy
- Priest - Shadow
- Rogue - Assassination
- Rogue - Outlaw
- Rogue - subtlety
- Shaman - Elemental
- Shaman - Enhancement
- Shaman - Restoration
- Warlock - Affliction
- Warlock - Demonology
- Warlock - Destruction
- Warrior - Arms
- Warrior - Fury
- Warrior - Protection
default: 0
validations:
required: true
- type: textarea
id: description
attributes:
Expand Down
32 changes: 19 additions & 13 deletions TheWarWithin/MageFrost.lua
Original file line number Diff line number Diff line change
Expand Up @@ -864,8 +864,8 @@ end, state )


spec:RegisterHook( "reset_precast", function ()
if pet.rune_of_power.up then applyBuff( "rune_of_power", pet.rune_of_power.remains )
else removeBuff( "rune_of_power" ) end
--[[ if pet.rune_of_power.up then applyBuff( "rune_of_power", pet.rune_of_power.remains )
else removeBuff( "rune_of_power" ) end --]]

frost_info.last_target_virtual = frost_info.last_target_actual
-- frost_info.virtual_brain_freeze = frost_info.real_brain_freeze
Expand Down Expand Up @@ -1134,7 +1134,7 @@ spec:RegisterAbilities( {
addStack( "deaths_chill", buff.icy_veins.remains, 1 )
end

removeBuff( "ice_floes" )
removeStack( "ice_floes" )

if buff.cold_front_ready.up then
spec.abilities.frozen_orb.handler()
Expand Down Expand Up @@ -1167,6 +1167,7 @@ spec:RegisterAbilities( {
--[[ if debuff.winters_chill.stack > 0 and action.frostbolt.lastCast > action.flurry.lastCast then
removeDebuffStack( "target", "winters_chill" )
end ]]
removeDebuffStack( "target", "winters_chill" )
end,

copy = { 116, 228597, "frostfire_bolt", 431044 }
Expand Down Expand Up @@ -1304,9 +1305,18 @@ spec:RegisterAbilities( {
removeBuff( "excess_frost" )
end

if buff.fingers_of_frost.up then
removeStack( "fingers_of_frost" )
if talent.cryopathy.enabled then addStack( "cryopathy" ) end
if set_bonus.tier29_4pc > 0 then applyBuff( "touch_of_ice" ) end
end

if buff.fingers_of_frost.up or debuff.frozen.up then
if talent.chain_reaction.enabled then addStack( "chain_reaction" ) end
if talent.thermal_void.enabled and buff.icy_veins.up then buff.icy_veins.expires = buff.icy_veins.expires + 0.5 end
if talent.thermal_void.enabled and buff.icy_veins.up then
buff.icy_veins.expires = buff.icy_veins.expires + 0.5
pet.water_elemental.expires = buff.icy_veins.expires
end
end

if not talent.glacial_spike.enabled then removeStack( "icicles" ) end
Expand All @@ -1318,7 +1328,7 @@ spec:RegisterAbilities( {
end,

impact = function ()
if ( buff.fingers_of_frost.up or debuff.frozen.up ) and talent.hailstones.rank == 2 then
if ( buff.fingers_of_frost.up or debuff.frozen.up ) and talent.hailstones.enabled then
addStack( "icicles" )
if talent.glacial_spike.enabled and buff.icicles.stack == buff.icicles.max_stack then
applyBuff( "glacial_spike_usable" )
Expand All @@ -1327,11 +1337,7 @@ spec:RegisterAbilities( {

removeDebuffStack( "target", "winters_chill" )

if buff.fingers_of_frost.up then
removeStack( "fingers_of_frost" )
if talent.cryopathy.enabled then addStack( "cryopathy" ) end
if set_bonus.tier29_4pc > 0 then applyBuff( "touch_of_ice" ) end
end

end,

copy = 228598
Expand Down Expand Up @@ -1394,18 +1400,18 @@ spec:RegisterAbilities( {

if talent.bone_chilling.enabled then addStack( "bone_chilling" ) end
if talent.cryopathy.enabled then addStack( "cryopathy", nil, 10 ) end
if talent.rune_of_power.enabled then applyBuff( "rune_of_power" ) end
-- if talent.rune_of_power.enabled then applyBuff( "rune_of_power" ) end

if pvptalent.ice_form.enabled then applyBuff( "ice_form" )
else
if buff.icy_veins.down then stat.haste = stat.haste + 0.30 end
applyBuff( "icy_veins" )

if talent.snap_freeze.enabled then
--[[ if talent.snap_freeze.enabled then
if talent.flurry.enabled then gainCharges( "flurry", 1 ) end
addStack( "brain_freeze" )
addStack( "fingers_of_frost" )
end
end --]]
end

if azerite.frigid_grasp.enabled then
Expand Down

0 comments on commit 98478f7

Please sign in to comment.