public Soin(Unite u, bool useMana = true) : base(u) { idSort = 6; Cooldown = 1; Ticks = 1; if (useMana) { CoutMana = 15; } else { CoutMana = 0; } Animation = PackAnimation.Soin(); AnimationReset = PackAnimation.Soin(); Tiles = new Vector2(180 / 5, 35); NeedUnPoint = false; SpriteBouton = PackTexture.boutons[1]; SpriteEffect = PackTexture.sorts[1]; sonSort = new EffetSonore(PackSon.Soin); description1 = new Text("DescriptionSoin1"); description2 = new Text("DescriptionSoin2"); }
public RegenMana(Unite u, bool useMana = true) : base(u) { idSort = 5; Cooldown = 2; Ticks = 1; if (useMana) { CoutMana = 500; } else { CoutMana = 0; } Animation = PackAnimation.Soin(); AnimationReset = PackAnimation.Soin(); Tiles = new Vector2(180 / 5, 35); NeedUnPoint = false; SpriteBouton = PackTexture.boutons[2]; SpriteEffect = PackTexture.sorts[2]; sonSort = new EffetSonore(PackSon.Soin); }