-
February 21st, 2021, 16:49 #81Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 2nd, 2021, 08:23 #82
- Join Date
- Apr 2020
- Posts
- 3
Hey,
first of all thanks for the amazing work.
About the bug with the PAIN Modifier. It still occurs if the PC only has 5 HP or lower (don't ask me why a PC only should have 5 HP)
And I have a question. Since some of my players are not familiar with the English language can I rewrite some of your code so it can handle the german terms for skills and attributes?
-
March 2nd, 2021, 08:28 #83
That's a known issues listed in post #3. The reason it hasn't been fixed is that I couldn't find clear rules on the exact pain thresholds for LP 5 or less.
Sure, you can do that. There's some information here: https://www.fantasygrounds.com/forum...l=1#post508803 Note - the extension in that thread is not the most recent, but it should give you some ideas.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 2nd, 2021, 08:51 #84
- Join Date
- Apr 2020
- Posts
- 3
Didn't check the old Post again. Sorry my bad on this one.
Okay thanks for the Info. Mainly its for the Names on the character sheets. So it should not really be a problem.
-
March 3rd, 2021, 22:44 #85
- Join Date
- Jun 2018
- Posts
- 4
-
March 4th, 2021, 06:00 #86
- Join Date
- Apr 2020
- Posts
- 3
Yeah, I know :-) But I already got it to work.
Of course, you need to change the attributes in the script. I changed them from the 3 letters in english to the 2 letters we use in german. Its not perfect but it works as intended.
Since I am not familiar with programming I can only read the scripts and modify them to a certain point.Last edited by MJLorne; March 4th, 2021 at 06:03.
-
October 15th, 2022, 22:20 #87
Is this TDE extension still being supported? I ask, because after importing "TDE - PC Template 1.xml" to create a new character, whenever I make an attribute or skill roll I'm getting these errors:
[10/15/2022 2:08:01 PM] [ERROR] Script execution error: [string "scripts/manager_custom_dsaatt.lua"]:89: attempt to concatenate field 'freeadjustment' (a nil value)[10/15/2022 2:04:36 PM] [ERROR] Script execution error: [string "scripts/manager_custom_dsaskill.lua"]:228: attempt to concatenate field 'freeadjustment' (a nil value)
This is the IF statement that the dsaskill.lua error is occurring within; error occurs within the Else branch which I've highlighted.
if #aModSlots > modSlotOffset then
-- Get the total modifier from the slots after the first 3
local nModSlotCount = 0;
for nModSlotCount = modSlotOffset + 1, #aModSlots, 1
do
Debug.console("Modslot modifier " .. nModSlotCount .. " = " .. aModSlots[nModSlotCount].number);
rRoll.totalMod = rRoll.totalMod + aModSlots[nModSlotCount].number;
end
Debug.console("Total mod from slots to skill check = " .. rRoll.totalMod);
local bDescNotEmpty = (rRoll.sDesc ~= "");
local sStackDesc, nStackMod = ModifierStack.getStack(bDescNotEmpty);
Debug.console("sStackDesc before attribute removal = " .. sStackDesc);
-- Remove attribute names from modifier text
sStackDesc = string.gsub(sStackDesc, rRoll.slot1attr .. " %+" .. rRoll.slot1target .. ", ", "", 1);
sStackDesc = string.gsub(sStackDesc, rRoll.slot2attr .. " %+" .. rRoll.slot2target .. ", ", "", 1);
sStackDesc = string.gsub(sStackDesc, rRoll.slot3attr .. " %+" .. rRoll.slot3target .. ", ", "", 1);
sStackDesc = string.gsub(sStackDesc, rRoll.slot3attr .. " %+" .. rRoll.slot3target, "", 1);
Debug.console("sStackDesc after attribute removal = " .. sStackDesc);
-- Add modifier stack text to overall roll description
if sStackDesc ~= "" then
if bDescNotEmpty then
rRoll.sDesc = rRoll.sDesc .. "\r\n[" .. sStackDesc .. "]";
else
rRoll.sDesc = sStackDesc;
end
end
else
if ModifierStack.freeadjustment ~= 0 then
rRoll.sDesc = rRoll.sDesc .. "\r\n[Mod: " .. ModifierStack.freeadjustment .. "]";
end
endLast edited by kronovan; October 15th, 2022 at 22:24.
-
October 16th, 2022, 03:21 #88Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
October 16th, 2022, 22:43 #89
-
October 17th, 2022, 01:39 #90Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks