PDA

Просмотр полной версии : [10362] Implement creature_movement_template


newsbot
16.08.2010, 17:01
<pre>m sql/mangos.sql
+ sql/updates/10362_01_mangos_creature_movement_template.sql
m sql/updates/Makefile.am
m src/game/WaypointManager.cpp
m src/game/WaypointManager.h
m src/game/WaypointMovementGenerator.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10362] Implement creature_movement_template

Template can be used for several cases:
* Unique creature that are already spawned in database (requires creature.MovementType=2 like guid based creature_movement)
* Summoned creature that has a pre-defined path (requires creature_template.MovementType=2)

Note that creature_template.MovementType=2 should be used with care, and must not be used for creatures that may be summoned in random locations in world.

Added additional startup checks for existing creature_movement-table

Signed-off-by: NoFantasy <nofantasy@nf.no></pre>




Дальше... (http://github.com/mangos/mangos/commit/6a4ea78a56c9520de7c6d64090a6e80cce067c49)