When I change an Icon via Script it is only displayed correctly in the current spell-part of the UI, not the Inventory.
[Update while writing]After some further testing this doesn't seem to occur anymore. Maybe I just was impatient again. [/Update while writing]
Strange bug:
If I only replace one spell, directly add it to the player and use selectplayerspell it is shown correctly in the spellbook, but not the UI (current spell Icon still a script effect).
http://www.npshare.de/files/512a1d4a/ScreenShot0.jpg
The strange part is that this also applies to spells set with the old (Activate) method bought via spell purchase.
Only tried this once, so may be a problem on my side.
Spell Icons show fine in the spell purchase menu, but only until you buy a spell.
Afterwards, they all have the normal Icon again.
Still a problem.
Two Screenshots: http://www.npshare.de/files/56c40366/CSI0.jpg http://www.npshare.de/files/3364d802/CSI.jpg
I think both times the current spell Icon (the one you can also see in Gamemode) is the correct one.
Seems to be fixed now.
At least both show the same Icon.
But I think there's a problem with Icon assigning for a whole bunch of spells: they all have the Icon of the next group, but not the one they should have.
Could it be a problem because I set the Icon for 70 spells in one single frame?
If it isn't this should be expected behaviour; just doesn't fit my testing purpose.
Also applies if you specify a new custom Icon.
LP