GMBazUK
June 2nd, 2011, 20:51
I have been carefully dissecting the JPG D20 ruleset in my continued quest to understand how I might incorporate some of its functionality/ideas into my own rule set.
I've managed to integrate the dice drag function from the Abilities (Statistics) Bonus frame, whereby the dice can be plucked from the character sheet field and dropped on the chat window, but I cant understand how to get the chat output to report (like it does in the JPG D20 rule set), Strength Bonus.... or Dexterity Bonus.
I understand the problem. The D20 ruleset,has individual abilitybonus numberfields with "description" text describing the particular bonus; so Strengthbonus says <description> Strength Bonus</description> etc
My ruleset on the other hand is derived from the Anatomy of a Ruleset example, and so uses scripting to generate the character sheet frames 9and database nodes) from a central template which is simply called Abilities bonus.
draginfo.setDescription(self.description[1].text[1]);
draginfo.setNumberData(getValue());
draginfo.setShortcutData("charsheet", window.getDatabaseNode().getNodeName());
This is the bit of scripting I think I need to change. I also think I have to reference the characteristics parent node name? I'm guessing here.
Thanks in advance.
Baz.
I've managed to integrate the dice drag function from the Abilities (Statistics) Bonus frame, whereby the dice can be plucked from the character sheet field and dropped on the chat window, but I cant understand how to get the chat output to report (like it does in the JPG D20 rule set), Strength Bonus.... or Dexterity Bonus.
I understand the problem. The D20 ruleset,has individual abilitybonus numberfields with "description" text describing the particular bonus; so Strengthbonus says <description> Strength Bonus</description> etc
My ruleset on the other hand is derived from the Anatomy of a Ruleset example, and so uses scripting to generate the character sheet frames 9and database nodes) from a central template which is simply called Abilities bonus.
draginfo.setDescription(self.description[1].text[1]);
draginfo.setNumberData(getValue());
draginfo.setShortcutData("charsheet", window.getDatabaseNode().getNodeName());
This is the bit of scripting I think I need to change. I also think I have to reference the characteristics parent node name? I'm guessing here.
Thanks in advance.
Baz.