• 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

Desecrate Adjustment

clavin123

Active member
I'm programing a spell adjustment for Desecrate that would be applied to Undead if they are in the AoE for a Desecrate spell.

Modifying Prayer for Profane bonuses, no skills impact, and a value of 1 or 2 was straight forward.

However, I'd love to be able to avoid an accidental application of the bonuses to non-undead and I can't figure out how to phrase a "doneif" to get out of the script if the hero is not undead. I tried all sorts of variations on things pulled from the undead traits debugging information, but just don't have the knowledge to make it work.

Guessing this is something straight forward to those with more expertise than I have...

~ If we're not undead, get out now
doneif (WHAT GOES HERE????)

Thanks!
 
Back
Top