Eluna Sync

Signed-off-by: Salja <salja8840@gmail.com>
Eluna Sync

Signed-off-by: Salja <salja8840@gmail.com>
Eluna Sync

Signed-off-by: Salja <salja8840@gmail.com>
[s2121] Simple fix for Stealth is removed on fall damage problem Surely could be done better way...

Can be backported but need a little more work to make it work on TBC/Classic

(based on commit [12638] - 2f8474a)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2122] Fix bad english.

(based on commit [12639] - 8541443)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2123] Better value to check distance between owner and pet. This problem was introduced in [s2094]

Maybe i misunderstaind that commit but the pet now follow correctly its master.
Before the minimal check distance was too small so pet position was updated every update.

(based on commit [12640] - ea228ed)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2124] Implement SMSG_INVALIDATE_PLAYER

Inspired by TC and R2

(based on commit [12642] - 8e92a6a)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2125] Add Visual Studio 2013 files

(based on commit [12645] - 8be3780)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2126] Fix creature not stopping in some conditions.

Patch imported from TC, original author @Shauren

(based on commit [12652] - 1cd6ca8)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2127] Fix creature change z position when speed change.

No need to send explicit MSG_MOVE_SET_RUN_SPEED

(based on commit [12653] - 3486cba)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2128] Add new Regen Health / Power flags and rename database fields accordingly

(based on commit [12654] - 7bdcadb)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2129] Implement generic power handling for Creatures and Pets

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [12655] - 9a91f3f)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2130] Initialize power type and power type values for creatures

This will assign the correct power type based on UnitClass and will also provide proper values for the scaled powers

(based on commit [12656] - 186069f)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2131] Revert [s2127] and use a better fix.

More infos on https://github.com/cmangos/mangos-wotlk/commit/3486cba310f9a301e2ec8e4f9824ed84447f6b76
Sending spline speed instead of complete movement info seem enough no matter if the unit is Player or Creature.
Big thanks to @SilverIce

(based on commit [12658] - 9cc20e1)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2132] Allow sending custom eventAI events to all units in range

Thanks @ulduar and @schmoozerd for pointing the idea.

(based on commit [12659] - 4359c99)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2133] Implement condition CREATURE_IN_RANGE

Will return TRUE if any alive creature of given entry in the selected range is found.
This is useful for gossip or quest conditions that must avoid double spawning a certain creature

(based on commit [12660] - 401d33d)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2134] Fixed build git_id at VS2013

(based on commit [12662] - ae4babf)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2135] Add missing trap id for SendGameObjectCustomAnim call

Thanks to @grz3s

(based on commit [12665] - d76e940)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2136] Implement some spells required for quest 11198

Auras 42581 and 42582 and effect 42578

(based on commit [12666] - ae6353c)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[s2137] Add forgotten break by commit [s1806].

This will fix AoE target filling.

(based on commit [12667] - 53224ff)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>