mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
fix(Scripts/Karazhan): Fix fear immunity for Strawman (#17307)
This commit is contained in:
@@ -508,7 +508,7 @@ struct boss_strawman : public ScriptedAI
|
||||
|
||||
void SpellHit(Unit* /*caster*/, SpellInfo const* Spell) override
|
||||
{
|
||||
if ((Spell->SchoolMask == SPELL_SCHOOL_MASK_FIRE) && (!(rand() % 10)))
|
||||
if ((Spell->SchoolMask == SPELL_SCHOOL_MASK_FIRE) && roll_chance_i(10))
|
||||
{
|
||||
/*
|
||||
if (not direct damage(aoe, dot))
|
||||
|
||||
Reference in New Issue
Block a user