Thread: MoreCore Ruleset
-
March 30th, 2020, 08:50 #1981
Is that up to 3 attributes or the attribute has a value of 1/2/3?
Your code gets a number from the modifier stack +5 to set the target success number.
Is that a macimum of 10 then including the +5? so if someone adds 8 to Modifier then it should still be a target of 10?
You want t count/display the number of successes?
eg 1/2/3
Are there botches/fails?
What should the output message say for ssuccess? for fail? for crits?
-
March 30th, 2020, 08:58 #1982
-
March 30th, 2020, 08:59 #1983
-
March 30th, 2020, 10:26 #1984Warrior-Priest
- Join Date
- Sep 2017
- Location
- France (Gard)
- Posts
- 44
is that up to 3 attributes or the attribute has a value of 1/2/3? --- 7 Attributes and valor : 1D to 3D
Tempory effects : -2D to +2D
skills : Beginner +1D, Confirmed +1D relaunch 1D, Expert +2D relaunch 1D, Master +2D relaunch 2D
spécialty skills + 1D
Equipment + 1D
Difficulty : simple action 3, easy action 5, difficult action 7, very difficult action 9, impossible action 10
successes : failure 0, 1 succes, 2 successes, 3 successes, 4 successes, 5 successes +
that's why I want to integrate modcollector modifier into my code lua to modifier difficulty
I have already included in record_char_main the number of dice
<number_charabilityscore name="vigueur" source="stats.vigueur.core">
<anchored to="physiqueframe" position="insidetopleft" offset="22,38" height="20" width="20" />
<script>
function action(draginfo)
local nodeWin = window.getDatabaseNode();
if nodeWin then
local rActor = ActorManager.getActor("pc", nodeWin.getChild("..."));
local nAttribLev = getValue();
nAttribLev = nAttribLev + (DB.getValue(nodeWin, "stats." .. self.target[1] .. ".mod", 0));
ActionAbility.performRoll(draginfo, rActor, nAttribLev, self.target[1]);
end
end
function onDragStart(button, x, y, draginfo)
return action(draginfo);
end
function onDoubleClick(x,y)
return action();
end
</script>
<target>vigueur</target>
</number_charabilityscore>
-
March 30th, 2020, 12:02 #1985
-
March 30th, 2020, 13:22 #1986
Steps to reproduce?
I started a new campaign, running only this extension, and it worked fine.
cannot reporoduce.png
Let me know how you produced the error and I'll look into it.
-
March 30th, 2020, 13:24 #1987
-
March 30th, 2020, 13:30 #1988
Not a valid use case. It only honors negative modifiers. Try /ubiquity 3d6+2d6-1.
-
March 30th, 2020, 13:48 #1989
-
March 30th, 2020, 14:05 #1990
Also true. Apply a modifier for the negative value.
Thread Information
Users Browsing this Thread
There are currently 3 users browsing this thread. (0 members and 3 guests)


Reply With Quote

Bookmarks