• 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

Adding Special abilities in Eval Scripts

UndeadDan

Well-known member
Currently attempting to create the Jotunblood Giant template from the Advance Bestiary. This is my first attempt at eval scripts and it's actually going fairly smoothly. I've implemented a size increase based on the original size, an armor bonus based on new size and a series of attribute adjustments based on the new size as well as creating proper pre-requisites. Most of this is being done by copying and editing work done by other much more adept people in the community.

Here's where I am stuck: I cannot figure out how to add a special ability to the creature from within the script. I have no trouble creating the conditionals but the result of said conditional eludes me.

Anyone willing to share how I might add simple stuff like Damage reduction, resistance to cold or fast healing from within the script?

Thanks!

Dan
 
You're not looking for conditional bootstraps here - you're looking to control the amount of whatever in a script - all of the abilities you've listed will automatically hide themselves if their value is 0, so what you need to do is assign the correct values only while the ability is active.
 
Back
Top