Project-Epoch / bugtracker

3 stars 0 forks source link

Mob resistance doesn't check against proper cap #8344

Open Shadownflame opened 1 month ago

Shadownflame commented 1 month ago

Mob spell resistances always seem to calculate resist % chances from the mob's own level and not enemy level. So a Stormwind guard (ID 1756) with 50 resistance against Frost magic is giving the intended 10-20% partial resists for a level 60 player because the Guard himself is lvl 60 and the 50 resistance calculates against a cap of 300: WoWScrnShot_072624_025643 But a lvl 15 mob with 50 frost resistance is returning 40-60% partial resists for a lvl 60 enemy because it seems to calculate with the mob's own level, 50 resist against 75 cap: WoWScrnShot_072624_032155

Resistance value should always be checked against a cap calculated from the attacker's level, in this case a lvl 60 attacker should always be seeing the values that belong to 50/300 resistance, not 50/75 or anything else.