Renewal mechanics rebalance mega-update

- More info on the forums, at
  http://hercules.ws/board/topic/4428-michierus-renewal-update/

Signed-off-by: Haru <haru@dotalux.com>
sc sources

Signed-off-by: shennetsind <ind@henn.et>
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Follow-up to 6f264513874c80b912f47dbad1ec0347c67534e7

Fixed a typo, thanks to Masao

Signed-off-by: Haru <haru@dotalux.com>
Fixed warmer issue that'd cause a crash when clear_skills_on_death is enabled

Perhaps the cause to 8026 http://hercules.ws/board/tracker/issue-8026-map-server-crash-feb-16th-2014/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 8031

way to check for char server connection fixed
Special Thanks to FeNixZ!
http://hercules.ws/board/tracker/issue-8031-map-server-crash-save-scdata-single-del-scdata-single/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 8025

Temporary fix for data->ref on array handling, will be dropped once Haru's data->ref redesign is commit.
Special Thanks to AnnieRuru
http://hercules.ws/board/tracker/issue-8025-callfunc-getarraysize-getarg-server-crash/

Signed-off-by: shennetsind <ind@henn.et>
Follow up 9132878d911cfe720eaad94ad3d4a5dd11958f99

Fixed issue (8023) with sc rows (only those of tick = -1, aka permanent scs) duplicating due to lack of primary index.
Special Thanks to Flash, Haru.
Note that the upgrade script will clear the permanent statuses from your sc_data table (e.g. lex aeterna, carts) to ensure no issues are left.

Signed-off-by: shennetsind <ind@henn.et>
Updated skill_require_db.txt structure doc
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Revert "Merge branch 'master' of https://github.com/HerculesWS/Hercules"

This reverts commit c4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2, reversing
changes made to 58544d7f610261a903b3e843a795efd7571b2d56.
Readding last merge as last revert was unintended. Sorry for the trouble.
Fixed issue 8034
http://hercules.ws/board/tracker/issue-8034-map-crash-scripts/
Fixed Bug 8037

Player's var db was being cleared on unit free rather than on auth db clear, which'd cause map server to crash when trying to save already-disconnected (aka char logged out when char server was down) data.
Special Thanks to FeNixZ.
http://hercules.ws/board/tracker/issue-8037-map-crash-every-6-12/

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Unit remove from map animation.

Follow-up to my previous logout animation fix. Pets, homunculi and mercenaries were not vanishing correctly after CLR_TELEPORT was changed to CLR_RESPAWN.
Fixed animation for dead players respawning.

CLR_RESPAWN is actually the logout animation not the respawn animation. CLR_OUTSIGHT is the correct animation for respawning.
Fixed issue 8028
http://hercules.ws/board/tracker/issue-8028-sc-cloaking/
Follow up 6f264513874c80b912f47dbad1ec0347c67534e7

Adjusted SC_INSPIRATION, I accidentally swapped target and src when I was converting it to the new reflect damage stuff

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules