Joshua Stream Pre
Page 4 of 4 First ... 234
  1. #31
    Quote Originally Posted by dellanx View Post
    There is also:
    https://www.d20pfsrd.com/classes/cor...stating-sneak/

    Devastating Sneak (Ex)


    Prerequisites: Powerful Sneak, Deadly Sneak, Advanced Rogue Talents.

    Whenever a rogue with this talent uses the powerful sneak rogue talent, she treats all 1s, 2s and 3s on the sneak attack damage dice as 4s.

    What is the hardest part of these? Differentiating between damage types?
    Not really, because it would be included in the "sneak attack" buttons you would likely have set up for those enemies. It would probably take the form of an effect like I mentioned in the last post I made (this way it would only occur when sneak attacking).
    bmos' pathfinder 1e extensions
    he/him | Discord Tag: wil.thieme#3396

  2. #32
    dellanx's Avatar
    Join Date
    Sep 2015
    Location
    Chicago, IL
    Posts
    955
    Quote Originally Posted by bmos View Post
    Not really, because it would be included in the "sneak attack" buttons you would likely have set up for those enemies. It would probably take the form of an effect like I mentioned in the last post I made (this way it would only occur when sneak attacking).
    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
    -- Got that far not sure where to put in “MINDMGDIE: 2” for example. Also this is precision damage, how will this restrict just precision damage?

  3. #33
    Quote Originally Posted by dellanx View Post
    I found the code:



    -- Got that far not sure where to put in “MINDMGDIE: 2” for example. Also this is precision damage, how will this restrict just precision damage?
    Oh, now I get what you mean. I think that change has to go into a different function altogether. I think there's some code somewhere that already identifies precision damage for creatures that are immune to criticals...
    bmos' pathfinder 1e extensions
    he/him | Discord Tag: wil.thieme#3396

  4. #34
    dellanx's Avatar
    Join Date
    Sep 2015
    Location
    Chicago, IL
    Posts
    955
    Quote Originally Posted by bmos View Post
    Oh, now I get what you mean. I think that change has to go into a different function altogether. I think there's some code somewhere that already identifies precision damage for creatures that are immune to criticals...
    Too bad one can't write:

    Sneak Attack; DMG: 2d8r2 precision

  5. #35
    Quote Originally Posted by dellanx View Post
    Too bad one can't write:

    Sneak Attack; DMG: 2d8r2 precision
    I should probably look at morecore one of these days, I think it has that sort of thing...
    bmos' pathfinder 1e extensions
    he/him | Discord Tag: wil.thieme#3396

  6. #36
    dellanx's Avatar
    Join Date
    Sep 2015
    Location
    Chicago, IL
    Posts
    955
    Quote Originally Posted by bmos View Post
    I should probably look at morecore one of these days, I think it has that sort of thing...
    That sounds good.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in