Skyhawk Heal
Datum: 22/11/2014 23:33:02
Staženo: 242x
Popis:
Příkazy:
- ,skyhawkhl
Kód:
using System; using System.Collections.Generic; using System.Text; using Phoenix; using Phoenix.WorldData; using System.Linq; using Phoenix.Communication; using Phoenix.Runtime; using Phoenix.Runtime.Reflection; namespace Phoenix.Scripts { public class SkyhawkHeal { [Command] public static void SkyhawkHl() { bool nearby = true; UOItem bandage = World.Player.Backpack.AllItems.FindType(0x0E21); UOCharacter ch = nearby ? find_skyhawk(0x0005, 0x0847) : new UOCharacter(UIManager.TargetObject()); if(!ch.Exist) ScriptErrorException.Throw("Skyhawk nie je v dosahu!"); else if (bandage.Serial != Serial.Invalid) { UO.DeleteJournal(); UO.WaitTargetObject(ch.Serial); bandage.Use(); UO.Wait(100); } else if (bandage.Serial == Serial.Invalid) { UO.Print("Nemas bandy!!"); } } private static UOCharacter find_skyhawk(ushort graphic, ushort color) { UOCharacter output = new UOCharacter(Serial.Invalid); foreach (UOCharacter ch in World.Characters) if (ch.Model == graphic & ch.Color == color) if (ch.Distance < 3 && ch.Distance < output.Distance) output = ch; return output; } } }
شركة مكافحة الرمة دبي شركة مكافحة حشرات دبي شركة مكافحة صراصير دبي شركة مكافحة فئران دبي شركة مكافحة أفاعي في دبي شركة مكافحة افات دبي شركة مكافحة ثعابين دبي شركة مكافحة قوارض في دبي شركة مكافحة نمل أبيض في دبي شركة مكافحة نمل في دبي شركة مكافحة وزغ دبي