mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
Fixed chest game objects interactions
This will fix the "you do not have a pet" message when interacting with chest game objects. Would like to thank - Snowdog on the MaNGOS forums for the fix.
This commit is contained in:
parent
832459d5a6
commit
3f561f377d
1 changed files with 1 additions and 0 deletions
|
|
@ -6087,6 +6087,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||||
if ((canFailAtMax || skillValue < sWorld.GetConfigMaxSkillValue()) && reqSkillValue > irand(skillValue - 25, skillValue + 37))
|
if ((canFailAtMax || skillValue < sWorld.GetConfigMaxSkillValue()) && reqSkillValue > irand(skillValue - 25, skillValue + 37))
|
||||||
return SPELL_FAILED_TRY_AGAIN;
|
return SPELL_FAILED_TRY_AGAIN;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case SPELL_EFFECT_SUMMON_DEAD_PET:
|
case SPELL_EFFECT_SUMMON_DEAD_PET:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue