• 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

New Race: Need Help with Script

I'm programming a new race, one that doesn't take a negative level when wielding a holy weapon. I copied this part from the holy weapon magical quality:

doneif (hero.tagis[Alignment.Good] = 0)

However I"m not sure where exactly to go from there. Here's the rest of the code for the holy weapon quality for quicker reference:

if (container.parent.field[gIsEquip].value + container.parent.field[wIs2nd].value = 0) then
done
endif
herofield[tNegLevel].value = herofield[tNegLevel].value + 1

Thanks,
 
Back
Top