FG Spreadshirt Swag
  1. #1

    Bug: Allied wildcards get bennie when villians geta Joker

    Tip of the hat to Savage Doswelk for spotting this one.

    Replication steps:
    1. Start a new campaign
    2. Have a PC character sheet with assigned allied wildcards
    3. Add PC and allies to CT
    4. Add NPC hostiles
    5. Keep clicking on next round button on CT until hostiles get a joker bonus.


    Behaviour encountered: A set bennies will be given to hostile NPC side and allied wildcards.

    Expected behaviour: Only a set bennies will be given to hostile NPC side

    With more testing it appears that a PC getting a joker does not grant them to allied wildcards. So they will only ever geta bennies when hostile NPCs do.
    Last edited by Lonewolf; July 13th, 2022 at 04:08.
    Ultimate License holder.
    Over 10 years on Fantasy Grounds !

  2. #2
    I'll pass on to Ikael.

    Regards,
    JPG

  3. #3
    I believe the issue is that
    Code:
    if DB.getValue(nodeCT, "type") == "npc" and CharacterManager.isWildCard(nodeCT) then
    should read
    Code:
    if DB.getValue(nodeCT, "type") == "npc" and CharacterManager.isWildCard(nodeCT) and DB.getValue(nodeCT, "friendfoe") == "foe" then
    If Ikael looks into this thread it might be an easy fix.

    (manager_actioncard.lua, function triggerJokersWild(winGroup, oCard))
    Last edited by FrodoB; July 13th, 2022 at 21:58.

  4. #4
    Ikael's Avatar
    Join Date
    Jan 2008
    Location
    Finland/Joensuu
    Posts
    2,383
    You're right on the track here. This bug has been around since forever! Thank you got reporting this and figuring out the root cause.

    Quote Originally Posted by FrodoB View Post
    I believe the issue is that
    Code:
    if DB.getValue(nodeCT, "type") == "npc" and CharacterManager.isWildCard(nodeCT) then
    should read
    Code:
    if DB.getValue(nodeCT, "type") == "npc" and CharacterManager.isWildCard(nodeCT) and DB.getValue(nodeCT, "friendfoe") == "foe" then
    If Ikael looks into this thread it might be an easy fix.

    (manager_actioncard.lua, function triggerJokersWild(winGroup, oCard))
    "Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness

    Post your SavageWorlds ruleset feature requests and issue reports here!

  5. #5
    Bennie awards on Jokers don't seem to be working for "friendly" NPCs or "enemy" NPCs either in a test combat I just did. Players got Bennies just fine but not NPCs.

  6. #6
    Works fine for me. Added 3 Wildcards to the combat tracker, skipped through combat until a Joker got drawn - all the enemy NPCs and the GM got a Benny.

    Friendly NPCs are not supposed to get a Benny on a Joker.

  7. #7
    Quote Originally Posted by FrodoB View Post
    Works fine for me. Added 3 Wildcards to the combat tracker, skipped through combat until a Joker got drawn - all the enemy NPCs and the GM got a Benny.

    Friendly NPCs are not supposed to get a Benny on a Joker.
    Cool, didn't know that, so it is working fine. Thanks

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in