本文整理汇总了C#中Spell.Targeted类的典型用法代码示例。如果您正苦于以下问题:C# Spell.Targeted类的具体用法?C# Spell.Targeted怎么用?C# Spell.Targeted使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Spell.Targeted类属于命名空间,在下文中一共展示了Spell.Targeted类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Loading_OnLoadingComplete
private static void Loading_OnLoadingComplete(EventArgs args)
{
Hacks.AntiAFK = true;
Bootstrap.Init(null);
myMana = ObjectManager.Player.Mana;
_Flash = new Spell.Active(SpellSlot.Summoner1, 425);
_Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear);
_W = new Spell.Skillshot(SpellSlot.W, 550, SkillShotType.Linear);
_E = new Spell.Skillshot(SpellSlot.E, 290, SkillShotType.Circular);
_R = new Spell.Targeted(SpellSlot.R, 675);
Menu = MainMenu.AddMenu("The Shadow", "theshadow");
Menu.AddGroupLabel("The Shadow");
Menu.AddLabel("By Buddy");
Menu.AddSeparator();
Menu.AddLabel("VERS=0.2BETA RELEASE 1");
ComboMenu = Menu.AddSubMenu("Combo Menu", "combomenu");
ComboMenu.AddGroupLabel("Combo Settings");
ComboMenu.Add("useQ", new CheckBox("Use Q"));
ComboMenu.Add("useW", new CheckBox("Use W"));
ComboMenu.Add("useE", new CheckBox("Use E"));
ComboMenu.Add("useR", new CheckBox("Use R"));
DrawMenu = Menu.AddSubMenu("Drawings Menu", "drawingsmenu");
DrawMenu.AddGroupLabel("Drawings Menu");
DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
DrawMenu.Add("drawW", new CheckBox("Draw W"));
DrawMenu.Add("drawE", new CheckBox("Draw E"));
DrawMenu.Add("drawR", new CheckBox("Draw R"));
DrawMenu.Add("drawText", new CheckBox("Draw Text"));
DrawMenu.Add("drawFlash", new CheckBox("Draw Flash"));
HarassMenu = Menu.AddSubMenu("Harass Menu", "harassmenu");
HarassMenu.AddGroupLabel("Harass Menu");
HarassMenu.Add("hUseQ", new CheckBox("Use Q"));
HarassMenu.Add("hUseW", new CheckBox("Use W"));
HarassMenu.Add("hUseE", new CheckBox("Use E"));
FarmMenu = Menu.AddSubMenu("Farm Menu", "farmmenu");
FarmMenu.AddLabel("Wave Clear");
FarmMenu.Add("fwUseQ", new CheckBox("Use Q"));
FarmMenu.Add("fwUseE", new CheckBox("Use E"));
FarmMenu.AddSeparator();
FarmMenu.AddLabel("Last Hit");
FarmMenu.Add("flUseQ", new CheckBox("Use Q"));
FarmMenu.Add("flUseE", new CheckBox("Use E"));
Game.OnTick += Game_OnTick;
Drawing.OnDraw += Draw.OnDraw;
Chat.Print("<font color='#00FF00'>The Shadow by Buddy Loaded</font>");
Chat.Print("<font color='#00FF00'>VERS=</font><font color='#ffffff'>0.2BETA RELEASE 1</font>");
}
示例2: Loading_OnLoadingComplete
public static void Loading_OnLoadingComplete(EventArgs args)
{
if (Variables._Player.Hero != Champion.Draven)
{
return;
}
Q = new Spell.Active(SpellSlot.Q, (uint) Variables._Player.GetAutoAttackRange());
W = new Spell.Active(SpellSlot.W);
E = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear);
R = new Spell.Skillshot(SpellSlot.R, 2000, SkillShotType.Linear);
var slot = Variables._Player.GetSpellSlotFromName("summonerdot");
if (slot != SpellSlot.Unknown)
{
Ignite = new Spell.Targeted(slot, 600);
}
Variables.QReticles = new List<Variables.QRecticle>();
Qss = new Item((int) ItemId.Quicksilver_Sash);
Mercurial = new Item((int) ItemId.Mercurial_Scimitar);
Variables.abilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
EventManager.load();
MenuManager.Load();
}
示例3: Init
public static void Init()
{
slot1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
slot2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);
var smiteNames = new[]
{
"s5_summonersmiteplayerganker", "itemsmiteaoe", "s5_summonersmitequick",
"s5_summonersmiteduel", "summonersmite"
};
if (smiteNames.Contains("smite"))
{
smite = new Spell.Targeted(SpellSlot.Summoner1, (uint) 560f);
smiteSlot = SpellSlot.Summoner1;
}
if (smiteNames.Contains("smite"))
{
smite = new Spell.Targeted(SpellSlot.Summoner2, (uint) 560f);
smiteSlot = SpellSlot.Summoner2;
}
Smiterino = Program.Menu.AddSubMenu("Auto Smite", "Smite");
Smiterino.AddGroupLabel("Auto Smite Settings");
Smiterino.AddSeparator();
Smiterino.Add("smiteActive", new CheckBox("Smite Active"));
Smiterino.Add("drawHp", new CheckBox("Draw HP Bar on Minions"));
Smiterino.Add("autoSmite", new KeyBind("AutoSmite Active HotKey", true, KeyBind.BindTypes.PressToggle, 'N'));
Game.OnUpdate += OnUpdate;
Drawing.OnDraw += OnDraw;
}
示例4: Cassiopeia
public Cassiopeia()
{
if (BrutalExtensions.GetGameType().Equals("bot_intermediate"))
{
log = true;
AutoWalker.EndGame += end;
file500 =
new StreamWriter(Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), "AutoBuddy\\qPred500"), true);
file600 =
new StreamWriter(Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), "AutoBuddy\\qPred600"), true);
file700 =
new StreamWriter(Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), "AutoBuddy\\qPred700"), true);
Core.DelayAction(fl, 10000);
}
ShopSequence =
"3340:Buy,2003:StartHpPot,1056:Buy,1027:Buy,3070:Buy,1001:Buy,1058:Buy,3003:Buy,3020:Buy,1028:Buy,1011:Buy,1058:Buy,2003:StopHpPot,3116:Buy,1004:Buy,1004:Buy,3114:Buy,1052:Buy,3108:Buy,3165:Buy,1056:Sell,1058:Buy,3089:Buy,1028:Buy,3136:Buy,3151:Buy";
Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Circular, 600, int.MaxValue, 35);
W = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 500, 2500, 90);
R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Cone, 650, int.MaxValue, 75);
E = new Spell.Targeted(SpellSlot.E, 700);
updateTearStatus();
Game.OnTick += Game_OnTick;
if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue)
Drawing.OnDraw += Drawing_OnDraw;
}
示例5: DemSpells
static DemSpells()
{
Q = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 70);
W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 1350, 0, 225);
E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Circular, 500, 0, 425);
R = new Spell.Targeted(SpellSlot.R, 650);
}
示例6: SpellManager
static SpellManager()
{
Q = new Spell.Targeted(SpellSlot.Q, 750);
W = new Spell.Active(SpellSlot.W, 375);
E = new Spell.Targeted(SpellSlot.E, 625);
R = new Spell.Active(SpellSlot.R, 375);
}
示例7: SpellManager
static SpellManager()
{
Q = new Spell.Chargeable(SpellSlot.Q, 250, 875, 1250, 0, 1400, 55);
W = new Spell.Active(SpellSlot.W);
E = new Spell.Active(SpellSlot.E, 600);
E2 = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Cone);
R = new Spell.Targeted(SpellSlot.R, 800);
var FlashSlot = ObjectManager.Player.GetSpellSlotFromName("summonerflash");
Flash = new Spell.Skillshot(FlashSlot, 450, SkillShotType.Linear, 0, int.MaxValue, 55);
Q.AllowedCollisionCount = int.MaxValue;
Flash.AllowedCollisionCount = int.MaxValue;
//VodkaSmite
if (SmiteDamage.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name))
{
Smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
return;
}
if (SmiteDamage.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name))
{
Smite = new Spell.Targeted(SpellSlot.Summoner2, 570);
}
}
示例8: SpellManager
static SpellManager()
{
Q = new Spell.Active(SpellSlot.Q, 550);
W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180);
E = new Spell.Targeted(SpellSlot.E, 550);
R = new Spell.Targeted(SpellSlot.R, 550);
}
示例9: DemSpells
static DemSpells()
{
Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, 100, 2000, 70);
WGRAB = new Spell.Active(SpellSlot.W);
W1 = new Spell.Targeted(SpellSlot.W, 330);
W2 = new Spell.Skillshot(SpellSlot.W, 650, SkillShotType.Linear, 100, 900, 75);
}
示例10: Game_OnGameStart
public static void Game_OnGameStart(EventArgs args)
{
Chat.Print("<font color='#1D84B4'>LTTS-Kassadin: </font> <font color ='#FFFFFF'>Loading...</font> ");
Chat.Print("<font color='#1D84B4'>LTTS-Kassadin: </font> <font color ='#FFFFFF'>Loading complete.</font> ");
if(MyPlayer.ChampionName != "Kassadin")
{
Chat.Print("<font color='#1D84B4'>LTTS-Kassadin:</font> <font color ='#FFFFFF'> This champion is not supported.</font>");
}
Q = new Spell.Targeted(SpellSlot.Q, 650);
W = new Spell.Active(SpellSlot.W, 200);
E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Cone, 250, int.MaxValue, 80);
R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Circular, 250, int.MaxValue, 150);
Menu = MainMenu.AddMenu("LTTS Kassadin", "MainMenuLTS");
Menu.AddGroupLabel("LTTS Kassadin - Version " + Version);
Menu.AddLabel("This is my first addon, any bugs please report for me. Enjoy it.");
DrawMenu = Menu.AddSubMenu("Draws Menu", "DrawMenuLTS");
DrawMenu.Add("DrawQ", new CheckBox("Draw Q Range", false));
DrawMenu.Add("DrawW", new CheckBox("Draw W Range", false));
DrawMenu.Add("DrawE", new CheckBox("Draw E Range", false));
DrawMenu.Add("DrawR", new CheckBox("Draw R Range", false));
FarmMenu = Menu.AddSubMenu("Farm Menu", "FarmMenuLTS");
FarmMenu.AddGroupLabel("LaneClear");
FarmMenu.Add("UseQLC", new CheckBox("Use Q", true));
FarmMenu.Add("UseWLC", new CheckBox("Use W", true));
FarmMenu.Add("UseELC", new CheckBox("Use E", true));
FarmMenu.AddGroupLabel("LastHit");
FarmMenu.Add("UseQLH", new CheckBox("Use Q", true));
FarmMenu.Add("UseWLH", new CheckBox("Use W", true));
FarmMenu.Add("UseELH", new CheckBox("Use E", true));
}
示例11: Init
public static void Init()
{
Q = new Spell.Active(SpellSlot.Q, 550);
W = new Spell.Skillshot(SpellSlot.W, 825, SkillShotType.Circular, 250, int.MaxValue, 80);
E = new Spell.Targeted(SpellSlot.E, 550);
R = new Spell.Targeted(SpellSlot.R, 550);
}
示例12: SpellManager
static SpellManager()
{
Q = new Spell.Skillshot(SpellSlot.Q, 1230, SkillShotType.Linear, 450, );
W = new Spell.Skillshot(SpellSlot.W, 800);
E = new Spell.Skillshot(SpellSlot.E, 950);
R = new Spell.Targeted(SpellSlot.R, 2000);
}
示例13: LoadSpells
public static void LoadSpells()
{
if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("dot"))
Ignite = new Spell.Targeted(SpellSlot.Summoner1, 580);
else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("dot"))
Ignite = new Spell.Targeted(SpellSlot.Summoner2, 580);
if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("barrier"))
Barrier = new Spell.Active(SpellSlot.Summoner1);
else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("barrier"))
Barrier = new Spell.Active(SpellSlot.Summoner2);
if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("heal"))
Heal = new Spell.Active(SpellSlot.Summoner1);
else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("heal"))
Heal = new Spell.Active(SpellSlot.Summoner2);
Youmus = new Item((int)ItemId.Youmuus_Ghostblade);
Botrk = new Item((int)ItemId.Blade_of_the_Ruined_King);
Bilgewater = new Item((int)ItemId.Bilgewater_Cutlass);
Qss = new Item((int)ItemId.Quicksilver_Sash);
Mercurial = new Item((int)ItemId.Mercurial_Scimitar);
HPPot = new Item(2003);
Biscuit = new Item(2010);
RefillPot = new Item(2031);
HuntersPot = new Item(2032);
CorruptPot = new Item(2033);
PinkVision = new Item(2043, WardRange);
GreaterStealthTotem = new Item(3361, WardRange);
GreaterVisionTotem = new Item(3362, WardRange);
FarsightAlteration = new Item(3363, WardRange);
WardingTotem = new Item(3340, WardRange);
Zhonya = new Item(3157);
}
示例14: SpellManager
static SpellManager()
{
// Initialize spells
Q = new Spell.Targeted(SpellSlot.Q, 400);
W = new Spell.Active(SpellSlot.W);
E = new Spell.Active(SpellSlot.E, 1500);
R = new Spell.Targeted(SpellSlot.R, 700);
Recall = new Spell.Active(SpellSlot.Recall);
if (Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase))
{
Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
}
else if ((Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase)))
{
Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
}
if (Util.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name))
{
Smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
}
else if (Util.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name))
{
Smite = new Spell.Targeted(SpellSlot.Summoner2, 570);
}
}
示例15: SpellManager
static SpellManager()
{
Q = new Spell.Targeted(SpellSlot.Q, 600);
W = new Spell.Skillshot(SpellSlot.W, 700, EloBuddy.SDK.Enumerations.SkillShotType.Circular);
E = new Spell.Active(SpellSlot.E, 325);
R = new Spell.Targeted(SpellSlot.R, 700);
}