Mercurial > wow > worldplan
comparison ClassPlanShipments.lua @ 111:e8b6c5433128 v7.3.0-1
7.3 Updates
author | Nenue |
---|---|
date | Tue, 05 Sep 2017 02:58:24 -0400 |
parents | caa482329919 |
children |
comparison
equal
deleted
inserted
replaced
110:f6ef9a9f5476 | 111:e8b6c5433128 |
---|---|
112 -- this is a talent that has completed, but has not been seen in the talent UI yet. | 112 -- this is a talent that has completed, but has not been seen in the talent UI yet. |
113 local completeTalentID = CG_GetCompleteTalent(garrisonType); | 113 local completeTalentID = CG_GetCompleteTalent(garrisonType); |
114 print('Talents:') | 114 print('Talents:') |
115 if (talentTrees) then | 115 if (talentTrees) then |
116 for treeIndex, treeID in ipairs(talentTrees) do | 116 for treeIndex, treeID in ipairs(talentTrees) do |
117 local _, _, tree = C_Garrison.GetTalentTreeInfoForID(garrisonType, treeID); | 117 local _, _, tree = C_Garrison.GetTalentTreeInfoForID(treeID); |
118 for talentIndex, talent in ipairs(tree) do | 118 for talentIndex, talent in ipairs(tree) do |
119 local showTalent = false; | 119 local showTalent = false; |
120 if (talent.isBeingResearched) or (talent.id == completeTalentID) then | 120 if (talent.isBeingResearched) or (talent.id == completeTalentID) then |
121 AddShipmentInfo(OH_TALENT, talent.name, talent.icon, 1, (talent.isBeingResearched and 0 or 1), 1, talent.researchStartTime, talent.researchDuration, talent.timeleftString) | 121 AddShipmentInfo(OH_TALENT, talent.name, talent.icon, 1, (talent.isBeingResearched and 0 or 1), 1, talent.researchStartTime, talent.researchDuration, talent.timeleftString) |
122 end | 122 end |