mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-03-02 22:30:04 +00:00
[WIP] Replace appearance data with individual fields
Storing certain things in appearance data and others in their own fields was gross. Now everything is stored on the same level and functions have been added to generate appearance data when it's needed by the client.
This commit is contained in:
@@ -72,10 +72,10 @@ struct Mob : public CombatNPC {
|
||||
offsetX = 0;
|
||||
offsetY = 0;
|
||||
|
||||
appearanceData.iConditionBitFlag = 0;
|
||||
cbf = 0;
|
||||
|
||||
// NOTE: there appear to be discrepancies in the dump
|
||||
appearanceData.iHP = maxHealth;
|
||||
hp = maxHealth;
|
||||
|
||||
kind = EntityType::MOB;
|
||||
_stepAI = MobAI::step;
|
||||
|
||||
Reference in New Issue
Block a user