PDA

Просмотр полной версии : [10932] Imporvments gameevent creature morphing.


newsbot
29.12.2010, 01:40
автор: VladimirMangos


<pre>m sql/mangos.sql
+ sql/updates/10932_01_mangos_game_event_creature_data.sql
m sql/updates/Makefile.am
m src/game/Creature.cpp
m src/game/Creature.h
m src/game/GameEventMgr.cpp
m src/game/GameEventMgr.h
m src/game/Level3.cpp
m src/game/SpellMgr.h
m src/shared/revision_nr.h
m src/shared/revision_sql.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10932] Imporvments gameevent creature morphing.

* Table `game_event_model_equip` renamed to `game_event_creature_data`
* Table allow now store same creatures for different events, BUT
expected that related events no active in same time.
* Added possibility switch entry at gameevent time.
This let have diff factions/loot and etc for creatures.
* Added possibility cast spells at gameevent start/end.
Exist some spells that expected casted to creature at gameevent start
for model replace, and for animation in other cases.

Note: `game_event_creature_data`.`modelid` field posisble will removed soon in fowor related spell use.
Ofc, when spells will implemented in core.</pre>




Дальше... (https://github.com/mangos/mangos/commit/36c0e428b4b91aea28241e64a1fe8c08d5b79f37)