The Talents tab shows the character's talents
Forever's Talents tab, which was disabled and empty, now shows the class's three talent trees with their own art, the ranks the character has bought and the arrows between talents, worked out from the game's trait tables.
Read the entry: The Talents tab shows the character's talents
Forever shows the classic three talent trees through the game's newer trait system, none of which Lizzard had, so the talents button was greyed out. Lizzard now reads the trait tables: the talents, ranks, trees, conditions, arrows and points.
Checked against a capture of my level 21 paladin, every answer the window reads agreed with the game's for all 51 talents but two, both fixed. The arrows were hidden by two engine gaps, one of them drawing every arrow one pixel wide.
Still different: the tabs above the trees and the arrowheads, and ranks couldn't be bought yet.
Follow-up, : Tooltips and buying ranks, the same evening. Ranks can now be bought, given back, applied or undone. Applying needed a 3D 'learned' effect, so Lizzard now has model scenes that draw nothing; that also cleared eight load errors. Still to compare: the tooltips' text, which shows unworked formulas where the game shows numbers.
Follow-up, : Compared with my in-game tooltips the same evening: the same lines, order and colours; the numbers differed. Forever's talents give each rank its own value through a small curve (Healing Light 4, 8, 12%), and Lizzard had used one value for every rank, so Reverence at its first rank would have said 30% where its curve gives 15%. Lizzard now reads the curve. Values that might add spell power still show [amount] until measured.
Follow-up, : Compared again on 11 and 12 November with my screenshots. The tick and padlock after Primary and Secondary were picture codes in the text that Lizzard skipped; they draw now. A bought rank not yet applied is gold in the game and was green in Lizzard, which had guessed only applied ranks count. And with my character's spell bonus copied in, the game still shows Healing Light at 4% and 8%, so it leaves spell power out of that kind of effect; Lizzard now does too. Still different: the arrow into the next row.
Follow-up, : On 20 November I asked whether Lizzard would show the game's "You have unspent Talent points." prompt over the talents button. Now it does, after a level up. Blizzard's own code draws it and was already loaded, but it gave up at two gaps. Lizzard didn't answer whether the player is in the world, so the code took that as no. And a level change didn't send the event the button rechecks on. With both added, the prompt pops up pointing at the button. Next to my screenshot, two things were wrong. The text read "poin..." because two of Lizzard's text checks rounded differently, by under a pixel; they agree now, and the line shows whole. The box is still white where the game's is dark: its fill is a colour gradient, which Lizzard doesn't draw yet. No picture this time: the test world carries my character's name.
Follow-up, : Later the same day the box went dark. Its fill is a white texture with a colour gradient over it, dark gold at one end and black at the other, and Lizzard couldn't draw gradients, so it showed plain white. It can now, in all three of its painters: the everyday one, the graphics card's and the Godot game's. Blizzard's files name a minimum and a maximum colour but not which end each goes to. My screenshot settled it: the game's box runs evenly from black under the top edge to 58, 48, 0 above the bottom, exactly the gold's numbers, so the minimum sits at the bottom. Lizzard's box now runs from 2, 2, 0 to 58, 48, 0. Which end a sideways gradient starts from is still a guess. This time there is a picture: the tip alone, beside my screenshot, with no name in either.
Follow-up, : My own talent planner, OAP Pension Plan, opened its tree window in Lizzard on 26 November with the art in place and not a single talent in it. The addon reads the tree the way the game's own talent window shows a linked build: it asks the game to set up a scratch copy of a tree for a given class and level, then points Blizzard's tree frame at that copy. Lizzard only knew the character's own talents, so the frame asked about the copy, got nothing back and gave up. Lizzard now keeps the scratch copy too. That morning's in-game measurements say how it behaves: any class's tree, empty, with the level's points, 51 at level 60. Oddest of all, buying a rank in it works but reports that it failed. Lizzard does the same. The window now shows the paladin's 51 talents, and the game's own Talents tab still shows the character's. It has not yet been compared with the addon's window in the game.
Follow-up, : Later the same day, a locked talent's tooltip. The morning's measurements also showed the game answering "how many points does this row need?" with the points still to spend, where Lizzard gave the row's whole requirement. I asked whether "Spend 3 more points" made the answer obvious, and it did: the game's sentence says "more", so its number is what is left. Looking into it turned up three gaps, not one. Lizzard gave the wrong number. It never sent the sentence at all; that sits in the game's own data and is now read from there. And Blizzard's code tidies the sentence with a text function Lizzard didn't have before turning it red. Each gap on its own was enough to lose the line. A locked talent's tooltip now ends with the red "Spend N more points in ... Talents" line, with the number and the tree filled in. Not yet compared with my in-game tooltip, and no picture this time.
Link to this entry