Added 4 new permissions
Fix blackjack script by logging out to prevent zeny deletion

there is a well known bug of this script (I've known this since eathena actually)
when you are certainly going to lose the bet, log out immediately while the card are still dealt
and you don't get zeny deletion

thx to Holiness to bring this up again
Fixed bug 8365

*unittalk script command will send the message twice to the invoking character
hercules.ws/board/tracker/issue-8365-bug-unittalk-twice-message/
Fixes card increment damage on Renewal. Bug 8364

http://hercules.ws/board/tracker/issue-8364-about-damage-on-race-card/
Merge pull request #365 from csnv/somefixes

Fixes card increment damage on Renewal. Bug 8364
Fix bug 8271
http://hercules.ws/board/tracker/issue-8271-map-zone-db-disabled-items/

me careless, didn't know that when the item are disabled, OnUnequip shouldn't trigger
it was my pull request so me go fix it

thx to kyeme for the report
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Emperium can not be move by vacuum (bug:8372)
On renewal only double attack work on emperium
Update official biolab mobs drops (bug:8375)
Hesperuslit could be cast when you are in Inspiration state and no more working when RG is alone. (idAthena rev1532)
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Recode crazy weed to work as official (bug:8052)
Thanks to idAthena
* Rewrote the hard monster AI. Monsters will now behave a lot closer to official servers:
* Monsters will now attack immediately when they are chasing a target and it comes into attack range (bugreport:7370)
* Monsters will now chase their target during their aDelay, but they still have to wait for aMotion to be able to move again (bugreport:9269)
* Monsters will now rethink their chase in a configurable interval (see monster_chase_refresh in monster.conf), official value is once per cell, previously it was once per 3 cells
* Monsters will now stop when they rethink their chase and their target is gone (player hides or target loot was picked), regardless of the monster_ai setting (note: if you want the old, stupid behavior, just increase monster_chase_refresh instead)

Thanks to Playtester (rathena: cfef8a0088c3)
Pathfinding now works exactly as on the client

- This should solve most of the position lag problems, especially ones that caused monsters to suddenly appear next to you (happened especially often when using icewall)
- Added a new heap implementation to db.h (POP2, PUSH2, SIFTUP, SIFTDOWN, UPDATE) that simulates the heap that the client uses, there was no other way to reproduce 100% exact behavior
- I recommend using the old heap implementation for everything else
- Updated path.c to use the new heap macros and also fixed the order in which the different possible directions are pushed into heap
- Special thanks to rversteegen for helping me with various tests and the heap implementation
- Special thanks to ultramage for providing info that helped us narrowing down the possible variables

Mega thanks to Playtester (rathena:c009b3f4a)
Fix skill Weapon Crush (bug:6985)
Follow up b9b32ac7609e

Fixes issue where kicking a online guild member (on a server with GP_BOUND_ITEMS defined) would render the guilds storage (if not previously loaded during the servers lifespan (since boot)) to be wiped.
Special Thanks to Xgear!

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

Dropped id2storage entirely, replaced with idb_get (1) it was redundant 2) the rename on a46b190764df4cce0b378bc691218ac0814a5673 was a very poor choice as plugins using the previous version would be calling the other).

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed Bug 8252
* fixing some typo on script
Fix Bug 8133
* Disguise Event was having Renewal and Pre-Renewal Monster Constant in an array without any checks