mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Core/Spells: Fix spell effect value calculation
This commit is contained in:
@@ -652,7 +652,7 @@ SpellEffectValue SpellEffectInfo::CalcValue(WorldObject const* caster /*= nullpt
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
return std::clamp(value, MinValue, MaxValue);
|
||||
|
||||
Reference in New Issue
Block a user