diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-09-17 00:10:50 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-09-17 00:10:50 +0000 |
commit | e454dcd9bc48c884215bb8144f43a10960b5f713 (patch) | |
tree | 95b62bff7a51d2325ce0bf9dfc93bc481a19738f /src/playerinfo.h | |
parent | 17cab02d4f5e2137ab77bac40884982c6d3651ea (diff) | |
download | mana-e454dcd9bc48c884215bb8144f43a10960b5f713.tar.gz mana-e454dcd9bc48c884215bb8144f43a10960b5f713.tar.bz2 mana-e454dcd9bc48c884215bb8144f43a10960b5f713.tar.xz mana-e454dcd9bc48c884215bb8144f43a10960b5f713.zip |
Now the values shown by derived stats in status win are got from the server. Still, when Equipping/unequipping, you have to warp to get these values updated. Does somebody has an idea how to request an update of these values when equipping/unequipping ?
Diffstat (limited to 'src/playerinfo.h')
-rw-r--r-- | src/playerinfo.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/playerinfo.h b/src/playerinfo.h index c4028131..b351b083 100644 --- a/src/playerinfo.h +++ b/src/playerinfo.h @@ -31,12 +31,15 @@ struct PLAYER_INFO int id; float lastAttackTime; /**< Used to synchronize the charge dialog */ std::string name; /**< Player name */ - short hp, max_hp, sp, max_sp, lv; + short hp, maxHp, mp, maxMp, lvl; short statsPointsToAttribute; - int xp, xpForNextLevel, gp, job_xp, jobXpForNextLevel, job_lv; - short statp, skill_point, hair_color, hair_style; + int xp, xpForNextLevel, gp, jobXp, jobXpForNextLevel, jobLvl; + short statPoint, skillPoint, hairColor, hairStyle; char STR, AGI, VIT, INT, DEX, LUK; char STRUp, AGIUp, VITUp, INTUp, DEXUp, LUKUp; + char ATK, ATKBonus, MATK, MATKBonus, DEF, DEFBonus, MDEF; + char MDEFBonus, HIT, FLEE, FLEEBonus; + char characterNumber; int totalWeight, maxWeight; short weapon; }; |