Class CmdMobCast

java.lang.Object
com.sucy.skill.cmd.CmdMobCast
All Implemented Interfaces:
mc.promcteam.engine.mccore.commands.IFunction, org.bukkit.event.Listener

public class CmdMobCast extends Object implements mc.promcteam.engine.mccore.commands.IFunction, org.bukkit.event.Listener
A command that makes a player cast a skill regardless of them owning it or not and also ignores cooldown/mana costs.
  • Constructor Details

    • CmdMobCast

      public CmdMobCast()
  • Method Details

    • execute

      public void execute(mc.promcteam.engine.mccore.commands.ConfigurableCommand cmd, org.bukkit.plugin.Plugin plugin, org.bukkit.command.CommandSender sender, String[] args)
      Runs the command
      Specified by:
      execute in interface mc.promcteam.engine.mccore.commands.IFunction
      Parameters:
      cmd - command that was executed
      plugin - plugin reference
      sender - sender of the command
      args - argument list