Ejemplo n.º 1
0
        public override bool CastAbility(DoTariaPlayer dotariaPlayer, PlayerAbility playerAbility, bool casterIsLocalPlayer)
        {
            CombatText.NewText(new Rectangle((int)dotariaPlayer.player.position.X, (int)dotariaPlayer.player.position.Y,
                                             (int)(dotariaPlayer.player.width), (int)(dotariaPlayer.player.height)), AbilityColor, DisplayName);

            dotariaPlayer.CastInvokerElement(this);
            return(true);
        }