• 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

Alt. Racial trait does not totally remove racial trait

peterphonic

Active member
I have the following :

Racial trait :
1- Pyrophobia (situational : give -2 to all saves vs fire)​

Alt. Racial Trait:
1- Adaptative : Replace Pyrophobia​

So, in my race, when I pick Adaptive from alt. racial trait, I can see Pyrophobia being grayed out, which is perfect. The problem is, when I go to Abilities tab and do a mouse over the save, I still get the popup sayin "Situational bonus and penalities. Pyrophobia, -2 vs fire spell"

So, the removing of the racial trait did not work totally.

Pyrophobia racial trait has the following eval script (timing: Render) :
Code:
      ~if we've been disabled, get out now
      doneif (tagis[Helper.SpcDisable] <> 0)

#situational[hero.child[svAll], "-2 vs fire spell", field[thingname].text]

I thought that the part Helper.SpcDisable was for that... What it is for then?

My script is based on Defensive Training

Thank you
 
So that is very strange as what you have listed should work. So here are the steps I would do for testing:

1) Do a "CTRL-R" to totally reload HL which makes sure no issues with scripts and Things loading.
2) Make sure you are not testing with a race that was saved in a .por file. This can sometimes cause strange results.
3) If on a fresh reloaded you still have the same problem I would add "debug" statements:

Code:
~if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
debug "Pyrophobia Ran"
#situational[hero.child[svAll], "-2 vs fire spell", field[thingname].text]

Then go to Develop->Floating Info Windows->Debug Window. Do a CTRL-R again and add the race. Does it say "Pyrophobia Ran" in the debug window? Then add the ART and see if it still says "Pyrophobia Ran" in the debug window.

Those are the steps I would do to narrow down and confirm where the issue could be.
 
2) Make sure you are not testing with a race that was saved in a .por file.

Great! That was it. I just re-started a new portfolio and everything works fine. I was working with the same custom race since a couple of days. I guess that the .por file was sort of corrupted?

Thank you very much!
 
Great! That was it. I just re-started a new portfolio and everything works fine. I was working with the same custom race since a couple of days. I guess that the .por file was sort of corrupted?

Thank you very much!
Yea correct. I learned this the hard way also. Too many changes, especially with bootstraps, causes it to act really strange. :)
 
Back
Top