Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db/re/item_db.txt | 5 +++++
- src/map/itemdb.hpp | 6 ++++++
- src/map/skill.cpp | 10 ++++++++++
- 3 files changed, 21 insertions(+)
- diff --git a/db/re/item_db.txt b/db/re/item_db.txt
- index 45e9a2075..cc3074cd8 100644
- --- a/db/re/item_db.txt
- +++ b/db/re/item_db.txt
- @@ -12664,3 +12664,8 @@
- 33045,N_Petti_Tail_Noodle,Petite Tail Noodles,2,,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_PUTTI_TAILS_NOODLES,300000,25; },{},{}
- 33046,E_Phone,E Phone,11,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ doevent "E-Phone::OnDoTalk"; },{},{}
- 33047,E_Phone2,E Phone,11,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ doevent "E-Phone::OnDoTalk2"; },{},{}
- +69000,Fire_Bottle2,Bottle Grenade,3,200,,25000,,,,,,,,,,,,,{},{},{}
- +69001,Acid_Bottle2,Acid Bottle,3,200,,25000,,,,,,,,,,,,,{},{},{}
- +69002,Red_Gemstone2,Red Gemstone,3,600,,3500,,,,,,,,,,,,,{},{},{}
- +69003,Blue_Gemstone2,Blue Gemstone,3,600,,3500,,,,,,,,,,,,,{},{},{}
- +69004,Yellow_Gemstone2,Yellow Gemstone,3,600,,3500,,,,,,,,,,,,,{},{},{}
- diff --git a/src/map/itemdb.hpp b/src/map/itemdb.hpp
- index 6e134f65f..4628944b3 100644
- --- a/src/map/itemdb.hpp
- +++ b/src/map/itemdb.hpp
- @@ -113,6 +113,12 @@ enum item_itemid
- ITEMID_WOB_RACHEL = 14584,
- ITEMID_WOB_LOCAL = 14585,
- ITEMID_SIEGE_TELEPORT_SCROLL = 14591,
- + ITEMID_FIRE_BOTTLE2 = 69000,
- + ITEMID_ACID_BOTTLE2 = 69001,
- + ITEMID_RED_GEMSTONE2 = 69002,
- + ITEMID_BLUE_GEMSTONE2 = 69003,
- + ITEMID_YELLOW_GEMSTONE = 715,
- + ITEMID_YELLOW_GEMSTONE2 = 69004,
- };
- ///Rune Knight
- diff --git a/src/map/skill.cpp b/src/map/skill.cpp
- index 387036f6f..0533386b8 100755
- --- a/src/map/skill.cpp
- +++ b/src/map/skill.cpp
- @@ -16406,6 +16406,16 @@ struct skill_condition skill_get_requirement(struct map_session_data* sd, uint16
- req.itemid[i] = req.amount[i] = 0;
- }
- }
- + if (req.itemid[i] == ITEMID_FIRE_BOTTLE && pc_search_inventory(sd, ITEMID_FIRE_BOTTLE2) > -1)
- + req.itemid[i] = req.amount[i] = 0;
- + if (req.itemid[i] == ITEMID_ACID_BOTTLE && pc_search_inventory(sd, ITEMID_ACID_BOTTLE2) > -1)
- + req.itemid[i] = req.amount[i] = 0;
- + if (req.itemid[i] == ITEMID_RED_GEMSTONE && pc_search_inventory(sd, ITEMID_RED_GEMSTONE2) > -1)
- + req.itemid[i] = req.amount[i] = 0;
- + if (req.itemid[i] == ITEMID_BLUE_GEMSTONE && pc_search_inventory(sd, ITEMID_BLUE_GEMSTONE2) > -1)
- + req.itemid[i] = req.amount[i] = 0;
- + if (req.itemid[i] == ITEMID_YELLOW_GEMSTONE && pc_search_inventory(sd, ITEMID_YELLOW_GEMSTONE2) > -1)
- + req.itemid[i] = req.amount[i] = 0;
- }
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement