diff options
| author | Sorikoff <46191832+Sorikoff@users.noreply.github.com> | 2020-01-26 22:15:00 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-12-20 23:47:37 +0100 |
| commit | d37547e769e6273ed84c03d8b2482d24f4e81fcf (patch) | |
| tree | d50cd6e4865a772d11720c0df75b9479d979d696 /src/server/scripts/World | |
| parent | 9b48370ba11622cb0567608526af3183de2afc0e (diff) | |
Scripts/Borean Tundra: Plug the Sinkholes (#24085)
* Scripts/Borean Tundra: Plug the Sinkholes
* Scripts/Borean Tundra: Improve SQL
* Scripts/Borean Tundra: Remove item script
* Rename 9999_99_99_99_world.sql to 2020_01_26_03_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 552a638e3110bedea1b2e80a7a4a2a71401d9c17)
Diffstat (limited to 'src/server/scripts/World')
| -rw-r--r-- | src/server/scripts/World/item_scripts.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp index 78e8c2b3498..61bf411c03c 100644 --- a/src/server/scripts/World/item_scripts.cpp +++ b/src/server/scripts/World/item_scripts.cpp @@ -129,27 +129,6 @@ public: }; /*##### -# item_incendiary_explosives -#####*/ - -class item_incendiary_explosives : public ItemScript -{ -public: - item_incendiary_explosives() : ItemScript("item_incendiary_explosives") { } - - bool OnUse(Player* player, Item* item, SpellCastTargets const& /*targets*/, ObjectGuid /*castId*/) override - { - if (player->FindNearestCreature(26248, 15) || player->FindNearestCreature(26249, 15)) - return false; - else - { - player->SendEquipError(EQUIP_ERR_OUT_OF_RANGE, item, nullptr); - return true; - } - } -}; - -/*##### # item_mysterious_egg #####*/ @@ -349,7 +328,6 @@ void AddSC_item_scripts() new item_only_for_flight(); new item_nether_wraith_beacon(); new item_gor_dreks_ointment(); - new item_incendiary_explosives(); new item_mysterious_egg(); new item_disgusting_jar(); new item_petrov_cluster_bombs(); |
