LiamKarlMitchell / InfiniteSky

InfiniteSky is an open-source mmorpg project, It is written in Node.JS
GNU General Public License v3.0
33 stars 42 forks source link

HP not calculated correctly #78

Closed LiamKarlMitchell closed 9 years ago

LiamKarlMitchell commented 10 years ago

See the attached image. image

HP is 5146 for the max value serverside when client side it says 5391.

Calculated Stat Info is as follows

{ HP: 5146,
  Chi: 2395,
  BaseStatStrength: 1,
  BaseStatDexterity: 1,
  BaseStatVitality: 1,
  BaseStatChi: 1,
  StatStrength: 1,
  StatDexterity: 1,
  StatVitality: 17,
  StatChi: 1,
  Luck: 0,
  Damage: 40.8599999,
  DamageBonus: 4,
  Defense: 648,
  LightDamage: 294,
  ShadowDamage: 0,
  DarkDamage: 0,
  LightResistance: 43,
  ShawdowResistance: 42,
  DarkResistance: 46,
  ChancetoHit: 177,
  ChancetoDodge: 126,
  PercentToDeadlyBlow: 0,
  HitRate: 182.1399999,
  DodgeDeadlyBlow: 10,
  DecreaseChiConsumption: 20,
  Dodge: 128.5699999,
  WeaponType: 1 }