Commit graph

7 commits

Author SHA1 Message Date
Lynx3d
3d551a68b5 [11011] Remove some more code from threatAssist()
* calcThreat() is also called in addThreat() when given proper parameters,
  and division by 'size' is commutative
* threat redirection is also handled in addThreat() again
2011-01-15 15:50:18 +01:00
Lynx3d
279c99bd0f [11008] Fix wrong threat assignment in threatAssist().
It may have been faster, but unfortunately made the aggressor threatened by his enemies instead of the opposite...
In case Player heals himself, this is of course pointless as he chooses target himself, hence it had no real effect at all.
2011-01-14 20:39:18 +01:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
ascent
88cc2d440f [10465] Implement SPELL_EFFECT_REDIRECT_THREAT
Note: all spells with effect expect additional code for redirection reset.
Until code adding redirection work longer that expected.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Patch partly rewrited with move new data into HostileRefManager
and added redirection to threatAssist. Also bug fixed with
redirection threat to unit not in hostile list yet.
2010-09-11 00:35:13 +04:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
VladimirMangos
e6efe02020 [8867] Implement expected combat stop with friendly faction
In case force reaction apply/remove.
2009-11-23 22:40:46 +03:00
XTZGZoReX
33d475caf3 [8786] Rename some files.
* HostilRefManager.cpp/.h -> HostileRefManager.cpp/.h
 * PoolHandler.cpp/.h -> PoolManager.cpp/.h
2009-11-08 04:21:56 +01:00
Renamed from src/game/HostilRefManager.cpp (Browse further)