Skip to content

Commit

Permalink
More consistency on the Spikeballs for Painsmith encounter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Jul 14, 2021
1 parent f516d1d commit 38c61cd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

local version, build, date, tocversion = GetBuildInfo()

_detalhes.build_counter = 8720
_detalhes.alpha_build_counter = 8720 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 8721
_detalhes.alpha_build_counter = 8721 --if this is higher than the regular counter, use it instead
_detalhes.bcc_counter = 25
_detalhes.dont_open_news = true
_detalhes.game_version = version
Expand Down
14 changes: 13 additions & 1 deletion core/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4851,6 +4851,17 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1

_detalhes.encounter_table.phase = 1

--remove on 10.0
--if (encounterID == 2430) then --Painsmith Raznal
_table_wipe(spikeball_cache)
spikeball_cache.name_cache = {}
spikeball_cache.winners_cache = {}
spikeball_cache.spike_counter = 0
spikeball_cache.winner_spikeball = false
spikeball_cache.ignore_spikeballs = false
--end
--

--store the encounter time inside the encounter table for the encounter plugin
_detalhes.encounter_table.start = GetTime()
_detalhes.encounter_table ["end"] = nil
Expand Down Expand Up @@ -5039,13 +5050,14 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
end

--remove on 10.0 spikeball from painsmith
--[=[
_table_wipe(spikeball_cache)
spikeball_cache.name_cache = {}
spikeball_cache.winners_cache = {}
spikeball_cache.spike_counter = 0
spikeball_cache.winner_spikeball = false
spikeball_cache.ignore_spikeballs = false
--
--]=]

--when the user requested data from the storage but is in combat lockdown
if (_detalhes.schedule_storage_load) then
Expand Down

0 comments on commit 38c61cd

Please sign in to comment.