From b4592d7860a67dc485ed6b17413afaabc36ed6e4 Mon Sep 17 00:00:00 2001 From: AdamQQQ Date: Mon, 22 May 2023 00:03:48 +0800 Subject: [PATCH] generic: Force buyback think to take effect Signed-off-by: AdamQQQ --- ability_item_usage_abaddon.lua | 8 ++++++++ ability_item_usage_abyssal_underlord.lua | 8 ++++++++ ability_item_usage_alchemist.lua | 8 ++++++++ ability_item_usage_ancient_apparition.lua | 8 ++++++++ ability_item_usage_antimage.lua | 8 ++++++++ ability_item_usage_arc_warden.lua | 8 ++++++++ ability_item_usage_axe.lua | 8 ++++++++ ability_item_usage_bane.lua | 8 ++++++++ ability_item_usage_batrider.lua | 8 ++++++++ ability_item_usage_beastmaster.lua | 8 ++++++++ ability_item_usage_bloodseeker.lua | 8 ++++++++ ability_item_usage_bounty_hunter.lua | 8 ++++++++ ability_item_usage_brewmaster.lua | 8 ++++++++ ability_item_usage_bristleback.lua | 8 ++++++++ ability_item_usage_broodmother.lua | 8 ++++++++ ability_item_usage_centaur.lua | 8 ++++++++ ability_item_usage_chaos_knight.lua | 8 ++++++++ ability_item_usage_chen.lua | 8 ++++++++ ability_item_usage_clinkz.lua | 8 ++++++++ ability_item_usage_crystal_maiden.lua | 8 ++++++++ ability_item_usage_dark_seer.lua | 8 ++++++++ ability_item_usage_dazzle.lua | 8 ++++++++ ability_item_usage_death_prophet.lua | 8 ++++++++ ability_item_usage_disruptor.lua | 8 ++++++++ ability_item_usage_doom_bringer.lua | 8 ++++++++ ability_item_usage_dragon_knight.lua | 8 ++++++++ ability_item_usage_drow_ranger.lua | 8 ++++++++ ability_item_usage_earth_spirit.lua | 8 ++++++++ ability_item_usage_earthshaker.lua | 8 ++++++++ ability_item_usage_elder_titan.lua | 8 ++++++++ ability_item_usage_ember_spirit.lua | 8 ++++++++ ability_item_usage_enchantress.lua | 8 ++++++++ ability_item_usage_enigma.lua | 8 ++++++++ ability_item_usage_faceless_void.lua | 8 ++++++++ ability_item_usage_furion.lua | 8 ++++++++ ability_item_usage_generic.lua | 3 +-- ability_item_usage_gyrocopter.lua | 8 ++++++++ ability_item_usage_hoodwink.lua | 8 ++++++++ ability_item_usage_huskar.lua | 8 ++++++++ ability_item_usage_jakiro.lua | 8 ++++++++ ability_item_usage_juggernaut.lua | 8 ++++++++ ability_item_usage_keeper_of_the_light.lua | 8 ++++++++ ability_item_usage_kunkka.lua | 8 ++++++++ ability_item_usage_legion_commander.lua | 8 ++++++++ ability_item_usage_leshrac.lua | 8 ++++++++ ability_item_usage_lich.lua | 8 ++++++++ ability_item_usage_life_stealer.lua | 8 ++++++++ ability_item_usage_lina.lua | 8 ++++++++ ability_item_usage_lion.lua | 8 ++++++++ ability_item_usage_luna.lua | 8 ++++++++ ability_item_usage_lycan.lua | 8 ++++++++ ability_item_usage_magnataur.lua | 8 ++++++++ ability_item_usage_medusa.lua | 8 ++++++++ ability_item_usage_mirana.lua | 8 ++++++++ ability_item_usage_monkey_king.lua | 8 ++++++++ ability_item_usage_naga_siren.lua | 8 ++++++++ ability_item_usage_necrolyte.lua | 8 ++++++++ ability_item_usage_nevermore.lua | 8 ++++++++ ability_item_usage_night_stalker.lua | 8 ++++++++ ability_item_usage_nyx_assassin.lua | 8 ++++++++ ability_item_usage_obsidian_destroyer.lua | 8 ++++++++ ability_item_usage_ogre_magi.lua | 8 ++++++++ ability_item_usage_omniknight.lua | 8 ++++++++ ability_item_usage_oracle.lua | 8 ++++++++ ability_item_usage_phantom_assassin.lua | 8 ++++++++ ability_item_usage_phantom_lancer.lua | 8 ++++++++ ability_item_usage_puck.lua | 8 ++++++++ ability_item_usage_pudge.lua | 8 ++++++++ ability_item_usage_pugna.lua | 8 ++++++++ ability_item_usage_queenofpain.lua | 8 ++++++++ ability_item_usage_rattletrap.lua | 8 ++++++++ ability_item_usage_razor.lua | 8 ++++++++ ability_item_usage_riki.lua | 8 ++++++++ ability_item_usage_sand_king.lua | 8 ++++++++ ability_item_usage_shadow_demon.lua | 8 ++++++++ ability_item_usage_shadow_shaman.lua | 8 ++++++++ ability_item_usage_shredder.lua | 8 ++++++++ ability_item_usage_silencer.lua | 8 ++++++++ ability_item_usage_skeleton_king.lua | 8 ++++++++ ability_item_usage_skywrath_mage.lua | 8 ++++++++ ability_item_usage_slardar.lua | 8 ++++++++ ability_item_usage_slark.lua | 8 ++++++++ ability_item_usage_sniper.lua | 8 ++++++++ ability_item_usage_spectre.lua | 8 ++++++++ ability_item_usage_spirit_breaker.lua | 8 ++++++++ ability_item_usage_sven.lua | 8 ++++++++ ability_item_usage_templar_assassin.lua | 8 ++++++++ ability_item_usage_terrorblade.lua | 8 ++++++++ ability_item_usage_tidehunter.lua | 8 ++++++++ ability_item_usage_tinker.lua | 8 ++++++++ ability_item_usage_tiny.lua | 8 ++++++++ ability_item_usage_treant.lua | 8 ++++++++ ability_item_usage_troll_warlord.lua | 8 ++++++++ ability_item_usage_tusk.lua | 8 ++++++++ ability_item_usage_undying.lua | 8 ++++++++ ability_item_usage_ursa.lua | 8 ++++++++ ability_item_usage_vengefulspirit.lua | 8 ++++++++ ability_item_usage_venomancer.lua | 8 ++++++++ ability_item_usage_viper.lua | 8 ++++++++ ability_item_usage_warlock.lua | 8 ++++++++ ability_item_usage_weaver.lua | 8 ++++++++ ability_item_usage_windrunner.lua | 8 ++++++++ ability_item_usage_winter_wyvern.lua | 8 ++++++++ ability_item_usage_witch_doctor.lua | 8 ++++++++ ability_item_usage_zuus.lua | 8 ++++++++ dev/DEV_ability_item_usage_kunkka.lua | 8 ++++++++ dev/DEV_ability_item_usage_morphling.lua | 8 ++++++++ dev/DEV_ability_item_usage_normal.lua | 8 ++++++++ dev/DEV_ability_item_usage_normal2.lua | 8 ++++++++ dev/DEV_ability_item_usage_pudge.lua | 8 ++++++++ dev/DEV_ability_item_usage_skeleton_king.lua | 8 ++++++++ mira/ability_item_usage_abaddon.mira | 8 ++++++++ mira/ability_item_usage_arc_warden.mira | 8 ++++++++ mira/ability_item_usage_axe.mira | 8 ++++++++ mira/ability_item_usage_bane.mira | 8 ++++++++ mira/ability_item_usage_bounty_hunter.mira | 8 ++++++++ mira/ability_item_usage_bristleback.mira | 8 ++++++++ mira/ability_item_usage_chen.mira | 8 ++++++++ mira/ability_item_usage_clinkz.mira | 8 ++++++++ mira/ability_item_usage_doom_bringer.mira | 8 ++++++++ mira/ability_item_usage_ember_spirit.mira | 8 ++++++++ mira/ability_item_usage_faceless_void.mira | 8 ++++++++ mira/ability_item_usage_kunkka.mira | 8 ++++++++ mira/ability_item_usage_lycan.mira | 8 ++++++++ mira/ability_item_usage_necrolyte.mira | 8 ++++++++ mira/ability_item_usage_omniknight.mira | 8 ++++++++ mira/ability_item_usage_puck.mira | 8 ++++++++ mira/ability_item_usage_pudge.mira | 8 ++++++++ mode_secret_shop_generic.lua | 2 +- 129 files changed, 1018 insertions(+), 3 deletions(-) diff --git a/ability_item_usage_abaddon.lua b/ability_item_usage_abaddon.lua index 6866c4e..1e45638 100644 --- a/ability_item_usage_abaddon.lua +++ b/ability_item_usage_abaddon.lua @@ -60,6 +60,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_abyssal_underlord.lua b/ability_item_usage_abyssal_underlord.lua index 21fb9b9..45a3b7e 100644 --- a/ability_item_usage_abyssal_underlord.lua +++ b/ability_item_usage_abyssal_underlord.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_alchemist.lua b/ability_item_usage_alchemist.lua index 5f0fa5d..d8c0e95 100644 --- a/ability_item_usage_alchemist.lua +++ b/ability_item_usage_alchemist.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_ancient_apparition.lua b/ability_item_usage_ancient_apparition.lua index c37e4ab..b7b2727 100644 --- a/ability_item_usage_ancient_apparition.lua +++ b/ability_item_usage_ancient_apparition.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_antimage.lua b/ability_item_usage_antimage.lua index 05fba22..80ad84d 100644 --- a/ability_item_usage_antimage.lua +++ b/ability_item_usage_antimage.lua @@ -64,6 +64,14 @@ local TalentTree = { utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_arc_warden.lua b/ability_item_usage_arc_warden.lua index 1f16eff..7b0f830 100644 --- a/ability_item_usage_arc_warden.lua +++ b/ability_item_usage_arc_warden.lua @@ -63,6 +63,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_axe.lua b/ability_item_usage_axe.lua index 927e6eb..99b3915 100644 --- a/ability_item_usage_axe.lua +++ b/ability_item_usage_axe.lua @@ -59,6 +59,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_bane.lua b/ability_item_usage_bane.lua index b18aedf..913c67a 100644 --- a/ability_item_usage_bane.lua +++ b/ability_item_usage_bane.lua @@ -60,6 +60,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_batrider.lua b/ability_item_usage_batrider.lua index 3e25811..17138c9 100644 --- a/ability_item_usage_batrider.lua +++ b/ability_item_usage_batrider.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_beastmaster.lua b/ability_item_usage_beastmaster.lua index 2057a19..fd66987 100644 --- a/ability_item_usage_beastmaster.lua +++ b/ability_item_usage_beastmaster.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_bloodseeker.lua b/ability_item_usage_bloodseeker.lua index fd860b3..d20259b 100644 --- a/ability_item_usage_bloodseeker.lua +++ b/ability_item_usage_bloodseeker.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_bounty_hunter.lua b/ability_item_usage_bounty_hunter.lua index 0c216d3..b0aac5a 100644 --- a/ability_item_usage_bounty_hunter.lua +++ b/ability_item_usage_bounty_hunter.lua @@ -59,6 +59,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_brewmaster.lua b/ability_item_usage_brewmaster.lua index 70561a7..87f8805 100644 --- a/ability_item_usage_brewmaster.lua +++ b/ability_item_usage_brewmaster.lua @@ -71,6 +71,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_bristleback.lua b/ability_item_usage_bristleback.lua index 9b852ba..990c443 100644 --- a/ability_item_usage_bristleback.lua +++ b/ability_item_usage_bristleback.lua @@ -57,6 +57,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_broodmother.lua b/ability_item_usage_broodmother.lua index 3dfd558..8ebb909 100644 --- a/ability_item_usage_broodmother.lua +++ b/ability_item_usage_broodmother.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_centaur.lua b/ability_item_usage_centaur.lua index e30ea02..f653a0e 100644 --- a/ability_item_usage_centaur.lua +++ b/ability_item_usage_centaur.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_chaos_knight.lua b/ability_item_usage_chaos_knight.lua index 326b785..7304528 100644 --- a/ability_item_usage_chaos_knight.lua +++ b/ability_item_usage_chaos_knight.lua @@ -69,6 +69,14 @@ local TalentTree = { utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_chen.lua b/ability_item_usage_chen.lua index 2b9dd79..ec36766 100644 --- a/ability_item_usage_chen.lua +++ b/ability_item_usage_chen.lua @@ -58,6 +58,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_clinkz.lua b/ability_item_usage_clinkz.lua index d93209d..5f6cb9c 100644 --- a/ability_item_usage_clinkz.lua +++ b/ability_item_usage_clinkz.lua @@ -58,6 +58,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_crystal_maiden.lua b/ability_item_usage_crystal_maiden.lua index a3f1ff8..192a9bf 100644 --- a/ability_item_usage_crystal_maiden.lua +++ b/ability_item_usage_crystal_maiden.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_dark_seer.lua b/ability_item_usage_dark_seer.lua index d8b0688..23c051e 100644 --- a/ability_item_usage_dark_seer.lua +++ b/ability_item_usage_dark_seer.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_dazzle.lua b/ability_item_usage_dazzle.lua index ee6f932..93fdd30 100644 --- a/ability_item_usage_dazzle.lua +++ b/ability_item_usage_dazzle.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_death_prophet.lua b/ability_item_usage_death_prophet.lua index 84f0321..612873e 100644 --- a/ability_item_usage_death_prophet.lua +++ b/ability_item_usage_death_prophet.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_disruptor.lua b/ability_item_usage_disruptor.lua index 2381014..a817676 100644 --- a/ability_item_usage_disruptor.lua +++ b/ability_item_usage_disruptor.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_doom_bringer.lua b/ability_item_usage_doom_bringer.lua index df299ba..43e40bc 100644 --- a/ability_item_usage_doom_bringer.lua +++ b/ability_item_usage_doom_bringer.lua @@ -59,6 +59,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_dragon_knight.lua b/ability_item_usage_dragon_knight.lua index 5b33d0a..4ee839b 100644 --- a/ability_item_usage_dragon_knight.lua +++ b/ability_item_usage_dragon_knight.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_drow_ranger.lua b/ability_item_usage_drow_ranger.lua index 669cf80..00fdbfb 100644 --- a/ability_item_usage_drow_ranger.lua +++ b/ability_item_usage_drow_ranger.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_earth_spirit.lua b/ability_item_usage_earth_spirit.lua index 7542c39..48ee4aa 100644 --- a/ability_item_usage_earth_spirit.lua +++ b/ability_item_usage_earth_spirit.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_earthshaker.lua b/ability_item_usage_earthshaker.lua index 627d45d..5f2842e 100644 --- a/ability_item_usage_earthshaker.lua +++ b/ability_item_usage_earthshaker.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_elder_titan.lua b/ability_item_usage_elder_titan.lua index 39126bc..e26959d 100644 --- a/ability_item_usage_elder_titan.lua +++ b/ability_item_usage_elder_titan.lua @@ -73,6 +73,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_ember_spirit.lua b/ability_item_usage_ember_spirit.lua index 790b03b..930ab16 100644 --- a/ability_item_usage_ember_spirit.lua +++ b/ability_item_usage_ember_spirit.lua @@ -54,6 +54,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_enchantress.lua b/ability_item_usage_enchantress.lua index b680d43..3ccf99a 100644 --- a/ability_item_usage_enchantress.lua +++ b/ability_item_usage_enchantress.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_enigma.lua b/ability_item_usage_enigma.lua index 9a24e46..b734114 100644 --- a/ability_item_usage_enigma.lua +++ b/ability_item_usage_enigma.lua @@ -71,6 +71,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_faceless_void.lua b/ability_item_usage_faceless_void.lua index 848805f..029080b 100644 --- a/ability_item_usage_faceless_void.lua +++ b/ability_item_usage_faceless_void.lua @@ -58,6 +58,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_furion.lua b/ability_item_usage_furion.lua index 71b33db..71e3582 100644 --- a/ability_item_usage_furion.lua +++ b/ability_item_usage_furion.lua @@ -63,6 +63,14 @@ local TalentTree = { utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_generic.lua b/ability_item_usage_generic.lua index 899ea81..4d068b8 100644 --- a/ability_item_usage_generic.lua +++ b/ability_item_usage_generic.lua @@ -11,6 +11,7 @@ local ItemUsageSystem = dofile(GetScriptDirectory() .. "/util/ItemUsageSystem") local ChatSystem = dofile(GetScriptDirectory() .. "/util/ChatSystem") local AbilityExtensions = require(GetScriptDirectory() .. "/util/AbilityAbstraction") local TeamItemThink = require(GetScriptDirectory() .. "/util/TeamItemThink") +local Buyback = require(GetScriptDirectory() .. "/util/lib/Buyback") local towerId = { TOWER_TOP_1, @@ -177,8 +178,6 @@ function IsMeepoClone() return false; end -local Buyback = require(GetScriptDirectory() .. "./util/lib/Buyback") - function BuybackUsageThink() Buyback.BuybackUsageComplement() end diff --git a/ability_item_usage_gyrocopter.lua b/ability_item_usage_gyrocopter.lua index 7a7a739..0ace204 100644 --- a/ability_item_usage_gyrocopter.lua +++ b/ability_item_usage_gyrocopter.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_hoodwink.lua b/ability_item_usage_hoodwink.lua index e9dd9db..b665043 100644 --- a/ability_item_usage_hoodwink.lua +++ b/ability_item_usage_hoodwink.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_huskar.lua b/ability_item_usage_huskar.lua index 440345f..b238ee8 100644 --- a/ability_item_usage_huskar.lua +++ b/ability_item_usage_huskar.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_jakiro.lua b/ability_item_usage_jakiro.lua index 09ef234..2b7e856 100644 --- a/ability_item_usage_jakiro.lua +++ b/ability_item_usage_jakiro.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_juggernaut.lua b/ability_item_usage_juggernaut.lua index 7bb00d2..f8feaed 100644 --- a/ability_item_usage_juggernaut.lua +++ b/ability_item_usage_juggernaut.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_keeper_of_the_light.lua b/ability_item_usage_keeper_of_the_light.lua index 4b815af..b6bd15d 100644 --- a/ability_item_usage_keeper_of_the_light.lua +++ b/ability_item_usage_keeper_of_the_light.lua @@ -84,6 +84,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_kunkka.lua b/ability_item_usage_kunkka.lua index e1bf8fa..2917181 100644 --- a/ability_item_usage_kunkka.lua +++ b/ability_item_usage_kunkka.lua @@ -59,6 +59,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_legion_commander.lua b/ability_item_usage_legion_commander.lua index 23ba182..95dee34 100644 --- a/ability_item_usage_legion_commander.lua +++ b/ability_item_usage_legion_commander.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_leshrac.lua b/ability_item_usage_leshrac.lua index 09cb1bb..ed042bc 100644 --- a/ability_item_usage_leshrac.lua +++ b/ability_item_usage_leshrac.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_lich.lua b/ability_item_usage_lich.lua index 99c825c..b81549f 100644 --- a/ability_item_usage_lich.lua +++ b/ability_item_usage_lich.lua @@ -68,6 +68,14 @@ local talentTree = { -- check skill build vs current level utility.CheckAbilityBuild(abilityTree) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(abilityTree, talentTree) end diff --git a/ability_item_usage_life_stealer.lua b/ability_item_usage_life_stealer.lua index 1cd9ed3..57dd370 100644 --- a/ability_item_usage_life_stealer.lua +++ b/ability_item_usage_life_stealer.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_lina.lua b/ability_item_usage_lina.lua index 5d1cb8a..f61cc70 100644 --- a/ability_item_usage_lina.lua +++ b/ability_item_usage_lina.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_lion.lua b/ability_item_usage_lion.lua index b4c5d5a..368a7d7 100644 --- a/ability_item_usage_lion.lua +++ b/ability_item_usage_lion.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_luna.lua b/ability_item_usage_luna.lua index 4792c44..1bc3bf1 100644 --- a/ability_item_usage_luna.lua +++ b/ability_item_usage_luna.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_lycan.lua b/ability_item_usage_lycan.lua index a93df3e..9bdc842 100644 --- a/ability_item_usage_lycan.lua +++ b/ability_item_usage_lycan.lua @@ -58,6 +58,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_magnataur.lua b/ability_item_usage_magnataur.lua index a6766af..7c0ada4 100644 --- a/ability_item_usage_magnataur.lua +++ b/ability_item_usage_magnataur.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_medusa.lua b/ability_item_usage_medusa.lua index d89ddc3..4e0703f 100644 --- a/ability_item_usage_medusa.lua +++ b/ability_item_usage_medusa.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_mirana.lua b/ability_item_usage_mirana.lua index edd6370..e73f072 100644 --- a/ability_item_usage_mirana.lua +++ b/ability_item_usage_mirana.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_monkey_king.lua b/ability_item_usage_monkey_king.lua index a3841a7..f104d68 100644 --- a/ability_item_usage_monkey_king.lua +++ b/ability_item_usage_monkey_king.lua @@ -73,6 +73,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_naga_siren.lua b/ability_item_usage_naga_siren.lua index cf05565..f8286a4 100644 --- a/ability_item_usage_naga_siren.lua +++ b/ability_item_usage_naga_siren.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_necrolyte.lua b/ability_item_usage_necrolyte.lua index 87d8e58..6e1a2a5 100644 --- a/ability_item_usage_necrolyte.lua +++ b/ability_item_usage_necrolyte.lua @@ -59,6 +59,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_nevermore.lua b/ability_item_usage_nevermore.lua index f1bf5ea..0f0a798 100644 --- a/ability_item_usage_nevermore.lua +++ b/ability_item_usage_nevermore.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_night_stalker.lua b/ability_item_usage_night_stalker.lua index 7218555..02b333f 100644 --- a/ability_item_usage_night_stalker.lua +++ b/ability_item_usage_night_stalker.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_nyx_assassin.lua b/ability_item_usage_nyx_assassin.lua index 1d4faad..f43142f 100644 --- a/ability_item_usage_nyx_assassin.lua +++ b/ability_item_usage_nyx_assassin.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_obsidian_destroyer.lua b/ability_item_usage_obsidian_destroyer.lua index dfb5442..6df5464 100644 --- a/ability_item_usage_obsidian_destroyer.lua +++ b/ability_item_usage_obsidian_destroyer.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_ogre_magi.lua b/ability_item_usage_ogre_magi.lua index 7e57040..fc75fa5 100644 --- a/ability_item_usage_ogre_magi.lua +++ b/ability_item_usage_ogre_magi.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_omniknight.lua b/ability_item_usage_omniknight.lua index 01bc954..0d61c86 100644 --- a/ability_item_usage_omniknight.lua +++ b/ability_item_usage_omniknight.lua @@ -58,6 +58,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_oracle.lua b/ability_item_usage_oracle.lua index be1e963..6b03722 100644 --- a/ability_item_usage_oracle.lua +++ b/ability_item_usage_oracle.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_phantom_assassin.lua b/ability_item_usage_phantom_assassin.lua index 8e7df64..e95af06 100644 --- a/ability_item_usage_phantom_assassin.lua +++ b/ability_item_usage_phantom_assassin.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_phantom_lancer.lua b/ability_item_usage_phantom_lancer.lua index 8972034..50c1669 100644 --- a/ability_item_usage_phantom_lancer.lua +++ b/ability_item_usage_phantom_lancer.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_puck.lua b/ability_item_usage_puck.lua index a034db2..a3cde07 100644 --- a/ability_item_usage_puck.lua +++ b/ability_item_usage_puck.lua @@ -57,6 +57,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_pudge.lua b/ability_item_usage_pudge.lua index a226d6e..63cab08 100644 --- a/ability_item_usage_pudge.lua +++ b/ability_item_usage_pudge.lua @@ -58,6 +58,14 @@ local TalentTree = { end, } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_pugna.lua b/ability_item_usage_pugna.lua index d7a5d31..9cae3ac 100644 --- a/ability_item_usage_pugna.lua +++ b/ability_item_usage_pugna.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_queenofpain.lua b/ability_item_usage_queenofpain.lua index ba33fee..881fe0d 100644 --- a/ability_item_usage_queenofpain.lua +++ b/ability_item_usage_queenofpain.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_rattletrap.lua b/ability_item_usage_rattletrap.lua index ee9a019..fde24ba 100644 --- a/ability_item_usage_rattletrap.lua +++ b/ability_item_usage_rattletrap.lua @@ -58,6 +58,14 @@ local TalentTree = { } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_razor.lua b/ability_item_usage_razor.lua index d6b600a..7d1aef8 100644 --- a/ability_item_usage_razor.lua +++ b/ability_item_usage_razor.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_riki.lua b/ability_item_usage_riki.lua index d048332..39994de 100644 --- a/ability_item_usage_riki.lua +++ b/ability_item_usage_riki.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_sand_king.lua b/ability_item_usage_sand_king.lua index 4a2f35d..f05e56e 100644 --- a/ability_item_usage_sand_king.lua +++ b/ability_item_usage_sand_king.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_shadow_demon.lua b/ability_item_usage_shadow_demon.lua index 931ead8..af2639b 100644 --- a/ability_item_usage_shadow_demon.lua +++ b/ability_item_usage_shadow_demon.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_shadow_shaman.lua b/ability_item_usage_shadow_shaman.lua index 1b2895c..e262c03 100644 --- a/ability_item_usage_shadow_shaman.lua +++ b/ability_item_usage_shadow_shaman.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_shredder.lua b/ability_item_usage_shredder.lua index b39f58b..bea4a6a 100644 --- a/ability_item_usage_shredder.lua +++ b/ability_item_usage_shredder.lua @@ -80,6 +80,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_silencer.lua b/ability_item_usage_silencer.lua index 6a84651..6a05379 100644 --- a/ability_item_usage_silencer.lua +++ b/ability_item_usage_silencer.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_skeleton_king.lua b/ability_item_usage_skeleton_king.lua index 134a8bf..83bf9d0 100644 --- a/ability_item_usage_skeleton_king.lua +++ b/ability_item_usage_skeleton_king.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_skywrath_mage.lua b/ability_item_usage_skywrath_mage.lua index f3a40b2..bb61d51 100644 --- a/ability_item_usage_skywrath_mage.lua +++ b/ability_item_usage_skywrath_mage.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_slardar.lua b/ability_item_usage_slardar.lua index a18d1c4..320905c 100644 --- a/ability_item_usage_slardar.lua +++ b/ability_item_usage_slardar.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_slark.lua b/ability_item_usage_slark.lua index 25c84bd..f3ac89c 100644 --- a/ability_item_usage_slark.lua +++ b/ability_item_usage_slark.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_sniper.lua b/ability_item_usage_sniper.lua index 12633b0..632a30a 100644 --- a/ability_item_usage_sniper.lua +++ b/ability_item_usage_sniper.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_spectre.lua b/ability_item_usage_spectre.lua index 7d69304..689b6c6 100644 --- a/ability_item_usage_spectre.lua +++ b/ability_item_usage_spectre.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_spirit_breaker.lua b/ability_item_usage_spirit_breaker.lua index 4c956df..d51b94a 100644 --- a/ability_item_usage_spirit_breaker.lua +++ b/ability_item_usage_spirit_breaker.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_sven.lua b/ability_item_usage_sven.lua index af89b5a..a872b5d 100644 --- a/ability_item_usage_sven.lua +++ b/ability_item_usage_sven.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_templar_assassin.lua b/ability_item_usage_templar_assassin.lua index b0611be..2877427 100644 --- a/ability_item_usage_templar_assassin.lua +++ b/ability_item_usage_templar_assassin.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_terrorblade.lua b/ability_item_usage_terrorblade.lua index fbf06e1..a84c78c 100644 --- a/ability_item_usage_terrorblade.lua +++ b/ability_item_usage_terrorblade.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_tidehunter.lua b/ability_item_usage_tidehunter.lua index fae2897..fd26724 100644 --- a/ability_item_usage_tidehunter.lua +++ b/ability_item_usage_tidehunter.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_tinker.lua b/ability_item_usage_tinker.lua index 1bf8cc3..deb0c15 100644 --- a/ability_item_usage_tinker.lua +++ b/ability_item_usage_tinker.lua @@ -112,6 +112,14 @@ Consider[1] = function() return 0 end +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_tiny.lua b/ability_item_usage_tiny.lua index f2e0c34..0d45b45 100644 --- a/ability_item_usage_tiny.lua +++ b/ability_item_usage_tiny.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_treant.lua b/ability_item_usage_treant.lua index b6de1bc..194d29a 100644 --- a/ability_item_usage_treant.lua +++ b/ability_item_usage_treant.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_troll_warlord.lua b/ability_item_usage_troll_warlord.lua index 22d8e82..1eed659 100644 --- a/ability_item_usage_troll_warlord.lua +++ b/ability_item_usage_troll_warlord.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_tusk.lua b/ability_item_usage_tusk.lua index b8515f8..a69849d 100644 --- a/ability_item_usage_tusk.lua +++ b/ability_item_usage_tusk.lua @@ -71,6 +71,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_undying.lua b/ability_item_usage_undying.lua index 8489af7..fb0a86b 100644 --- a/ability_item_usage_undying.lua +++ b/ability_item_usage_undying.lua @@ -65,6 +65,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_ursa.lua b/ability_item_usage_ursa.lua index 3e083c9..bbb796f 100644 --- a/ability_item_usage_ursa.lua +++ b/ability_item_usage_ursa.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_vengefulspirit.lua b/ability_item_usage_vengefulspirit.lua index 55e8ed4..ede8740 100644 --- a/ability_item_usage_vengefulspirit.lua +++ b/ability_item_usage_vengefulspirit.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_venomancer.lua b/ability_item_usage_venomancer.lua index 3b774e3..672cc61 100644 --- a/ability_item_usage_venomancer.lua +++ b/ability_item_usage_venomancer.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_viper.lua b/ability_item_usage_viper.lua index 8685301..78b8f56 100644 --- a/ability_item_usage_viper.lua +++ b/ability_item_usage_viper.lua @@ -69,6 +69,14 @@ local TalentTree = { utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_warlock.lua b/ability_item_usage_warlock.lua index e701561..0e257e1 100644 --- a/ability_item_usage_warlock.lua +++ b/ability_item_usage_warlock.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_weaver.lua b/ability_item_usage_weaver.lua index 04e552c..c0ddae8 100644 --- a/ability_item_usage_weaver.lua +++ b/ability_item_usage_weaver.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_windrunner.lua b/ability_item_usage_windrunner.lua index 84a21e4..0e6207b 100644 --- a/ability_item_usage_windrunner.lua +++ b/ability_item_usage_windrunner.lua @@ -70,6 +70,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_winter_wyvern.lua b/ability_item_usage_winter_wyvern.lua index b949f04..ac18610 100644 --- a/ability_item_usage_winter_wyvern.lua +++ b/ability_item_usage_winter_wyvern.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_witch_doctor.lua b/ability_item_usage_witch_doctor.lua index fa48b1e..b0873c0 100644 --- a/ability_item_usage_witch_doctor.lua +++ b/ability_item_usage_witch_doctor.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/ability_item_usage_zuus.lua b/ability_item_usage_zuus.lua index 72d3d06..d26ee93 100644 --- a/ability_item_usage_zuus.lua +++ b/ability_item_usage_zuus.lua @@ -69,6 +69,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/dev/DEV_ability_item_usage_kunkka.lua b/dev/DEV_ability_item_usage_kunkka.lua index dcd7eb6..ae34e82 100644 --- a/dev/DEV_ability_item_usage_kunkka.lua +++ b/dev/DEV_ability_item_usage_kunkka.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/dev/DEV_ability_item_usage_morphling.lua b/dev/DEV_ability_item_usage_morphling.lua index 9fc5232..0220cd2 100644 --- a/dev/DEV_ability_item_usage_morphling.lua +++ b/dev/DEV_ability_item_usage_morphling.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/dev/DEV_ability_item_usage_normal.lua b/dev/DEV_ability_item_usage_normal.lua index 806fe29..39ff0ec 100644 --- a/dev/DEV_ability_item_usage_normal.lua +++ b/dev/DEV_ability_item_usage_normal.lua @@ -66,6 +66,14 @@ local talentTree = { -- check skill build vs current level AbilityHelper.checkAbilityBuild(abilityTree) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(abilityTree, talentTree) end diff --git a/dev/DEV_ability_item_usage_normal2.lua b/dev/DEV_ability_item_usage_normal2.lua index c64f7cb..323f677 100644 --- a/dev/DEV_ability_item_usage_normal2.lua +++ b/dev/DEV_ability_item_usage_normal2.lua @@ -92,6 +92,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/dev/DEV_ability_item_usage_pudge.lua b/dev/DEV_ability_item_usage_pudge.lua index dcd7eb6..ae34e82 100644 --- a/dev/DEV_ability_item_usage_pudge.lua +++ b/dev/DEV_ability_item_usage_pudge.lua @@ -68,6 +68,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/dev/DEV_ability_item_usage_skeleton_king.lua b/dev/DEV_ability_item_usage_skeleton_king.lua index dea9b90..ac3ff59 100644 --- a/dev/DEV_ability_item_usage_skeleton_king.lua +++ b/dev/DEV_ability_item_usage_skeleton_king.lua @@ -67,6 +67,14 @@ local TalentTree = { -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/mira/ability_item_usage_abaddon.mira b/mira/ability_item_usage_abaddon.mira index a792448..89bfb3a 100644 --- a/mira/ability_item_usage_abaddon.mira +++ b/mira/ability_item_usage_abaddon.mira @@ -69,6 +69,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_arc_warden.mira b/mira/ability_item_usage_arc_warden.mira index 5d6e122..9a9b9b4 100644 --- a/mira/ability_item_usage_arc_warden.mira +++ b/mira/ability_item_usage_arc_warden.mira @@ -71,6 +71,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_axe.mira b/mira/ability_item_usage_axe.mira index 608ddb7..083ced5 100644 --- a/mira/ability_item_usage_axe.mira +++ b/mira/ability_item_usage_axe.mira @@ -66,6 +66,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_bane.mira b/mira/ability_item_usage_bane.mira index 833aad1..3e11d85 100644 --- a/mira/ability_item_usage_bane.mira +++ b/mira/ability_item_usage_bane.mira @@ -67,6 +67,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_bounty_hunter.mira b/mira/ability_item_usage_bounty_hunter.mira index 58f64a2..db03865 100644 --- a/mira/ability_item_usage_bounty_hunter.mira +++ b/mira/ability_item_usage_bounty_hunter.mira @@ -66,6 +66,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_bristleback.mira b/mira/ability_item_usage_bristleback.mira index b1af32a..682944a 100644 --- a/mira/ability_item_usage_bristleback.mira +++ b/mira/ability_item_usage_bristleback.mira @@ -66,6 +66,14 @@ local TalentTree={ utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/mira/ability_item_usage_chen.mira b/mira/ability_item_usage_chen.mira index 0be3b2b..319dafc 100644 --- a/mira/ability_item_usage_chen.mira +++ b/mira/ability_item_usage_chen.mira @@ -66,6 +66,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_clinkz.mira b/mira/ability_item_usage_clinkz.mira index 888e94a..18f0b19 100644 --- a/mira/ability_item_usage_clinkz.mira +++ b/mira/ability_item_usage_clinkz.mira @@ -63,6 +63,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_doom_bringer.mira b/mira/ability_item_usage_doom_bringer.mira index b31946f..2004ba0 100644 --- a/mira/ability_item_usage_doom_bringer.mira +++ b/mira/ability_item_usage_doom_bringer.mira @@ -65,6 +65,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_ember_spirit.mira b/mira/ability_item_usage_ember_spirit.mira index d3e7a42..fc13018 100644 --- a/mira/ability_item_usage_ember_spirit.mira +++ b/mira/ability_item_usage_ember_spirit.mira @@ -55,6 +55,14 @@ local TalentTree = { } utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/mira/ability_item_usage_faceless_void.mira b/mira/ability_item_usage_faceless_void.mira index e1e3714..cdf6ec9 100644 --- a/mira/ability_item_usage_faceless_void.mira +++ b/mira/ability_item_usage_faceless_void.mira @@ -65,6 +65,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_kunkka.mira b/mira/ability_item_usage_kunkka.mira index 42c0d7c..4e36d2c 100644 --- a/mira/ability_item_usage_kunkka.mira +++ b/mira/ability_item_usage_kunkka.mira @@ -66,6 +66,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_lycan.mira b/mira/ability_item_usage_lycan.mira index b610582..e8f9986 100644 --- a/mira/ability_item_usage_lycan.mira +++ b/mira/ability_item_usage_lycan.mira @@ -65,6 +65,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_necrolyte.mira b/mira/ability_item_usage_necrolyte.mira index a751433..e04836c 100644 --- a/mira/ability_item_usage_necrolyte.mira +++ b/mira/ability_item_usage_necrolyte.mira @@ -66,6 +66,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_omniknight.mira b/mira/ability_item_usage_omniknight.mira index 8e68978..c804cb2 100644 --- a/mira/ability_item_usage_omniknight.mira +++ b/mira/ability_item_usage_omniknight.mira @@ -65,6 +65,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mira/ability_item_usage_puck.mira b/mira/ability_item_usage_puck.mira index 7335b43..5ecb8cb 100644 --- a/mira/ability_item_usage_puck.mira +++ b/mira/ability_item_usage_puck.mira @@ -46,6 +46,14 @@ local TalentTree = { utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp, TalentTree) end diff --git a/mira/ability_item_usage_pudge.mira b/mira/ability_item_usage_pudge.mira index ad81f5d..f3b957d 100644 --- a/mira/ability_item_usage_pudge.mira +++ b/mira/ability_item_usage_pudge.mira @@ -60,6 +60,14 @@ local TalentTree={ -- check skill build vs current level utility.CheckAbilityBuild(AbilityToLevelUp) +function BuybackUsageThink() + ability_item_usage_generic.BuybackUsageThink(); +end + +function CourierUsageThink() + ability_item_usage_generic.CourierUsageThink(); +end + function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end diff --git a/mode_secret_shop_generic.lua b/mode_secret_shop_generic.lua index e74cea2..8552979 100644 --- a/mode_secret_shop_generic.lua +++ b/mode_secret_shop_generic.lua @@ -62,7 +62,7 @@ function GetDesire() end function OnStart() - + preferedShop = X.GetPreferedSecretShop(); end function OnEnd()