From 95a7b253a6565f1c8c2b5ba2878666a495768051 Mon Sep 17 00:00:00 2001 From: ZxBiohazardZx Date: Tue, 8 Mar 2011 00:03:04 +0100 Subject: [PATCH] Scripts/Spells: Modified range for targeting script for Map of the Geyser Fields by Shauren --- src/server/scripts/Spells/spell_item.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 6728b25e2e..7c0540a79b 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);