aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2010-04-01 12:56:26 -0600
committerBrian <runningnak3d@gmail.com>2010-04-01 12:56:26 -0600
commit0b38c48ec9cbed0702d9fa3c3708b6b85db36382 (patch)
tree2e1a7f7118576bee962811f4d22c34d08b9734ef /src
parented40fed97133ac9aeaf6e8188a3b7f9be18a521b (diff)
* To make the game easier, we have decided to remove all movement from NPCs
* If we get the positive response we are expecting, we will remove spells * next. * Just imagine, finally being able to get that T10 gear you wanted! * Thanks to Nayre for the idea * Thanks to Machiavelli and Trazom for help implementing --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/ConfusedMovementGenerator.cpp1
-rw-r--r--src/game/ConfusedMovementGenerator.h1
-rw-r--r--src/game/FleeingMovementGenerator.cpp1
-rw-r--r--src/game/FleeingMovementGenerator.h1
-rw-r--r--src/game/HomeMovementGenerator.cpp1
-rw-r--r--src/game/HomeMovementGenerator.h1
-rw-r--r--src/game/IdleMovementGenerator.cpp1
-rw-r--r--src/game/IdleMovementGenerator.h1
-rw-r--r--src/game/MovementGenerator.cpp1
-rw-r--r--src/game/MovementGenerator.h1
-rw-r--r--src/game/MovementGeneratorImpl.h1
-rw-r--r--src/game/MovementHandler.cpp1
-rw-r--r--src/game/PointMovementGenerator.cpp1
-rw-r--r--src/game/PointMovementGenerator.h1
-rw-r--r--src/game/RandomMovementGenerator.cpp1
-rw-r--r--src/game/RandomMovementGenerator.h1
-rw-r--r--src/game/TargetedMovementGenerator.cpp1
-rw-r--r--src/game/TargetedMovementGenerator.h1
-rw-r--r--src/game/WaypointMovementGenerator.cpp1
-rw-r--r--src/game/WaypointMovementGenerator.h1
20 files changed, 20 insertions, 0 deletions
diff --git a/src/game/ConfusedMovementGenerator.cpp b/src/game/ConfusedMovementGenerator.cpp
index 6a3d754219d..51d0899e4d6 100644
--- a/src/game/ConfusedMovementGenerator.cpp
+++ b/src/game/ConfusedMovementGenerator.cpp
@@ -178,3 +178,4 @@ template void ConfusedMovementGenerator<Creature>::Reset(Creature &creature);
template bool ConfusedMovementGenerator<Player>::Update(Player &player, const uint32 &diff);
template bool ConfusedMovementGenerator<Creature>::Update(Creature &creature, const uint32 &diff);
+
diff --git a/src/game/ConfusedMovementGenerator.h b/src/game/ConfusedMovementGenerator.h
index e25bb003f88..4aa54776b45 100644
--- a/src/game/ConfusedMovementGenerator.h
+++ b/src/game/ConfusedMovementGenerator.h
@@ -56,3 +56,4 @@ class ConfusedMovementGenerator
};
#endif
+
diff --git a/src/game/FleeingMovementGenerator.cpp b/src/game/FleeingMovementGenerator.cpp
index 12231b6dc79..bb18fdb60aa 100644
--- a/src/game/FleeingMovementGenerator.cpp
+++ b/src/game/FleeingMovementGenerator.cpp
@@ -441,3 +441,4 @@ bool TimedFleeingMovementGenerator::Update(Unit & owner, const uint32 & time_dif
// This is done instead of casting Unit& to Creature& and call parent method, then we can use Unit directly
return MovementGeneratorMedium< Creature, FleeingMovementGenerator<Creature> >::Update(owner, time_diff);
}
+
diff --git a/src/game/FleeingMovementGenerator.h b/src/game/FleeingMovementGenerator.h
index 0e941160acd..5dee973efa6 100644
--- a/src/game/FleeingMovementGenerator.h
+++ b/src/game/FleeingMovementGenerator.h
@@ -80,3 +80,4 @@ class TimedFleeingMovementGenerator
#endif
+
diff --git a/src/game/HomeMovementGenerator.cpp b/src/game/HomeMovementGenerator.cpp
index 5a8dc455948..964d986152b 100644
--- a/src/game/HomeMovementGenerator.cpp
+++ b/src/game/HomeMovementGenerator.cpp
@@ -89,3 +89,4 @@ HomeMovementGenerator<Creature>::Update(Creature &owner, const uint32& time_diff
return true;
}
+
diff --git a/src/game/HomeMovementGenerator.h b/src/game/HomeMovementGenerator.h
index a70a404cbf8..1b01f5357e7 100644
--- a/src/game/HomeMovementGenerator.h
+++ b/src/game/HomeMovementGenerator.h
@@ -57,3 +57,4 @@ class HomeMovementGenerator<Creature>
};
#endif
+
diff --git a/src/game/IdleMovementGenerator.cpp b/src/game/IdleMovementGenerator.cpp
index 8ee7482ec44..4915a557a27 100644
--- a/src/game/IdleMovementGenerator.cpp
+++ b/src/game/IdleMovementGenerator.cpp
@@ -111,3 +111,4 @@ AssistanceDistractMovementGenerator::Finalize(Unit &unit)
unit.clearUnitState(UNIT_STAT_DISTRACTED);
unit.ToCreature()->SetReactState(REACT_AGGRESSIVE);
}
+
diff --git a/src/game/IdleMovementGenerator.h b/src/game/IdleMovementGenerator.h
index 62f98635fc9..57572220c2b 100644
--- a/src/game/IdleMovementGenerator.h
+++ b/src/game/IdleMovementGenerator.h
@@ -79,3 +79,4 @@ class AssistanceDistractMovementGenerator : public DistractMovementGenerator
#endif
+
diff --git a/src/game/MovementGenerator.cpp b/src/game/MovementGenerator.cpp
index 5e9389d01d8..2cccf8a76dc 100644
--- a/src/game/MovementGenerator.cpp
+++ b/src/game/MovementGenerator.cpp
@@ -24,3 +24,4 @@ MovementGenerator::~MovementGenerator()
{
}
+
diff --git a/src/game/MovementGenerator.h b/src/game/MovementGenerator.h
index 679c08626e1..ab7a52c483e 100644
--- a/src/game/MovementGenerator.h
+++ b/src/game/MovementGenerator.h
@@ -99,3 +99,4 @@ typedef FactoryHolder<MovementGenerator,MovementGeneratorType>::FactoryHolderReg
typedef FactoryHolder<MovementGenerator,MovementGeneratorType>::FactoryHolderRepository MovementGeneratorRepository;
#endif
+
diff --git a/src/game/MovementGeneratorImpl.h b/src/game/MovementGeneratorImpl.h
index 4565995eecc..d52fb154ad4 100644
--- a/src/game/MovementGeneratorImpl.h
+++ b/src/game/MovementGeneratorImpl.h
@@ -31,3 +31,4 @@ MovementGeneratorFactory<MOVEMENT_GEN>::Create(void *data) const
}
#endif
+
diff --git a/src/game/MovementHandler.cpp b/src/game/MovementHandler.cpp
index f71817bdf30..fd3c89ed721 100644
--- a/src/game/MovementHandler.cpp
+++ b/src/game/MovementHandler.cpp
@@ -719,3 +719,4 @@ void WorldSession::HandleSummonResponseOpcode(WorldPacket& recv_data)
_player->SummonIfPossible(agree);
}
+
diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp
index 1cb058240f3..94125fbbffa 100644
--- a/src/game/PointMovementGenerator.cpp
+++ b/src/game/PointMovementGenerator.cpp
@@ -103,3 +103,4 @@ void AssistanceMovementGenerator::Finalize(Unit &unit)
if (unit.isAlive())
unit.GetMotionMaster()->MoveSeekAssistanceDistract(sWorld.getConfig(CONFIG_CREATURE_FAMILY_ASSISTANCE_DELAY));
}
+
diff --git a/src/game/PointMovementGenerator.h b/src/game/PointMovementGenerator.h
index 474ce8cc9ce..239cc73352a 100644
--- a/src/game/PointMovementGenerator.h
+++ b/src/game/PointMovementGenerator.h
@@ -65,3 +65,4 @@ class AssistanceMovementGenerator
#endif
+
diff --git a/src/game/RandomMovementGenerator.cpp b/src/game/RandomMovementGenerator.cpp
index 01ff1fcf15d..dabb030878f 100644
--- a/src/game/RandomMovementGenerator.cpp
+++ b/src/game/RandomMovementGenerator.cpp
@@ -202,3 +202,4 @@ RandomMovementGenerator<Creature>::Update(Creature &creature, const uint32 &diff
return true;
}
+
diff --git a/src/game/RandomMovementGenerator.h b/src/game/RandomMovementGenerator.h
index 8fa738d1928..0e5eed60bad 100644
--- a/src/game/RandomMovementGenerator.h
+++ b/src/game/RandomMovementGenerator.h
@@ -53,3 +53,4 @@ class RandomMovementGenerator
};
#endif
+
diff --git a/src/game/TargetedMovementGenerator.cpp b/src/game/TargetedMovementGenerator.cpp
index fa3484db20c..d5c4ed8b6b9 100644
--- a/src/game/TargetedMovementGenerator.cpp
+++ b/src/game/TargetedMovementGenerator.cpp
@@ -277,3 +277,4 @@ template bool TargetedMovementGenerator<Creature>::Update(Creature &, const uint
template Unit* TargetedMovementGenerator<Player>::GetTarget() const;
template Unit* TargetedMovementGenerator<Creature>::GetTarget() const;
+
diff --git a/src/game/TargetedMovementGenerator.h b/src/game/TargetedMovementGenerator.h
index a4f45d1ef8a..c3992697ce4 100644
--- a/src/game/TargetedMovementGenerator.h
+++ b/src/game/TargetedMovementGenerator.h
@@ -73,3 +73,4 @@ class TargetedMovementGenerator
};
#endif
+
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp
index 06b821178a0..2437f5d48ed 100644
--- a/src/game/WaypointMovementGenerator.cpp
+++ b/src/game/WaypointMovementGenerator.cpp
@@ -674,3 +674,4 @@ int GetFCost(int to, int num, int parentNum, float *gcost)
}
#endif //__PATHFINDING__
+
diff --git a/src/game/WaypointMovementGenerator.h b/src/game/WaypointMovementGenerator.h
index f9a47a681e6..879fac48ff1 100644
--- a/src/game/WaypointMovementGenerator.h
+++ b/src/game/WaypointMovementGenerator.h
@@ -125,3 +125,4 @@ public PathMovementBase<Player>
};
#endif
+