public Weakling(string name) : base(name) { ActionList.Add("null1", NullAction.GetActionBuilder()); ActionList.Add("null2", NullAction.GetActionBuilder()); ActionList.Add("attack", AttackAction.GetActionBuilder()); ItemBuilderFactory factory = ItemBuilderFactory.GetInstance(); LootTable.Add(new LootTableElement(999, factory.GetBuilder("rusty-spoon"))); LootTable.Add(new LootTableElement(999, factory.GetBuilder("loincloth"))); LootTable.Add(new LootTableElement(100, factory.GetBuilder("healing-potion"))); }
public BasicMob(string name, int level) : base(name) { MaxHitPoints = (int)(level * 1.8); Level = level; Damage = level; Armor = level; Power = level; HitPoints = MaxHitPoints; ItemBuilderFactory factory = ItemBuilderFactory.GetInstance(); ActionList.Add("attack", AttackAction.GetActionBuilder()); LootTable.Add(new LootTableElement(100, factory.GetBuilder("healing-potion"))); if (level == 2) { LootTable.Add(new Mud.Items.LootTableElement(500, factory.GetBuilder("rusty-dagger"))); } if (level == 3) { LootTable.Add(new LootTableElement(500, factory.GetBuilder("quilted-armor"))); } }
public WarriorCharacter(string name, int level, int experience) : base(name, level, experience) { AddActionToList(AttackAction.GetActionBuilder()); AddActionToList(BonkAction.GetActionBuilder()); }
public WarriorCharacter(string name) : base(name) { AddActionToList(BonkAction.GetActionBuilder()); AddActionToList(AttackAction.GetActionBuilder()); }