set_constant the send_target

fix bug 8049
http://hercules.ws/board/tracker/issue-8049-specialeffect-target-self-doesnt-work/
Fixed Bug 8046

Fixed issue with permanent statuses being removed during logout for memory-freeing operations, special thanks to streusel and all those who contributed to the bug report.
http://hercules.ws/board/tracker/issue-8046-cart-disappearance/

Signed-off-by: shennetsind <ind@henn.et>
Fixed issue 8043
http://hercules.ws/board/tracker/issue-8043-arch-bishop-lauda-ramus/
Also corrected similar issue with AB_LAUDAAGNUS, now both skills can be used properly whether the caster is in a party or not.
Special thanks to kyeme for reporting this issue
Fixed some warnings (unused functions) pointed out by clang-5.1.

Signed-off-by: Haru <haru@dotalux.com>
Merge pull request #265 from AnnieRuru/request_1

set_constant the send_target
Fixed Bug 8067

Sample plugin compiler error on msvc, credits to AnnieRuru (Thank you!)
http://hercules.ws/board/tracker/issue-8067-pluginsamplec-throws-error-on-microsoft-compiler/

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

Special Thanks to kyeme, Haruna
http://hercules.ws/board/tracker/issue-8072-map-crash-autotrade/

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

Would crash when target npc's variable database is empty.
Special Thanks to Haruna, ossi0110

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug#8073
-http://hercules.ws/board/tracker/issue-8073-removing-magic-gear-and-cart/?gopid=22195#entry22195

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Fixed Bug#8038
-http://hercules.ws/board/tracker/issue-8038-shadow-chaser-feint-bomb/?gopid=22073#entry22073

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Corrected itemheal documentation, it was fairly wrong.
Added simple overflow check in pc_heal to fix issue: 8082
http://hercules.ws/board/tracker/issue-8082-itemheal-kills-with-high-rand-value/
Added internal awareness of active script instances

Fixes the following issues:
- donpcevent could cause a crash when used to a event of the same npc
- input/other-dialog-interactions could cause a crash when sending data to a disabled-fakenpc-id'd.
Special Thanks to Haruna, ossi0110.

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

disabling rental items with zones would cause such rental items to be deleted when the item_restricted_consumption_type setting was enabled, this has been fixed in this commit.
Special Thanks to Tepoo.
http://hercules.ws/board/tracker/issue-8081-map-zone-dbconf-item-dissabled-issues/

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

Player-looking NPCs will now display properly, thanks to evilpuncker.
http://hercules.ws/board/tracker/issue-8083-mob-avail-npc-sprite/

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

A bonus. Fixed unitwalk's non-x/y possibility, NPCs can now be set to chase players around for as long as they keep walking, which opens a number of possibilities e.g. help npc y get thru z.

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

Guild bound item deletion is no longer relies on account id to lookup (would cause false positives)
, instead it relies on char id. special thanks to kyeme.
http://hercules.ws/board/tracker/issue-7936-guildparty-item-bounded/

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

gms relogging while char server is on char_server_type will no longer get rejected.
Special Thanks to Beret.
http://hercules.ws/board/tracker/issue-8078-maintenance-mode-enabled/

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