That's basically the "Rarity" of the object.Quote:
So after some research, you can change the monster type which appear but you've to change your GameServer, here offset to change:
[Only registered and activated users can see links. Click Here To Register...]HTML Code:004192FD ::: MOV BYTE PTR DS:[EAX],3
Just change "3" at the end by what you want, here a list of all type:
00 General
01 Champion
02 Unknow ???
03 Unique
04 Giant
05 Titan
06 Elite Giant
07 Elite
08 Unique but without notification of spawn and kill ?
09 Unknow ???
10 General Party
Well unknow has some strange behavior, missing name + hp
[Only registered and activated users can see links. Click Here To Register...]
This modification will not impact other unique spawn, only unique spawn by /spawnunique_all command.
The function you show finally leads to something like this:
PHP Code:
static void* CGameWorldMgr::SpawnNPC(AURefObjChar* mob, unsigned int mobType, unsigned short RegionID, unsigned short WorldID, float X, float Y, float Z);