diff options
| author | ZxBiohazardZx <zxbiohazardzx@gmail.com> | 2011-03-08 00:03:04 +0100 |
|---|---|---|
| committer | ZxBiohazardZx <zxbiohazardzx@gmail.com> | 2011-03-08 00:03:04 +0100 |
| commit | 95a7b253a6565f1c8c2b5ba2878666a495768051 (patch) | |
| tree | bb20906314ac9ecfa135bd6d5f86ed96e40e35c5 /src | |
| parent | e4c0a8033680e41384feb85ff0473b46a695cb2b (diff) | |
Scripts/Spells: Modified range for targeting script for Map of the Geyser Fields by Shauren
Diffstat (limited to 'src')
| -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); |
