public static Character Slime() { var character = new Character(); var baseStats = new CharacterStats(); baseStats.SetStat(Const.Stats.MaxHp, 700d); baseStats.SetStat(Const.Stats.MaxMp, 150d); baseStats.SetStat(Const.Stats.Attack, 300d); baseStats.SetStat(Const.Stats.Defense, 150d); baseStats.SetStat(Const.Stats.Wisdom, 70d); baseStats.SetStat(Const.Stats.Agility, 100d); baseStats.SetStat(Const.Stats.Mind, 50d); baseStats.SetStat(Const.Stats.Critical, 0.05d); baseStats.SetStat(Const.Stats.Accuracy, 0.8d); baseStats.SetStat(Const.Stats.Evasion, 0.1d); character.Name = "Slime"; character.BaseStats = baseStats; character.PortraitPath = "Characters/Slime/portrait"; character.ModelPath = "Characters/Slime/model"; character.AttackDistance = 2.5f; character.SizeOffset = 1.5f; character.Skills.Add(Skill.MeleeAttack()); character.Movement = 2; character.PatternShape = Pattern.Single(); return character; }
private Character CreateCharacterWithAgi(double agi) { var stats = new CharacterStats(); stats.SetStat(Const.Stats.MaxHp, 100d); stats.SetStat(Const.Stats.Agility, agi); var character = new Character(); character.BaseStats = stats; return character; }
public static Character SlimeKing() { var character = new Character(); var baseStats = new CharacterStats(); baseStats.SetStat(Const.Stats.MaxHp, 6000d); baseStats.SetStat(Const.Stats.MaxMp, 1500d); baseStats.SetStat(Const.Stats.Attack, 600d); baseStats.SetStat(Const.Stats.Defense, 150d); baseStats.SetStat(Const.Stats.Wisdom, 250d); baseStats.SetStat(Const.Stats.Agility, 110d); baseStats.SetStat(Const.Stats.Mind, 50d); baseStats.SetStat(Const.Stats.Critical, 0.05d); baseStats.SetStat(Const.Stats.Accuracy, 1d); baseStats.SetStat(Const.Stats.Evasion, 0.1d); character.Name = "Slime King"; character.BaseStats = baseStats; character.PortraitPath = "Characters/SlimeKing/portrait"; character.ModelPath = "Characters/SlimeKing/model"; character.AttackDistance = 2.5f; character.SizeOffset = 1.5f; character.Skills.Add(Skill.ChainLightning()); character.Skills.Add(Skill.Squash()); character.Skills.Add(Skill.Wait()); character.Movement = 2; character.PatternShape = Pattern.Square(); return character; }