View Bug Report | ||||||||||||||
|
Notes | Sort Options |
By: Vhalar - 05-02-09 02:02 PM |
Many thanks Tiron. Effectively, the problem is corrected with your solution. Good job mate |
By: Tiron - 04-17-09 08:02 AM |
Still present in 2.25 |
By: Tiron - 12-07-08 07:14 PM |
I hacked at it, found a workaround, and from there figured out the problem and a REAL Fix. It's pretty simple. The problem is the code checking to see if you have TG, the swap code works fine. Here's the code: if class=="WARRIOR" then if select(5,GetTalentInfo(2,26))>0 then ItemRack.HasTitansGrip = 1 ItemRack.SlotInfo[17].INVTYPE_2HWEAPON = 1 else ItemRack.HasTitansGrip = nil ItemRack.SlotInfo[18].INVTYPE_2HWEAPON = nil end end Okay, where's the problem? GetTalentInfo(2,26). Index 26 in fury is Unending Fury, the one above TG. TG is index 27. Granted anyone that gets that far is gonna want Unending fury (I only dropped it because I did a dumb thing and used the main site's talent builder, which has it doing something completely different than it does). Corrected Code: if class=="WARRIOR" then if select(5,GetTalentInfo(2,27))>0 then ItemRack.HasTitansGrip = 1 ItemRack.SlotInfo[17].INVTYPE_2HWEAPON = 1 else ItemRack.HasTitansGrip = nil ItemRack.SlotInfo[18].INVTYPE_2HWEAPON = nil end end |