public Wisdom(Character.CharacterStats stats) : base(0x03, 7) { writer.Write(stats.Wisdom); writer.Write(stats.CurrentMP); writer.Write(stats.MaximumMP); writer.Write(stats.CurseResistance); }
public Health(Character.CharacterStats stats) : base(0x01, 7) { writer.Write(stats.Health); writer.Write(stats.CurrentHP); writer.Write(stats.MaximumHP); writer.Write(stats.ParalysisResistance); }
public Strength(Character.CharacterStats stats) : base(0x00, 7) { writer.Write(stats.Strength); writer.Write(stats.OTP); writer.Write(stats.MinDamage); writer.Write(stats.MaxDamage); }
public Agility(Character.CharacterStats stats) : base(0x04, 9) { writer.Write(stats.Agility); writer.Write(stats.OTP); writer.Write(stats.Evasion); writer.Write(stats.MinDamage); writer.Write(stats.MaxDamage); }
public Intelligence(Character.CharacterStats stats) : base(0x02, 11) { writer.Write(stats.Intelligence); writer.Write(stats.MinMagicalDamage); writer.Write(stats.MaxMagialDamage); writer.Write(stats.FireResistance); writer.Write(stats.IceResistance); writer.Write(stats.LightningResistance); }
void Start() { characterStats = new Character.CharacterStats(); maxHealth = _baseStats.maxHealthPoints; characterStats.currentHealth = _baseStats.maxHealthPoints; characterStats.damage = _baseStats.damage; characterStats.defense = _baseStats.defense; characterStats.attackSpeed = _baseStats.attackSpeed; }