Update re/item_combo.txt
Re-add the commented lines follow up 256e0652b18ee789d4c598abdf4af0d3163b9975
Item sql update, follow up 70a6564 & bugreport:9018

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Follow up cc499e8
some files not selected in previous commit. :P

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Bug Fixes
* Fixed characters moving to unavailable slots using Character Moving System. Thanks to Napster. (bugreport:8987)
* Implemented MD_RANDOMTARGET. (bugreport:8781) (Hercules 10e6f1a)
* Implemented a new define for renewal status point calculation to separate from default renewal define. Thanks to @cydh. (bugreport:8784)
* Follow up to f511107 to fix a compile warning.
* Forcefully save characters before opening a Vending Shop to prevent invalid data from saving. (bugreport:8955)
* Fixed 2013-12-23 client from disconnecting after executing /limitedsale command. Thanks to Napster. (bugreport:9011)
* Fixed Elemental Shield displaying a warning to the console. (bugreport:9016)
* Elemental Shield requires a Blue Gemstone to cast.
* Adjusted Flash Combo to only consume 65 SP.
* Added missing skill_require_db defines for Episode 14.3 Part 2 skills in the pre-renewal database.
Follow up 6b9ec5f, bug fix of http://rathena.org/board/topic/95699-compiling-error-when-changing-client-date-on-mmoh/ thank iZeal

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Minor cleanup of riding script commands.
- The 'checkriding()' function no longer checks for wargs and dragons, ONLY Pecos, Grand Pecos, and Gryphons (as documented). (bugreport:9024)
http://rathena.org/board/tracker/issue-9024-about-renters-from-rathenanpcremerchants/
- Replaced 'checkoption()' warg checks with 'checkwug()'.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
Increased item ID array size.
- Increased limit from 32,767 to 65,535.
- Still uses same amount of memory with doubled usable size.
- Adjusted CARD0_PET from -256 to 256.
- Please run both SQL files after applying this update to avoid values becoming corrupt.
- Tested and works on clients 2012-04-10 and up thanks to Cydh.
- Removed an unused SQL file.
Follow up to 7cd82d0.
- Fixed SQL queries to convert CARD0_PET to positive value before adjusting table to avoid setting the value to 0.
- Thanks to Cydh.
Follow up to 7cd82d0.
- Adjusted a few SQL variable types and specifiers for cards in the char-server.
Bug fixes:
-- Pin code issue after char_refac (bugreport:9027)
-- Delete date issue after char_refac (bugreport:9029)
-- Stuck when drag item from/to inventory/cart/storage if the item cannot be moved. (bugreport:8935)
Command:
-- Added @cloneequip to clone other's equipments.
-- Added @clonestat to clone other's statuses.
-- Thank Antares for the suggestion, http://rathena.org/board/topic/95076-new-atcommands-suggestion/
Permission:
-- Added 'bypass_stat_onclone' to make user who use @clonestat can bypass stat limit.
-- Change 'atcommand_enable_npc' to 'command_enable' permission to enable use command while talking with NPC. Suggested by @aleos long time ago.
Misc:
-- Correcting some checks for bAddEff bonuses.
-- Moved status point calculaiton formula to PC_STATUS_POINT_COST, removing redundancy in pc_need_status_point and pc_maxparameterincrease.
-- Added pc_is_same_equip_index function to move all item index checks, removing redundancy in some cases.
-- Some random in-source documentations.
-- Updated map_msg_idn.conf.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Fixed bugreport:8234, memleak leftover from channel.c

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Follow up 267d521, thank Napster (bugreport:9040)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Follow up 32d659f

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Follow up 7cd82d0, bugreport:9041

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Follow up https://github.com/rathena/rathena/commit/98c6aee#commitcomment-6679748 Thank @CairoLee (err, messed up D:)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Item DB updates:
-- kRO 2014-05-28
Thanks to Cydh

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
* Fixed bugreport:9034 (Hercules aff9c14)
* 'bonus_script' improvement:
-- Added flag values (partial merge from sc_config branch):
-- * 16  : Removeable by Banishing Buster.
-- * 32  : Removable by Refresh.
-- * 128 : Removable by Luxanima.
-- * 256 : Remove when Madogear is activated or deactivated.
-- * 512 : Remove when receive damage.
-- * 1024: Script is permanent, cannot be cleared by bonus_script_clear
-- Added 'bonus_script_clear' command to remove active bonus_script from player (works like sc_end) Thank Napster to mention this. (bugreport:9042)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
* Follow up 7cd82d0
-- Changed itemdb_array (array) to itemdb (DBMap)
-- Removed itemdb_other (DBMap)
-- Changed MAX_ITEMDB to MAX_ITEMID, by default limit is USHRT_MAX (65,535)
-- Changed item_drop_ratio_db (array) to mob_item_drop_ratio (DBMap)
-- Now all item datas stored in itemdb (DBMap) and mob item ratio datas in mob_item_drop_ratio (DBMap)

PS: I just realized that db/import/mob_item_ratio.txt doesn't work, because it loaded after mob_db.txt (another thing to do)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Merge pull request #79 from nanakiwurtz/master

Item DB update