I agree, so I did something about it.
As well as I could, anyway:
https://www.dropbox.com/s/frad6i4mf5z1rcw/!SquishMe.zip?dl=1
This is an addon written by yours truly. It intercepts a few calls from the API (which it can due thanks to having the ! in front of its name)
Behold:
-- Save original functions. We need them, even if no other addon will.
local _UnitLevel = UnitLevel
local _UnitHealth = UnitHealth
local _UnitHealthMax = UnitHealthMax
local _UnitPower = UnitPower
local _UnitPowerMax = UnitPowerMax
local _UnitPowerType = UnitPowerType
local _GetManaRegen = GetManaRegen
local _UnitMana = UnitMana
local _UnitManaMax = UnitManaMax
local _GetBattlefieldScore = GetBattlefieldScore
local _UnitDamage = UnitDamage
local _UnitRangedDamage = UnitRangedDamage
local _UnitHPPerStamina = UnitHPPerStamina
local _GetAttackPowerForStat = GetAttackPowerForStat
local _GetSpellPowerCost = GetSpellPowerCost
local _DeathRecap_GetEvents = DeathRecap_GetEvents
local _UnitAttackPower = UnitAttackPower
local _UnitRangedAttackPower = UnitRangedAttackPower
local _GetSpellBonusDamage = GetSpellBonusDamage
local _GetSpellBonusHealing = GetSpellBonusHealing
local _CombatLogGetCurrentEventInfo = CombatLogGetCurrentEventInfo
--local _UnitPowerDisplayMod = UnitPowerDisplayMod
local _UnitStat = UnitStat
--Absorb and incoming heals
local _UnitGetTotalAbsorbs = UnitGetTotalAbsorbs
local _UnitGetIncomingHeals = UnitGetIncomingHeals
-- Make local copies of some functions where we need consistency
local GetFramesRegisteredForEvent = GetFramesRegisteredForEvent
In order for this to not throw LUA errors in your face, you need to stop using a bunch of built in functionality and replace it with addons so that it isnât protected.
Any unit frame addon will do except the default. Get any combat text addon and disable the default (I recommend ClassicFCT)
Right now it reduces all mana, health, healing, and damage done by 100x. This can be changed by modifying the variables in the LUA file.
local smdb = {
sqma = {
0.354839, 0.445962, 0.536817, 0.559240, 0.387426, 0.313564, 0.343165, 0.290889, 0.313364, 0.277651,
0.295755, 0.265168, 0.273794, 0.255545, 0.267813, 0.249051, 0.258005, 0.242659, 0.235786, 0.223793,
0.223389, 0.213637, 0.213707, 0.205825, 0.192205, 0.187213, 0.194622, 0.189786, 0.175670, 0.172734,
0.178807, 0.171845, 0.169743, 0.164253, 0.162822, 0.161503, 0.163504, 0.162366, 0.153350, 0.150329,
0.154959, 0.152224, 0.149835, 0.147649, 0.145833, 0.144160, 0.142701, 0.141434, 0.140339, 0.139318,
0.138520, 0.136337, 0.138631, 0.135353, 0.137593, 0.136004, 0.135753, 0.134452, 0.133240, 0.133317,
0.120000, 0.110000, 0.100000, 0.700000, 0.350000, 0.200000, 0.150000, 0.100000, 0.070000, 0.01
},
sqhp = {
0.354839, 0.445962, 0.536817, 0.559240, 0.387426, 0.313564, 0.343165, 0.290889, 0.313364, 0.277651,
0.295755, 0.265168, 0.273794, 0.255545, 0.267813, 0.249051, 0.258005, 0.242659, 0.235786, 0.223793,
0.223389, 0.213637, 0.213707, 0.205825, 0.192205, 0.187213, 0.194622, 0.189786, 0.175670, 0.172734,
0.178807, 0.171845, 0.169743, 0.164253, 0.162822, 0.161503, 0.163504, 0.162366, 0.153350, 0.150329,
0.154959, 0.152224, 0.149835, 0.147649, 0.145833, 0.144160, 0.142701, 0.141434, 0.140339, 0.139318,
0.138520, 0.136337, 0.138631, 0.135353, 0.137593, 0.136004, 0.135753, 0.134452, 0.133240, 0.133317,
0.120000, 0.110000, 0.100000, 0.700000, 0.350000, 0.200000, 0.150000, 0.100000, 0.070000, 0.01
},
outdoor = true,
raid = true,
dungeon = true,
scenario = true,
arena = true,
battleground = true,
timewalk = false,
squishpansion = 1
}
I would like to do tooltips as well, but I donât understand the new API and I just sortta couldnât be bothered.