mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
fixes
This commit is contained in:
+1
-1
@@ -4344,7 +4344,7 @@ bool Mob::TryReflectSpell(uint32 spell_id)
|
||||
|
||||
int chance = itembonuses.reflect_chance + spellbonuses.reflect_chance + aabonuses.reflect_chance;
|
||||
|
||||
if(MakeRandomInt(0, 99) < (GetTarget()->itembonuses.reflect_chance + GetTarget()->spellbonuses.reflect_chance))
|
||||
if(chance && MakeRandomInt(0, 99) < chance)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user