Skip to content

Commit

Permalink
generic: Force buyback think to take effect
Browse files Browse the repository at this point in the history
Signed-off-by: AdamQQQ <[email protected]>
  • Loading branch information
adamqqqplay committed May 21, 2023
1 parent 59fe042 commit b4592d7
Show file tree
Hide file tree
Showing 129 changed files with 1,018 additions and 3 deletions.
8 changes: 8 additions & 0 deletions ability_item_usage_abaddon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_abyssal_underlord.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_alchemist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_ancient_apparition.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_antimage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_arc_warden.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_axe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_bane.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_batrider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_beastmaster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_bloodseeker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_bounty_hunter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_brewmaster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_bristleback.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_broodmother.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_centaur.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_chaos_knight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_chen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_clinkz.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_crystal_maiden.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_dark_seer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_dazzle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_death_prophet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_disruptor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_doom_bringer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions ability_item_usage_dragon_knight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit b4592d7

Please sign in to comment.