peterb
March 12th, 2022, 16:52
Hello,
Last December a long time bug in the BRP ruleset was fixed. When modifying a skill roll, the modifier should not modify the actual dice roll, it should modify the target value (i.e. the skill level). The same goes for attack rolls.
For example, the code for "Attacks" used to look like this after the change in December:
function action(draginfo)
local nodeChar = window.windowlist.window.getDatabaseNode()
local rActor = ActorManager.resolveActor(nodeChar);
local sModDesc, nMod = ModifierStack.getStack(true);
local rAttack = {};
rAttack.baseattack = getValue() + nMod;
rAttack.label = window.name.getValue();
ActionAttack.performRoll(draginfo, rActor, rAttack);
return true;
end
Now it looks like this:
function action(draginfo)
local nodeChar = window.windowlist.window.getDatabaseNode()
local rActor = ActorManager.resolveActor(nodeChar);
local rAttack = {};
rAttack.baseattack = getValue();
rAttack.label = window.name.getValue();
ActionAttack.performRoll(draginfo, rActor, rAttack);
return true;
end
Skill rolls are pretty central to BRP so I would appreciate if you put back the code that makes skill work as they should.
Thanks,
Peter
Last December a long time bug in the BRP ruleset was fixed. When modifying a skill roll, the modifier should not modify the actual dice roll, it should modify the target value (i.e. the skill level). The same goes for attack rolls.
For example, the code for "Attacks" used to look like this after the change in December:
function action(draginfo)
local nodeChar = window.windowlist.window.getDatabaseNode()
local rActor = ActorManager.resolveActor(nodeChar);
local sModDesc, nMod = ModifierStack.getStack(true);
local rAttack = {};
rAttack.baseattack = getValue() + nMod;
rAttack.label = window.name.getValue();
ActionAttack.performRoll(draginfo, rActor, rAttack);
return true;
end
Now it looks like this:
function action(draginfo)
local nodeChar = window.windowlist.window.getDatabaseNode()
local rActor = ActorManager.resolveActor(nodeChar);
local rAttack = {};
rAttack.baseattack = getValue();
rAttack.label = window.name.getValue();
ActionAttack.performRoll(draginfo, rActor, rAttack);
return true;
end
Skill rolls are pretty central to BRP so I would appreciate if you put back the code that makes skill work as they should.
Thanks,
Peter