cyberpunk2020
cyberpunk2020 copied to clipboard
Weapon attackSkill not updated until item sheet closed
This only occurs if you change the weapon's weaponType. This SHOULD also change attackSkill, but I can't find a way to make that stick at the same time at the moment without writing a custom onchange for the weapontype select box on the sheet to, instead of being a form element, manually put together the changes needed and send both off at the same time.
As-iss, weaponType changes. This causes the sheet to render, with the new attackTypes possible. Weapon attackType is still the old type, until the sheet closes, at which point the sheet writes the currently selected attackType to the item.