Squashed commit of the following:

commit d8d590668604bdefbdf32d2049143fe31479f65d
Author: boxa <boxa@mail.ru>
Date:   Wed Feb 27 16:19:38 2013 +0400

    fix magicK 2
    sorry for multiple commits. this last

commit fb29cbf23717cfe5610130f4e95f0b5d26a31647
Author: boxa <boxa@mail.ru>
Date:   Wed Feb 27 16:08:47 2013 +0400

    fix magicK

commit 24224b2531d078270d844a4133d4bbc7b91b58eb
Author: boxa <boxa@mail.ru>
Date:   Wed Feb 27 15:49:18 2013 +0400

    some changes to calculate partial spell resistance

commit 55bac759d3189315583a33ac5e7e66d5459aa28e
Author: boxa <boxa@mail.ru>
Date:   Wed Feb 27 13:36:01 2013 +0400

    Typo in [mr2706]

commit 7c344a4d6ee9b6f1690064a44ffa2a8cdc6676fd
Author: boxa <boxa@mail.ru>
Date:   Wed Feb 27 12:59:29 2013 +0400

    [mr2706] TESTING: Rework partial spell resistance with wotlk system
[mr2706] pick from 12380 by Xfurry
[12381] Fix behavior of spell 42631

Thanks zkillertheman for pointing

Also fix https://github.com/scriptdev2/scriptdev2/issues/33
[12382] Increase healing factor with each critical strike. Patch 3.0.2

co author: Maxxie
[12383] Looks for passive auras that need to be recast. Like talent spell Feral Swiftness (id: 17002 and ranks), once you go inside a building and then outside again.

Contributor : Ebrithil
[mr2707] traditional compile fix after 2706
[mr2708] Optimize calculate partial spell resist (wotlk)
* clear and speed up
Revert "[mr2708] Optimize calculate partial spell resist (wotlk)"

This reverts commit f67955e9caeab77d790f17fb5d51ee239ceed71c.
[mr2708] Optimize calculate partial spell resist (wotlk)
* clean and speed up
[mr2708] Optimize calculate partial spell resist (wotlk)
* clear and speed up
Merge branch 'master' of https://github.com/mangosR2/mangos
SD2 update
[mr2709] Implement resistance calculate for WOTLK
* finally valid calculation
* fully tested, works fine
Revert "[mr2697] Fix possible BIH crash in unloading map. #1288"

This reverts commit c1e35032f62a2f9738b956002a6d28fa36fc799a.
[mr2710]Check grid load state before make dismounting for units. related to #1288

Signed-off-by: mns <pgameserver@gmail.com>
[mr2711] Fix broken unloading arena maps. #1083
[mr2712] Optimize resistance calculation
speed up: remove empty loops
Typo
fix logic in mr2712
[mr2713] Continue optimize resistance calculation
speedup: don't calculate if initially no resistance chance