Junior Member
Join Date: Apr 2018
Posts: 1
|
Greetings,
I'm a new user of Hero labs, and I love it. I'm Savaging the old Kingdoms of Kalamar setting from D&D 3.0, and it's working out great. I have created new races and weapons and other basic Things. I am currently attempting to Savage the Sahuagin from D&D 3.0, and I've discovered a challenge above my pay grade: Freshwater Sensitivity. Essentially it is a Racial "Ability" that causes a -2 (my number) to ALL checks, trait, skill, attack, if the creature is submerged in freshwater and fails a Vigor roll. what would be the most efficient way of tackling this? Thanks! |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,550
|
Well, to make sure it stacks with Wounds, you probably want to do a foreach loop on component.Trait and alter the field[trtFinal].value somewhere around Traits 7000.
_ Currently In Development: Savage Pathfinder, SWADE Fantasy Companion Future Development: SWADE Super Powers Companion, SWADE Sci-Fi Companion _ Currently Running: Savage Unity Inc. (homebrew multiverse theme) Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane Future Setting Files: Savage Judge Dredd |
#2 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
CC, I think a new user is going to need more help than that. First it's a situational modifier so you'll need to put the code in for a check for if it's been activated. Those lines look like:
Code:
if (field[abilActive].value <> 0) then your-code-here endif The bigger part would then be affecting every Trait roll (in SW parlance a Trait roll encompasses all Skill and Attribute rolls), which is effectively the same thing as what having 2 Wounds does. I had to dig a bit in the source files, but if I'm reading them right (and I could be WAY off base with this) I THINK the thing you would modify here would be "acNetPenal". Presumably this needs to stack with the normal max Wound penalty of -3, so CC's statement above applies for trying to get the timing for this right so it will properly stack AFTER the Wound Penalties are applied. So I think maybe something like the below set to Traits:7000 will ensure it happens after Net Penalties is calculated (which appears to be at Traits:5000) might do it, and you may want to add a Beforeerived trtFinal to it: Code:
if (field[abilActive].value <> 0) then herofield[acNetPenal].value +=2 endif Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) Last edited by zarlor; April 9th, 2018 at 07:51 AM. |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,550
|
Well, Z, I try not to assume someone's level of knowledge. But yes, you do have a point.
And you're right about putting the conditional on it. So it will also need the User.Activation flag applied to it so it shows up on the In Play tab. The reasons I didn't mention acNetPenal is that it's where I put the limit of -3. Using that field will not allow greater than the -3 that applies to Wounds. _ Currently In Development: Savage Pathfinder, SWADE Fantasy Companion Future Development: SWADE Super Powers Companion, SWADE Sci-Fi Companion _ Currently Running: Savage Unity Inc. (homebrew multiverse theme) Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane Future Setting Files: Savage Judge Dredd |
#4 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Sorry, CC, I guess my making that same assumption is largely predicated on spending almost my entire career in IT where you start with accepting that folks have almost no knowledge and ramping up the complexity if they seem to know what they are doing. I didn't mean to imply anything derogatory about your approach. In any case I thought if it was done at Traits:7000 that would be after the -3 limit was set, so even I'm clueless (although that's not saying much!) about where it should have gone. So what field should that be set to?
Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,550
|
No, I can understand that approach as well. I had just gotten back from a 4-day game convention and gave just a brief answer as a result. It'd be eachpick.field[trtFinal].value for each Trait the loop hits.
_ Currently In Development: Savage Pathfinder, SWADE Fantasy Companion Future Development: SWADE Super Powers Companion, SWADE Sci-Fi Companion _ Currently Running: Savage Unity Inc. (homebrew multiverse theme) Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane Future Setting Files: Savage Judge Dredd |
#6 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Oh, so you'd have to loop through every trait on the sheet? So I would need multiple loops, then? SOmething like:
Code:
if (field[abilActive].value <> 0) then foreach pick in hero from Skill eachpick.field[trtRoll].value -= 2 nexteach foreach pick in hero from Attribute eachpick.field[trtRoll].value -= 2 nexteach endif Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,550
|
That's why you use Trait, it does it in one. If he didn't want it to affect Derived Traits, just throw in an if statement to skip the mod if the component.Derived tag is present.
_ Currently In Development: Savage Pathfinder, SWADE Fantasy Companion Future Development: SWADE Super Powers Companion, SWADE Sci-Fi Companion _ Currently Running: Savage Unity Inc. (homebrew multiverse theme) Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane Future Setting Files: Savage Judge Dredd |
#8 |
|
|