• 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

Creating Custom Class With Multiple Special Abilities

ecultist

New member
Hi,

I'm trying to create a Custom Class using the Editor and I've run into a few difficulties.

I have a special ability called 'Refine Technique' which allows a character to select from the following list of items: Distant Melody, Distracting Melody, Favored Audience and Inescapable Performance. They are selected at levels 5, 9, 13, etc.

I have created Refined Technique as a Class Special in an attempt to make it like the Rogue's Special Ability and the options which were available to be selected Distant Melody, etc. were created as Custom Abilities.

Even though I'm trying to base the process off of the Rogue class, I can't seem to figure out how to link Distant Melody, etc. to Refined Technique so the character can choose an option on the Class tab in the character editor. Any assistance would be greatly appreciated.
 
Hi. Sorry for missing this previously.

Assuming Refined Technique is a class special, you can use the Custom Expression under "Dropdown Selection Setup" to get what you need. A custom expression is nothing more than a collection of tags. For your purposes, you can be very specific with what you want to show up in the dropdown selection menu by using your specials thingids. I'm going to use example thingids. You'll want to use your own:

Code:
thingid.xDistMel & thingid.xDistMel & thingid.xFavAud & thingid.InesPerf

Other ways to use this feature would be to allow any class special that is on your character and is specific to the class you created, like this:

Code:
component.BaseClSpec & SpecSource.cHelpCus & Helper.ShowSpec

You'll want to replace cHelpCus with whatever the thingid is for your class helper thing. This code would actually include Refine Technique in the list. To avoid that, you can do something like this:

Code:
component.BaseClSpec & SpecSource.cHelpCus & Helper.ShowSpec & !thingid.xRefTech

By placing '!' in front of the thingid tag, you are telling HL to exclude anything with that tag on it. Also, for reference, you can use '|' as OR.

Lastly, you'll want to select All Picks on Hero in the Restrict First List To... dropdown.

Hope this helps.
 
Code:
thingid.xDistMel & thingid.xDistMel & thingid.xFavAud & thingid.InesPerf
Sorry for butting in again but I think this is a MT with the & sign. The above is saying that the Pick would need ALL those tags present to be valid. Which nothing will have all 4 thingid.? tags. I think you mean to use "|" for "OR".

Code:
thingid.xDistMel | thingid.xDistMel | thingid.xFavAud | thingid.InesPerf
This means that if any of these tags are present on a Pick it will get displayed in the dropdown list.
 
Back
Top