Skip to content

Commit

Permalink
Add SOD p2 shaman runes
Browse files Browse the repository at this point in the history
  • Loading branch information
RagedUnicorn committed Mar 14, 2024
1 parent b1f71c8 commit 56cce76
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 0 deletions.
Binary file added assets/sounds/en/shaman/decoy_totem.mp3
Binary file not shown.
Binary file added assets/sounds/en/shaman/totemic_projection.mp3
Binary file not shown.
24 changes: 24 additions & 0 deletions code/PVPW_SpellMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2373,6 +2373,30 @@ else
"SPELL_AURA_APPLIED",
"SPELL_AURA_REMOVED"
}
},
["decoy_totem"] = {
["name"] = "Decoy Totem",
["type"] = RGPVPW_CONSTANTS.SPELL_TYPE_BASE,
["soundFileName"] = "decoy_totem",
["spellId"] = 425874,
["spellIcon"] = "inv_misc_toy_04",
["hasFade"] = false,
["active"] = true,
["trackedEvents"] = {
"SPELL_CAST_SUCCESS"
}
},
["totemic_projection"] = {
["name"] = "Totemic Projection",
["type"] = RGPVPW_CONSTANTS.SPELL_TYPE_BASE,
["soundFileName"] = "totemic_projection",
["spellId"] = 437009,
["spellIcon"] = "spell_shaman_totemrecall",
["hasFade"] = false,
["active"] = true,
["trackedEvents"] = {
"SPELL_CAST_SUCCESS"
}
}
},
["racials"] = {
Expand Down
17 changes: 17 additions & 0 deletions test/shaman/PVPW_TestCombatEventsShamanEn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ function me.CollectTestCases()
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventShamanisticRageRemoved)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventWaterShieldApplied)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventWaterShieldRemoved)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventDecoyTotemSuccess)
mod.testReporter.AddToTestQueueWithDelay(me.TestCombatEventTotemicProjectionSuccess)
end

function me.TestCombatEventElementalMasteryApplied()
Expand Down Expand Up @@ -361,3 +363,18 @@ function me.TestCombatEventWaterShieldRemoved()
"Water Shield"
)
end

function me.TestCombatEventDecoyTotemSuccess()
mod.testHelper.TestCombatEventSuccess(
"TestCombatEventDecoyTotemSuccess",
testCategory,
"Decoy Totem"
)
end
function me.TestCombatEventTotemicProjectionSuccess()
mod.testHelper.TestCombatEventSuccess(
"TestCombatEventTotemicProjectionSuccess",
testCategory,
"Totemic Projection"
)
end
18 changes: 18 additions & 0 deletions test/shaman/PVPW_TestSoundShamanEn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ function me.CollectTestCases()
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundDownShamanisticRage)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundWaterShield)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundDownWaterShield)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundDecoyTotem)
mod.testReporter.AddToTestQueueWithDelay(me.TestSoundTotemicProjection)
end

function me.TestSoundElementalMastery()
Expand Down Expand Up @@ -359,3 +361,19 @@ function me.TestSoundDownWaterShield()
"Water Shield"
)
end

function me.TestSoundDecoyTotem()
mod.testHelper.TestSoundSuccess(
"TestSoundDecoyTotem",
testCategory,
"Decoy Totem"
)
end

function me.TestSoundTotemicProjection()
mod.testHelper.TestSoundSuccess(
"TestSoundTotemicProjection",
testCategory,
"Totemic Projection"
)
end

0 comments on commit 56cce76

Please sign in to comment.