Fixed official devotion behaviour, various cleanups

Fixed devotion behaviour according to bug report 8292 http://hercules.ws/board/tracker/issue-8292-devotion (precast conditions pending)
Cleaned non existing flag from status->change_start calls.
Removed redundant condition in battle->check_range.
change rand(1)  to  rand(2)
New Optional Configuration for unequipped disabled equipments

http://hercules.ws/board/topic/334-suggestion-for-restricted-equipment-making-a-new-conf-for-it/?p=31003
Merge pull request #326 from csnv/somefixes

Fixed official devotion behaviour, various cleanups
Fix status def calculation (bug:8306)
Updated script command 'sc_start' to allow for more variables and options rAthena 17326 (bug:8217)
Fix Cart Tornado damage to official
elemental crashing/memory error (thanks to Ind)
ItemDB SQL Sync

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Massive Renewal mob_db update.
Follow-up to 0fadf38
Merge pull request #330 from AnnieRuru/request_1

New Optional Configuration for unequipped disabled equipments
Follow-up to d45cf975aab39d04bd43dabaa455fde35b61b8da

- Fixed faulty / misleading indentation of a closing curly brace

Signed-off-by: Haru <haru@dotalux.com>
Merge pull request #327 from QQfoolsorellina/master

change rand(1)  to  rand(2)
follow up
https://github.com/HerculesWS/Hercules/commit/a06e53479131c25ce2343c431c688c57b3bfa2c0
to mimic the *sc_start documentation to rathena
and fixed return 0; into return true;

thx to Litro for bringing up
http://hercules.ws/board/topic/6997-debug-whats-wrong/
Fix Egrade Coin name (bug:8174)
ItemDB SQL Sync

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Small constant overwrite fix in mob db. Follow-up to 0fadf384a80a25f1af712232d14a664848dbff88
Add MAX_REFINE as hard-coded constant

MAX_REFINE has different value for renewal(20) and non-renewal(10)
and some server even adjust this value
so its better to add this constant so there's no need to add a configuration when making custom refiner scripts
Fixed a small typo in Wolfchev Instance. (rAthena 403c22b)
Follow-up to 1c97ace

Removed accidental BOM from a script

Signed-off-by: Haru <haru@dotalux.com>
Re-generated SQL mob databases

Signed-off-by: Haru <haru@dotalux.com>
Fixed a compile warning on old gcc versions in battle_calc_damage

- Improves code readability
- Fixes bugreport:8312, thanks to Ancyker
  http://hercules.ws/board/tracker/issue-8312-warning-in-latest-hercules/

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