Hmm... and either I misunderstand something about field histories or I implemented this incorrectly. My current SkillBonus:
Code:
<!-- SkillBonus component -->
<component
id="SkillBonus"
name="Starting Skill Bonus"
autocompset="no"
panellink="basics">
<field
id="skbNamCst"
name="Custom Name"
type="user"
maxlength="20"/>
<field
id="skbName"
name="Name"
type="static"
maxlength="20"
maxfinal="20">
<finalize><![CDATA[
if (this.field[skbNamCst].isempty = 0) then
@text = field[skbNamCst].text
elseif (this.isroot <> 0) then
@text = this.root.field[name].text
else
@text = this.field[name].text
endif
]]></finalize>
</field>
</component>
My code for updating the skill bonus is:
Code:
perform field[usrChosen1].chosen.field[trtBG].modify[+,bonus,field[skbName].text]
And yet, when I look at my mouseover, defined as follows:
Code:
<mouseinfo mousepos="middle+above"><![CDATA[
@text = field[trtBG].history[", "] & "{BR}" & field[trtUser].value & " spent in creation"
]]></mouseinfo>
I see something like "+2 Skill Bonus: Dodge, +1 Skill Bonus: Dodge" instead of "+2 Crime Lord, +1 Ob'enn" like I might expect from the source of the skill bonuses.