OK! That sounds great! Thanks a lot.
Printable View
Hi,
While double checking that all attack rolls works as intended I noticed that missiles ignore the missile damage bonus rule. I checked with an old version of the ruleset (from 2017) on FGC and on that version of the ruleset the missile damage bonus is correctly handled.
The easiest way to test this is to create a new campaign, with no extensions and then a new character. Set both STR and SIZ to 18 so that you get a +1d6 damage bonus. Next, create a new missile weapon and give it a damage of 1d8 and check the db checkbox. When rolling damage all d6 damage bonus dice rolls of 1 or 2 should yield a result of 1 in the chat, all rolls of 3 or 4 should yield 2 and all rolls of 5 or 6 should yield 3.
As noted this works with the 2017 version of the ruleset but not with the latest. I'm running my 2017 test on FGC and the current ruleset version on FGU.
/Peter
I think I understand what I read from the rulebook and here is the updated code. Does this look correct?
Attachment 46386
[ERROR] windowcontrol: Database type mismatch on path (notes) in control (notes) in class (weapon_other)
I get this error when I open the tab "other" on a weapon record. There's an follow up error: [ERROR] Script execution error: [string "weapon_other"]:39: attempt to index global 'notes' (a nil value). The weapon has been dragged from the equipment list in the BRP Game System X module. When I create a new weapon there's no error. I've checked the name of the field in the module and they are the same. The type of the field in the module is 'formattedtext' so I tried to change the type in record_weapon.xml to 'formattedtextfield' but it didn't help. Now I'm lost and I don't know what more to try.
A screenshot:
Attachment 46387
/Peter
Yeah, looks like I may have missed removing a link class to the proper windowclass. I have found the issue and will add it to the next weekly update.
The issue was I placed all of the script code within the damage control and the new code did not verify whether it was a melee weapon or not.
Great! Thanks for the help!
/Peter