public Veil() { Name = "Veil"; MoveInfo = new MoveActionData(null, "Hide in the shadows with\nMario to avoid attacks.", MoveResourceTypes.FP, 1, CostDisplayTypes.Shown, MoveAffectionTypes.Ally, TargetSelectionMenu.EntitySelectionType.Single, true, null); SetMoveSequence(new VeilSequence(this)); actionCommand = new MultiButtonCommand(MoveSequence, NumCommandButtons, NumCommandButtons, ActionCommandTime, ValidCommandButtons); }
public VeilAction(BattleEntity user) : base(user) { Name = "Veil"; MoveInfo = new MoveActionData(new CroppedTexture2D(AssetManager.Instance.LoadRawTexture2D($"{ContentGlobals.BattleGFX}.png"), new Rectangle(874, 14, 22, 22)), "Hide in the shadows with\nMario to avoid attacks.", MoveResourceTypes.FP, 1, CostDisplayTypes.Shown, MoveAffectionTypes.Ally, Enumerations.EntitySelectionType.Single, true, null); SetMoveSequence(new VeilSequence(this)); actionCommand = new MultiButtonCommand(MoveSequence, NumCommandButtons, NumCommandButtons, ActionCommandTime, ValidCommandButtons); }