diff options
| author | Sorikoff <46191832+Sorikoff@users.noreply.github.com> | 2020-01-26 22:15:00 +0200 |
|---|---|---|
| committer | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-01-26 21:15:00 +0100 |
| commit | 552a638e3110bedea1b2e80a7a4a2a71401d9c17 (patch) | |
| tree | fc389d107b60cb31b2c76743b2920cda4028c207 /src/server/scripts/World | |
| parent | 1201b49f08c4dd4d753edde354713d7209613a51 (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>
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 127bf9c2954..6bfd3336926 100644 --- a/src/server/scripts/World/item_scripts.cpp +++ b/src/server/scripts/World/item_scripts.cpp @@ -128,27 +128,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*/) 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 #####*/ @@ -350,7 +329,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(); |
