Exemplo n.º 1
0
        /// <summary>
        /// Makes the caster invisible to multiply physical attack damage.
        /// </summary>
        /// <returns>True if the spell was cast; false otherwise.</returns>
        public async Task <bool> Invisible(bool ambush)
        {
            _invisibleStatus.Cooldown = ambush && _self.Spells.KeySpells.Ambush != null
                ? AmbushCooldown
                : MeleeCooldown;

            return(await SpellCommands.CastInvisibleSpell(Self, _invisibleSpell, _invisibleStatus));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Makes the caster invisible to multiply physical attack damage.
 /// </summary>
 /// <returns>True if the spell was cast; false otherwise.</returns>
 public async Task <bool> Invisible()
 {
     return(await SpellCommands.CastInvisibleSpell(Self, _invisibleSpell, _invisibleStatus));
 }