Compare commits

..

5 Commits

Author SHA1 Message Date
bash
35b52b65ba Revert "core eventMap has been refactored"
This reverts commit 4c87a04201.
2025-10-19 10:03:38 +02:00
bash
0a88aa9abe Revert "another related core refactor fixes"
This reverts commit bcc173d920.
2025-10-19 03:27:04 +02:00
bash
bcc173d920 another related core refactor fixes 2025-10-18 00:52:29 +02:00
bash
24d4c1f0a0 MovePoint core refactor and had a bug aswell 2025-10-17 21:06:03 +02:00
bash
4c87a04201 core eventMap has been refactored 2025-10-17 20:17:45 +02:00
2 changed files with 3 additions and 8 deletions

View File

@@ -210,7 +210,7 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
mm.Clear();
if (!backwards)
{
mm.MovePoint(0, x, y, z, generatePath);
mm.MovePoint(0, x, y, z, FORCED_MOVEMENT_NONE, 0.0f, 0.0f, generatePath);
}
else
{
@@ -245,7 +245,7 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
mm.Clear();
if (!backwards)
{
mm.MovePoint(0, x, y, z, generatePath);
mm.MovePoint(0, x, y, z, FORCED_MOVEMENT_NONE, 0.0f, 0.0f, generatePath);
}
else
{
@@ -287,7 +287,7 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
mm.Clear();
if (!backwards)
{
mm.MovePoint(0, x, y, z, generatePath);
mm.MovePoint(0, x, y, z, FORCED_MOVEMENT_NONE, 0.0f, 0.0f, generatePath);
}
else
{

View File

@@ -41,11 +41,6 @@ class ShamanCombatStrategyFactoryInternal : public NamedObjectContext<Strategy>
public:
ShamanCombatStrategyFactoryInternal() : NamedObjectContext<Strategy>(false, true)
{
creators["heal"] = &ShamanCombatStrategyFactoryInternal::resto;
creators["melee"] = &ShamanCombatStrategyFactoryInternal::enh;
creators["dps"] = &ShamanCombatStrategyFactoryInternal::enh;
creators["caster"] = &ShamanCombatStrategyFactoryInternal::ele;
//creators["offheal"] = &ShamanCombatStrategyFactoryInternal::offheal;
creators["resto"] = &ShamanCombatStrategyFactoryInternal::resto;
creators["enh"] = &ShamanCombatStrategyFactoryInternal::enh;
creators["ele"] = &ShamanCombatStrategyFactoryInternal::ele;