-
December 13th, 2020, 03:16 #31bmos' pathfinder 1e extensions
he/him | Discord Tag: wil.thieme#3396
-
December 13th, 2020, 18:04 #32
I found the code:
function onDamageRoll_new(rSource, rRoll)
-- Set up for meta damage processing
local bMaximize = rRoll.sDesc:match(" %[MAXIMIZE%]");
local bEmpower = rRoll.sDesc:match(" %[EMPOWER%]");
local bPowerfull, nPowerfull = hasSpecialAbility(rSource, 'Powerfull Sneak', false, false, true);
-- check for Powerfull Sneak (ex)
if bPowerfull then
for _, v in ipairs(rRoll.aDice) do
local nDieSides = tonumber(v.type:match("[dgpr](%d+)")) or 0;
if nDieSides > 0 then
if v.result <= nPowerfull then
v.result = nDieSides;
v.value = nil;
end
end
end
end
-
December 13th, 2020, 18:39 #33bmos' pathfinder 1e extensions
he/him | Discord Tag: wil.thieme#3396
-
December 15th, 2020, 02:48 #34
-
December 15th, 2020, 13:34 #35bmos' pathfinder 1e extensions
he/him | Discord Tag: wil.thieme#3396
-
December 16th, 2020, 02:54 #36
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks