set_constant the send_target

fix bug 8049
http://hercules.ws/board/tracker/issue-8049-specialeffect-target-self-doesnt-work/
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>
Follow up f4b1ff7426b1c4cd5e8cac37f7e3983cc03c706e

Memory leak from bug report 8090 which was created in f4b1ff7426b1c4cd5e8cac37f7e3983cc03c706e when I somehow managed to assume all instances consuming memory would be active.
Special Thanks to LordOdin!
http://hercules.ws/board/tracker/issue-8090-memory-leak/

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

In the scenario where damage is reflected and kills the caste sc->data[SC__SHADOWFORM] would be null (caster no longer is under the condition) and thus the crash.
http://hercules.ws/board/tracker/issue-8089-map-crash/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug#8086
-http://hercules.ws/board/tracker/issue-8086-overbrand-mega-bug/
Notice: old behavior of LG_OVERBRAND contains exploitable bug..this patch must pull to eliminate the bug

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>