mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-30 13:32:26 +00:00
Fix for wizard innate crits when they have no chance otherwise
This commit is contained in:
parent
cfdd48b2a3
commit
6906125725
@ -84,7 +84,7 @@ int32 Client::GetActSpellDamage(uint16 spell_id, int32 value, Mob* target) {
|
|||||||
|
|
||||||
chance += itembonuses.FrenziedDevastation + spellbonuses.FrenziedDevastation + aabonuses.FrenziedDevastation;
|
chance += itembonuses.FrenziedDevastation + spellbonuses.FrenziedDevastation + aabonuses.FrenziedDevastation;
|
||||||
|
|
||||||
if (chance > 0){
|
if (chance > 0 || (GetClass() == WIZARD && GetLevel() >= RuleI(Spells, WizCritLevel))) {
|
||||||
|
|
||||||
int32 ratio = RuleI(Spells, BaseCritRatio); //Critical modifier is applied from spell effects only. Keep at 100 for live like criticals.
|
int32 ratio = RuleI(Spells, BaseCritRatio); //Critical modifier is applied from spell effects only. Keep at 100 for live like criticals.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user