mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[7214] Phase system continue development - Commands and fixes.
* Fixed creature/gameobject save from game (used in commands code only) * Implement .modify phase (for player), .npc setphase (for creature/pet), .gobject phase (for gameobjects) commands for set phasemask of selected object. In player/pet case temporary until in game phase switch/re-login/GM-mode change. In creature/gameobject case change saved in DB. * Add to .gps output phasemask value print. Allow use .gps command with creature/gameobject shift-link (work for objects loaded in game in command time).
This commit is contained in:
parent
ed52e3f8f0
commit
4602ff9c21
11 changed files with 183 additions and 5 deletions
|
|
@ -1129,6 +1129,7 @@ void Creature::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
|
|||
<< GetEntry() << ","
|
||||
<< mapid <<","
|
||||
<< (uint32)spawnMask << ","
|
||||
<< (uint32)GetPhaseMask() << ","
|
||||
<< displayId <<","
|
||||
<< GetEquipmentId() <<","
|
||||
<< GetPositionX() << ","
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue