From c6060dd0c511ddad3cb1f0423aa9ccf2de7aedec Mon Sep 17 00:00:00 2001 From: xinef1 Date: Mon, 6 Feb 2017 01:10:15 +0100 Subject: Core/Spells: Remade trajectory target selection (#19048) * Remade trajectory target selection * Added possibility to apply conditions to trajectory spells * Properly recalculate delay time if CMSG_UPDATE_PROJECTILE_POSITION is received --- src/server/game/Conditions/ConditionMgr.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/game/Conditions') diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index dee3933bcde..e389f45ceb0 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -1627,6 +1627,7 @@ bool ConditionMgr::isSourceTypeValid(Condition* cond) const case TARGET_SELECT_CATEGORY_NEARBY: case TARGET_SELECT_CATEGORY_CONE: case TARGET_SELECT_CATEGORY_AREA: + case TARGET_SELECT_CATEGORY_TRAJ: continue; default: break; @@ -1637,6 +1638,7 @@ bool ConditionMgr::isSourceTypeValid(Condition* cond) const case TARGET_SELECT_CATEGORY_NEARBY: case TARGET_SELECT_CATEGORY_CONE: case TARGET_SELECT_CATEGORY_AREA: + case TARGET_SELECT_CATEGORY_TRAJ: continue; default: break; -- cgit v1.2.3