• 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

Favored Faction?

Frodie

Well-known member
Just wondering if I can add factions to the Favored Enemy list? Not a big deal because I have it already set up to mimic "Favored Enemy" anyways. Just wondering if it can be done.

This is what I have ATM Final 999999999

Code:
linkage[table].field[cFav1Expr].text = "(component.BaseFact)"
 
There are ways to create new ones, you just have to edit the xml directly. Search the forums, there's a post where Aaron gives me the XML.
 
Getting there, but I don't think a loop works in the xml. IDK Anyways here is my first crack at it. Not working but it's a start.

Code:
  <thing
foreach pick in hero from BaseFact 
    id="thingid.fac?"
    name="thingid.fac?"
    compset="CustUser"
    uniqueness="unique"
    description="At 1st level, a ranger selects a creature type from the ranger favored enemies table. He gains a +2 bonus on Bluff, Knowledge, Perception, Sense Motive, and Survival checks against creatures of his selected type. Likewise, he gets a +2 bonus on weapon attack and damage rolls against them. A ranger may make Knowledge skill checks untrained when attempting to identify these creatures.{br}{br}At 5th level and every five levels thereafter (10th, 15th, and 20th level), the ranger may select an additional favored enemy. In addition, at each such interval, the bonus against any one favored enemy (including the one just selected, if so desired) increases by +2.{br}{br}If the ranger chooses humanoids or outsiders as a favored enemy, he must also choose an associated subtype, as indicated on the table below. (Note that there are other types of humanoid to choose from—those called out specifically on the table below are merely the most common.) If a specific creature falls into more than one category of favored enemy, the ranger's bonuses do not stack; he simply uses whichever bonus is higher.">
    <fieldval field="shortname" value="thingid.fac?"/>
    <fieldval field="abUser" value="2"/>
    <fieldval field="abUserMin" value="2"/>
    <tag group="AbilType" tag="Extra"/>
    <link linkage="selections" thing="resEnemSel"/>
    <link linkage="upgrades" thing="resEnemUpg"/>
    <eval index="1" phase="PostAttr" priority="200000">
      <before name="Calc resLeft"/><![CDATA[
      doneif (tagis[Helper.ShowSpec] = 0)

      var favbonus as number
      favbonus = field[abValue].value
      call FavEnemy
      ]]></eval>
nexteach
 
Uh, no, loops do not work like that at all. You have to make a new favored enemy for each faction if that's what the situation is.
 
Yea, that's is what I was thinking. NP, what I have that mimic it works just fine. Just want to see "if".
 
Back
Top