本文整理汇总了C#中Obj_AI_Hero.burrowed方法的典型用法代码示例。如果您正苦于以下问题:C# Obj_AI_Hero.burrowed方法的具体用法?C# Obj_AI_Hero.burrowed怎么用?C# Obj_AI_Hero.burrowed使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Obj_AI_Hero
的用法示例。
在下文中一共展示了Obj_AI_Hero.burrowed方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Game_OnGameUpdate
private static void Game_OnGameUpdate(EventArgs args)
{
/*if (_w.Instance.Name.ToLower().Contains("burrowed"))
burrowed = true;
else burrowed = false;*/
_player = ObjectManager.Player;
_orbwalker.SetAttack(true);
if (_config.Item("Usesmite").GetValue<KeyBind>().Active)
{
Smiteuse();
}
if (_config.Item("ActiveCombo").GetValue<KeyBind>().Active)
{
Combo();
}
if ((_config.Item("ActiveHarass").GetValue<KeyBind>().Active ||
_config.Item("harasstoggle").GetValue<KeyBind>().Active) &&
!_config.Item("ActiveCombo").GetValue<KeyBind>().Active)
{
Harass();
}
if (_config.Item("ActiveLane").GetValue<KeyBind>().Active)
{
Farm();
}
if (_config.Item("ActiveJungle").GetValue<KeyBind>().Active)
{
JungleClear();
}
Usepotion();
if (_config.Item("ActiveKs").GetValue<bool>())
{
KillSteal();
}
Usecleanse();
if (_config.Item("AutoW").GetValue<bool>() &&
(_config.Item("turnburrowed").GetValue<bool>() &&
!_config.Item("ActiveCombo").GetValue<KeyBind>().Active ||
!_config.Item("ActiveHarass").GetValue<KeyBind>().Active ||
!_config.Item("harasstoggle").GetValue<KeyBind>().Active ||
!_config.Item("ActiveLane").GetValue<KeyBind>().Active ||
!_config.Item("ActiveJungle").GetValue<KeyBind>().Active ||
!_config.Item("escapeterino").GetValue<KeyBind>().Active))
{
AutoW();
}
if (_config.Item("escapeterino").GetValue<KeyBind>().Active)
{
Escapeterino();
}
if ((!_config.Item("ActiveCombo").GetValue<KeyBind>().Active ||
!_config.Item("ActiveHarass").GetValue<KeyBind>().Active ||
!_config.Item("harasstoggle").GetValue<KeyBind>().Active ||
!_config.Item("ActiveLane").GetValue<KeyBind>().Active ||
!_config.Item("ActiveJungle").GetValue<KeyBind>().Active ||
!_config.Item("escapeterino").GetValue<KeyBind>().Active) &&
_config.Item("turnburrowed").GetValue<bool>() && !_player.burrowed())
{
autoburrowed();
}
}