Commit 4c73dc3b authored by JoyJ's avatar JoyJ

fix alchemist items

parent cb1dec71
......@@ -28,32 +28,16 @@ local tOutFitList = {}
tOutFitList['outfit_carry'] = {
"item_melee_carry_outfit",
"item_aghanims_shard",
"item_aether_lens",
"item_urn_of_shadows",
"item_mekansm",
"item_glimmer_cape",
"item_octarine_core",
"item_sphere",
"item_radiance",
"item_yasha",
"item_sange_and_yasha",
"item_black_king_bar",
"item_basher",
"item_assault",
"item_abyssal_blade",
}
tOutFitList['outfit_tank'] = {
"item_bristleback_outfit",
"item_aghanims_shard",
"item_pipe",
"item_glimmer_cape",
"item_aether_lens",
"item_rod_of_atos",
"item_octarine_core",
"item_gungir",
"item_heart",
"item_radiance",
"item_ultimate_scepter_2",
}
tOutFitList['outfit_tank'] = tOutFitList['outfit_carry']
tOutFitList['outfit_mid'] = tOutFitList['outfit_tank']
X['sBuyList'] = tOutFitList[sOutfitType]
......@@ -63,7 +47,7 @@ X['sSellList'] = {
"item_glimmer_cape",
}
if J.Role.IsPvNMode() or J.Role.IsAllShadow() then X['sBuyList'], X['sSellList'] = { 'PvN_mage' }, {} end
if J.Role.IsPvNMode() or J.Role.IsAllShadow() then X['sBuyList'], X['sSellList'] = { 'PvN_melee_carry' }, {} end
nAbilityBuildList, nTalentBuildList, X['sBuyList'], X['sSellList'] = J.SetUserHeroInit( nAbilityBuildList, nTalentBuildList, X['sBuyList'], X['sSellList'] )
......@@ -176,7 +160,7 @@ function X.SkillsComplement()
end
function X.ConsiderW2()
if abilityW2:IsHidden() or not abilityW2:IsFullyCastable() then
if W2Time>0 and (abilityW2:IsHidden() or not abilityW2:IsFullyCastable()) then
W2Time = 0
return 0
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment