• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Adding an ability structured like Favored Enemy/Terrain.

LazarX

Well-known member
I'm working on building the classes for the LSJ campaign and I'm currently working on the Noble Class.

The Noble has a class ability called "Sphere of Influence" which is structured like the Ranger Class ability save that it gives improving bonuses to social skills in areas of influence, i.e. cities, nations, the way favored enemy works on creature types.

I've tried looking at copies of the ranger class, but still have no idea on how to build this.
 
There is a "Favored Community" ability that certain archetypes get, perhaps you could look to that?
 
No luck there, I still don't know how to integrate the ability into the class.

Short form: I want to put an ability that's structured like Favored Enemy/Terrain where you can upgrade previous bonuses, but the ability affects social skills. I also need to put in an ability that gives a class level/2 bonus to a skill.
 
I've got a class ability or two based on existing code that increases on a regular basis. If I'm correct, what you want is to choose which "skills" get the increase - is that right? If so, I haven't worked out a way to do that, but I want the same thing for another ability - so if you work it out, can you post your code!
 
Last edited:
I created a quick "example 1" class in the attached .user file that duplicates the Fav Enemey logic without actually using the built in HL Fav Enemy components. I did this because Fav Enemy components are not exposed at all in the editor and you would be forced to work at the XML level. If I get time in the future maybe I will add a editor tab for Fav Enemy/Terrain but that will take longer than I have currently.

Add the attached .user file to your HL and start HL. Then add the class 'Example 1'. Then on the "Example 1" tab you have the ability to add a new "Fav Enemy Chooser". This represents your nobles skills or anything else you want to be chosen. You could even code this to have a dropdown of skills after being added....

You can see the ability has a +2 bonus at this level. Now then increase the class level to 3. At level 3 you can add a new 'fav enemy chooser' and the drop down on the "Fav Enemy Upgrade 1" ability allows you to chose an ability to upgrade.

After adding a new Fav Enemy and selecting one to upgrade I have one with a +4 bonus and one with a +2 bonus.

Hope that helps.... :)
 

Attachments

I created a quick "example 1" class in the attached .user file that duplicates the Fav Enemey logic without actually using the built in HL Fav Enemy components. I did this because Fav Enemy components are not exposed at all in the editor and you would be forced to work at the XML level. If I get time in the future maybe I will add a editor tab for Fav Enemy/Terrain but that will take longer than I have currently.

Add the attached .user file to your HL and start HL. Then add the class 'Example 1'. Then on the "Example 1" tab you have the ability to add a new "Fav Enemy Chooser". This represents your nobles skills or anything else you want to be chosen. You could even code this to have a dropdown of skills after being added....

You can see the ability has a +2 bonus at this level. Now then increase the class level to 3. At level 3 you can add a new 'fav enemy chooser' and the drop down on the "Fav Enemy Upgrade 1" ability allows you to chose an ability to upgrade.

After adding a new Fav Enemy and selecting one to upgrade I have one with a +4 bonus and one with a +2 bonus.

Hope that helps.... :)

Thank you much. Another avenue for a quick and dirty route was to make a copy of your Favored Terrain adjustments and figure out the skill logic choices.
 
Update. I renamed the file to remove the special character in front. droped in my game system folder and restarted herolab. The only thing I'm finding is a Favored Enemy and Terrain count adjuster. It does put in the counter, but it still doesn't let me adjust the skills and targets (which I would put in as a write in field.
 
I dont understand your comments about adjustments. The file I attached is a "class" that mimics Fav Enemy. ;

Here is what I said.;
Add the attached .user file to your HL and start HL. Then add the class 'Example 1'. Then on the "Example 1" tab you have the ability to add a new "Fav Enemy Chooser". This represents your nobles skills or anything else you want to be chosen. You could even code this to have a dropdown of skills after being added....

You can see the ability has a +2 bonus at this level. Now then increase the class level to 3. At level 3 you can add a new 'fav enemy chooser' and the drop down on the "Fav Enemy Upgrade 1" ability allows you to chose an ability to upgrade.

After adding a new Fav Enemy and selecting one to upgrade I have one with a +4 bonus and one with a +2 bonus.

Hope that helps.... ;)
This is an Example. Once you understand the logic you can then adapt it into your own class...
 
Update. I renamed the file to remove the special character in front. droped in my game system folder and restarted herolab. The only thing I'm finding is a Favored Enemy and Terrain count adjuster. It does put in the counter, but it still doesn't let me adjust the skills and targets (which I would put in as a write in field.

Never mind, I found the class Example 1 and I've also opened the file in both wordpad and the herolab editor. It looks like I've got to create other things to make it happen?
 
Never mind, I found the class Example 1 and I've also opened the file in both wordpad and the herolab editor. It looks like I've got to create other things to make it happen?
Correct. You will not easily make use of the existing Favored Enemy logic from LW. Not unless. You want to do everything outside of the editor. :)
 
Correct. You will not easily make use of the existing Favored Enemy logic from LW. Not unless. You want to do everything outside of the editor. :)

Is there a way then to make anew version of your Favorted Terrain adjustment? The one you created for bettter IPad use? Instead of a drop down list for targets, for each adjustment I only need the user to enter a region such as a city or continent, where the bonuses for Diplomacy and Knowledge Local will apply.
 
Last edited:
Is there a way then to make anew version of your Favorted Terrain adjustment? The one you created for bettter IPad use? Instead of a drop down list for targets, for each adjustment I only need the user to enter a region such as a city or continent, where the bonuses for Diplomacy and Knowledge Local will apply.


Update on that last. I have succesfully created a version of your adjustment that gives the values needed. The only thing I need to do for my immediate purposes would be to change the drop down field to a write in, and the In Favored Terrain in the display check box to In Favored Region.

Edit: I have acheived the last part. What I need to do now is to change the drop down to a write in. and I'd like the In Play option to display a value in the formula of the Derived Bonus + Charisma Modifier +half the class level.
 
Last edited:
Thanks Shadow - that was enough to get one of my Class Abilities on the right track and I can see how to modify it to use it for at least two others that I want to do in future.
In my efforts today playing around with your code, I learned some new things with the editor that I didn't understand previously and I've now recorded for future use! It's always good learning more with HL! :)
 
I've just been using the editor (for this) - but I use Notepad++ occasionally because it copes very well with XML.
 
Back
Top