mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Revert "Merge pull request #1101 from KinglyKrab/custom"
This reverts commit43108acae1, reversing changes made todaa1db65b9.
This commit is contained in:
@@ -200,14 +200,6 @@ void Mob::DoSpecialAttackDamage(Mob *who, EQ::skills::SkillType skill, int32 bas
|
||||
SpellFinished(aabonuses.SkillAttackProc[2], who, EQ::spells::CastingSlot::Item, 0, -1,
|
||||
spells[aabonuses.SkillAttackProc[2]].ResistDiff);
|
||||
}
|
||||
|
||||
if (RuleB(Combat, CustomScaling) && IsClient()) {
|
||||
int scale_value = itembonuses.DEX;
|
||||
float skill_damage_scale = RuleR(Combat, CustomScalingSkillDamage);
|
||||
if (scale_value > int(skill_damage_scale)) {
|
||||
my_hit.damage_done = int(static_cast<float>(my_hit.damage_done) * static_cast<float>(scale_value / skill_damage_scale));
|
||||
}
|
||||
}
|
||||
|
||||
who->Damage(this, my_hit.damage_done, SPELL_UNKNOWN, skill, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user