FG Spreadshirt Swag
  1. #1

    Ruleset error? manager_char_weapon.lua

    I believe this is wrong.

    Code:
    --
    --	Property helpers
    --
    
    function getRange(nodeChar, nodeWeapon)
    	local nType = DB.getValue(nodeChar, "type", 0);
    	if (nType == 1) or (nType == 2) then
    		return "R";
    	end
    	return "M";
    end
    Should that not be

    local nType = DB.getValue(nodeWeapon, "type", 0); ?


    Far as I know nodeChars don't have a type
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset FGU Reference Module, or Web.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

  2. #2

  3. #3
    This was already queued for fix, and pushed today.

    JPG

  4. #4
    Quote Originally Posted by Moon Wizard View Post
    This was already queued for fix, and pushed today.

    JPG
    I only noticed when I was seeing how 5e managed some of it's action builders
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset FGU Reference Module, or Web.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

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