Fixed ALL_RESURRECTION to not inflict damage on hidden undead type players

- Fixed bug report 8407: http://hercules.ws/board/tracker/issue-8407-resurrection-skill-cant-be-dodged-by-hide/
- Refactorized code
Merge pull request #380 from csnv/somefixes

Fixed ALL_RESURRECTION to not inflict damage on hidden undead type playe...
Fix clearance, should work only on mob, party or self and skill can't be cast on all players that are not in the party (bug:7050)
Added min() and max() script commands

- Special thanks to Streusel, Xgear

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (common folder)

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (pre-re folder)

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (re/quests folder)

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (re folder)

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (quests subfolders)

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (quests folder)

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (item db)

This also includes various other tweaks to the item db scripts,
including the newly introduced min() and max() commands.

Signed-off-by: Haru <haru@dotalux.com>
Marked command 'save' as deprecated.

- Note: The command will be completely removed after about a month.
  Custom, third party scripts will require updates, in case they were
  using this command. Please see the 'save' documentation.

Signed-off-by: Haru <haru@dotalux.com>
Fixed an error in the HPMHookGen

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Marked command 'cmdothernpc' as deprecated.

- Note: The command will be completely removed after about a month.
  Custom, third party scripts will require updates, in case they were
  using this command. Please see the 'cmdothernpc' documentation.

Signed-off-by: Haru <haru@dotalux.com>
Marked commands 'enablearena' and 'disablearena' as deprecated.

- Note: The commands will be completely removed after about a month.
  Custom, third party scripts will require updates, in case they were
  using these commands. Please see the commands documentation.

Signed-off-by: Haru <haru@dotalux.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules