Kouzlení

Datum: 27/07/2011 14:14:39

Staženo: 366x

Popis:

Kouzlení dokola na jeden cíl,

Kouzlení třeba šipky na cíl + nad sebou šipka kill atd..


Hodnocení: 4.3/10 (54 hlasy)

Download file:cs

Příkazy:

  • ,caste "string name" " string names" " uocolor color"
  • ,caste "string name" " string names" " uocolor color " " serial target"
  • ,casta "string name" " string names" " uocolor color "
  • ,casta "string name" " string names" " uocolor color" " serial target"
  • ,castcirkle "string name" "int timer"

Kód:

using Phoenix.WorldData;

namespace Phoenix.Plugins
{
    public static partial class Commands
    { 
        [Command("Caste")]
        public static void Caste(string name, string names, UOColor color) { Caste(name,names, color ,UIManager.TargetObject()); }
        [Command("Caste")]
        public static void Caste(string name, string names, UOColor color , Serial target)
        {
            UO.Say(color,"" + names + "");
            
            UO.Cast(name,target);

        } 

        [Command("Casta")]
        public static void Casta(string name, string names, UOColor color ) { Casta(name,names, color ,UIManager.TargetObject()); }
        [Command("Casta")]
        public static void Casta(string name, string names, UOColor color,  Serial target)
        {
            UOCharacter aw = new UOCharacter(target);
            UO.Say(color,"" + names + " "+ aw.Name );
            UO.Cast(name,target);

        } 



        [Command("CastCirkle")]
      public static void CastCirk(string name,int timer)
      {
          int blesk = 0;
          UO.PrintInformation("Targetni koho mam castit dokola nez zemre.");
          UOCharacter cirkl = new UOCharacter(UIManager.TargetObject());
          UO.Wait(300);

          while (!cirkl.Dead)
          {
              UO.Cast(name, cirkl.Serial);
              blesk++; 
 UO.Print("Info: " + blesk);
 UO.Wait(timer);
             
          }
      }


    }
}

Zde ještě není žádný komentář.

Nový komentář