Merge pull request #60 from kisuka/master

Changed npcdb_checkid to use MAX_NPC_CLASS2_START and MAX_NPC_CLASS2_END.
Update script_commands.txt

Added some neat info Yommy gave us :D
Fixed Bug #7550

http://hercules.ws/board/tracker/issue-7550-baby-mage-inheriting-priest-
class-skills-re-mode-pre-re/

- My other commit isn't read to release yet, so I rather just push this
through now. Thanks jTynne!
Fixed Bug#7558
-Where 'bLongAtkDef' is not working properly with physical attack.

Fixed Bug#7530
-Where Masquerades affect boss monsters.

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Fixed Bug #7547

str_data[].val was uninitialised and thus using garbage memory on compilers that don't automatically initialize
http://hercules.ws/board/tracker/issue-7547-notice-conflicting-itemscript-var/
Also updated guild aura sc_config options (special thanks to kyeme!)

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
HCache & SQL Update Checker minor change

Files loaded by HCache now display a green C to distinguish whether it was loaded from cache or not
Fixed a typo in the SQL Update Checker.

Signed-off-by: shennetsind <ind@henn.et>
Fixed various unit* script commands to work with NPCs (issue #7548)

http://hercules.ws/board/tracker/issue-7548-unitwalk-do-not-work/
Follow-up to 20bdc01.
Thanks to Ind for his support and suggestions.

Signed-off-by: Haru <haru@dotalux.com>
Fixed Bug #7520

Added code to ensure 1st/2nd tabs are meeting the conditions; Special Thanks to Haruna, ToiletMaster
http://hercules.ws/board/tracker/issue-7520-skill-point-error/
Also - Follow up 9bcb1423969870a6b60819e6f3846fe0235e28a9
extending it to cached item packages.

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

- This allows the user to override the compiler at each make invocation
  (i.e. to run scripts to generate .clang_complete for
  https://github.com/Rip-Rip/clang_complete )
- Updated .gitignore with a few platform-dependent entries

Signed-off-by: Haru <haru@dotalux.com>
For Bug #7542

Attempting to open boxes or packages while 90% overweight will fail and result in a error message.
http://hercules.ws/board/tracker/issue-7542-bug-when-weight-90/

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

Skill from items with instantaneous casting are no longer affected by magic power
http://hercules.ws/board/tracker/issue-7526-item-skill-error/

Signed-off-by: shennetsind <ind@henn.et>
Fixed the homun_skill_tree parser.

- Follow-up to efbd5d0 (related: issue #4337)
- Now all the fields are read as intended.

Signed-off-by: Haru <haru@dotalux.com>
Fixed Bug #7564

Trickdead will now go away upon job changing to a non-novice class, pre-existing non-novice characters with the trickdead skill granted will automatically be fixed on login (unless the skill was granted via flag 3)
Special Thanks to bgamez23
http://hercules.ws/board/tracker/issue-7564-platinum-skill-is-not-remove-right-after-i-change-job/

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

Fixed a bug when removing last element of binary heap (its parent would
be removed instead if it had the same value).
Binary heap now allows custom swapper function/macro. Added `swap_ptr`
macro to swap two pointers in place (`swap` is not suitable for
pointers). This allows to store pointers in binary heap.
Merge pull request #64 from piotrhalaczkiewicz/master

Binary heap fix & improvement.