Corrected a small error in the Elemental_Sword script

- bAutoSpellOnSkill rate for the item was incorrectly set to 10000
  (=1000%), while the actual maximum value should be 1000 (=100%).
- Special thanks to kyeme.

Signed-off-by: Haru <haru@dotalux.com>
ItemDB SQL Sync

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed an issue with item_db2 entries that specify Inherit, and no Script

- Added missing source documentation for the itemdb overhaul related
  functions.
- Slighty refactored the readdb sql function.
- Special thanks to sevenzz23 for reporting the crash issue (topic:3029)
  http://hercules.ws/board/topic/3029-ritem-data-structure-overhaul-error-msg/
  and to Ind for testing.

Signed-off-by: Haru <haru@dotalux.com>
Follow-up to d9a89c56ea63e369999ca13f1584eef9e511490f

- Updated db2sql plugin to reflect the latest changes.
- Fixes bugreport:7835, special thanks to ossi0110
  http://hercules.ws/board/tracker/issue-7835-db2sql-plugin-error/

Signed-off-by: Haru <haru@dotalux.com>
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>