From 38c61cde2b9355cddc1e55eb3ad9858dda63d21f Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Wed, 14 Jul 2021 18:26:32 -0300 Subject: [PATCH] More consistency on the Spikeballs for Painsmith encounter --- boot.lua | 4 ++-- core/parser.lua | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/boot.lua b/boot.lua index 4a363c224..d12bf299c 100644 --- a/boot.lua +++ b/boot.lua @@ -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 diff --git a/core/parser.lua b/core/parser.lua index 03809d042..d6f637921 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -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 @@ -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