diff options
| -rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 6728b25e2eb..7c0540a79b5 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -941,9 +941,9 @@ class spell_item_map_of_the_geyser_fields : public SpellScriptLoader SpellCastResult CheckSinkholes() { Unit* caster = GetCaster(); - if (caster->FindNearestCreature(NPC_SOUTH_SIKNHOLE, 5.0f, true) || - caster->FindNearestCreature(NPC_NORTHEAST_SIKNHOLE, 5.0f, true) || - caster->FindNearestCreature(NPC_NORTHWEST_SIKNHOLE, 5.0f, true)) + if (caster->FindNearestCreature(NPC_SOUTH_SIKNHOLE, 30.0f, true) || + caster->FindNearestCreature(NPC_NORTHEAST_SIKNHOLE, 30.0f, true) || + caster->FindNearestCreature(NPC_NORTHWEST_SIKNHOLE, 30.0f, true)) return SPELL_CAST_OK; SetCustomCastResultMessage(SPELL_CUSTOM_ERROR_MUST_BE_CLOSE_TO_SINKHOLE); |
