Xentales

Talk about stuff, and if you must, about Xenimus
It is currently 23 Aug 2017 06:11

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Boss health bar
PostPosted: 19 Mar 2014 13:40 
Offline

Joined: 05 Nov 2007 11:14
Posts: 108
Update packet gets a new flag and some extra data at the end for new boss health bar, see below:

struct UpdatePacketSelf
{
uint16 positionX; //0
uint16 positionY; //2
uint16 spellflags; //4
uint16 colorbits; //6
uint16 numInRangeDynamicObjects; //8
uint8 numInRangeUnits; //10
uint8 unklol; //11
uint8 flags; //12 if & 1, expect self say text at end, if & 2, spellflags contain cooldown data, expect no buffs or skills this update if & 4 you're in pvp mode, if & 8 expect boss data before self say data (f- ace lets be backwards)
/* Boss data: uint8 npcid, uint8 healthpct (0-255 range) */
uint8 rotation; //13
uint8 animation; //14
uint8 spellEffect; //15
uint8 numInRangeSpellEffects; //16
uint8 currentTime; //17
uint8 unklol3; //18
uint8 currentHPPct; //19
uint8 currentMPPct; //20 for hp mp and exp, 0 = 0%, 255 = 100%
uint8 currentExpPct; //21
};


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group