Skip to content

Commit

Permalink
Add SOD p2 mage runes
Browse files Browse the repository at this point in the history
  • Loading branch information
RagedUnicorn committed Mar 14, 2024
1 parent a38a424 commit b1f71c8
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
13 changes: 13 additions & 0 deletions code/PVPW_SpellMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,19 @@ else
["trackedEvents"] = {
"SPELL_CAST_SUCCESS"
}
},
["chronostatic_preservation"] = {
["name"] = "Chronostatic Preservation",
["type"] = RGPVPW_CONSTANTS.SPELL_TYPE_SOD,
["soundFileName"] = "chronostatic_preservation",
["spellId"] = 436516,
["spellIcon"] = "spell_arcane_arcane02",
["hasFade"] = true,
["active"] = true,
["trackedEvents"] = {
"SPELL_AURA_APPLIED",
"SPELL_AURA_REMOVED"
}
}
},
["hunter"] = {
Expand Down
18 changes: 18 additions & 0 deletions test/mage/PVPW_TestCombatEventsMageEn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ function me.CollectTestCases()
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventIcyVeinsRemoved)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventArcaneSurgeSuccess)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventLivingBombSuccess)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventChronostaticPreservationApplied)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventChronostaticPreservationRemoved)
end

function me.TestCombatEventIceBlockApplied()
Expand Down Expand Up @@ -334,3 +336,19 @@ function me.TestCombatEventLivingBombSuccess()
"Living Bomb"
)
end

function me.TestCombatEventChronostaticPreservationApplied()
mod.testHelper.TestCombatEventApplied(
"TestCombatEventChronostaticPreservationApplied",
testCategory,
"Chronostatic Preservation"
)
end

function me.TestCombatEventChronostaticPreservationRemoved()
mod.testHelper.TestCombatEventRemoved(
"TestCombatEventChronostaticPreservationRemoved",
testCategory,
"Chronostatic Preservation"
)
end
18 changes: 18 additions & 0 deletions test/mage/PVPW_TestSoundMageEn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ function me.CollectTestCases()
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundDownIcyVeins)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundArcaneSurge)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundLivingBomb)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundChronostaticPreservation)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundDownChronostaticPreservation)
end

function me.TestSoundIceBlock()
Expand Down Expand Up @@ -314,3 +316,19 @@ function me.TestSoundLivingBomb()
"Living Bomb"
)
end

function me.TestSoundChronostaticPreservation()
mod.testHelper.TestSoundApplied(
"TestSoundChronostaticPreservation",
testCategory,
"Chronostatic Preservation"
)
end

function me.TestSoundDownChronostaticPreservation()
mod.testHelper.TestSoundRemoved(
"TestSoundDownChronostaticPreservation",
testCategory,
"Chronostatic Preservation"
)
end

0 comments on commit b1f71c8

Please sign in to comment.