public Assassin() { SkillBook.Add(new Skill("Coin Flip", $"Flip a coin and decide if you want to actually attack. +{10 + Stats.Damage} damage, or -{10 + Stats.Damage} damage.", 15f, 0f, true, DateTime.Now)); SkillBook.Add(new Skill("Cut Throat", "Slice someones ankles, cause why would you name the body part your about to attack?", 5f, 3f, true, DateTime.Now)); SkillBook.Add(new Skill("Kyūketsuki", $"Take on your shadow form and steal +{3 + Stats.Damage} health from the enemy, healing yourself", 10f, 3f, true, DateTime.Now)); SpellBook.Add(new Spell("Limit Break", $"Remove your earthly form and increase your speed by {2 + Stats.Damage}, can only be used once, and at great cost", "buff", 50f, 0f, false, DateTime.Now)); }
public override void Init() { character = characterCreator.Create(); var equipTable = new InventoryItemCreator[] { character.equipment.head, character.equipment.shoulder, character.equipment.feet, character.equipment.body, character.equipment.legs, character.equipment.neck, character.equipment.gloves, character.equipment.waist, character.equipment.ring1, character.equipment.ring2, character.equipment.weapon, }; for (int i = 0; i < character.abilities.Count; i++) { SkillBook.Add(character.abilities[i].Create()); SkillBook[i].Caster = this; } for (int i = 0; i < equipTable.Length; i++) { if (equipTable[i] != null) { var item = equipTable[i].Create(); item.isEquipable = true; itemManager.EquipItem(item, (EquipmentSlot)i); } } ActiveEquipment[(int)EquipmentSlot.Weapon].Use(); }