• 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

Help with Eval script and creating items

SDDraco

New member
I am very useless at scripting and have tried many times to get these items created that i need. Can someone olkease help me with the eval scripts i need for the my item. Scripting just confuses the heck outa me :confused:

what im after are boots for a monk.
The boots have the magical ability to up the Monk slowfall and Monk speed bonus by four levels. So the effective levels for these will be 4 levels higher.

Any help would be greatly appreciated.
 
I usually just try and find an item that does something similar, and work from there. In this case, the Sash of the War Champion increases your effective Fighter level by 4 for the purposes of Bravery and Armor Training, so I just took that and subbed in the tags for monk speed and slow fall.

Code:
      doneif (field[gIsEquip].value = 0)

      hero.childfound[cMnkSpeed].field[xExtraLev].value += 4
      hero.childfound[cMnkSlow].field[xExtraLev].value += 4

That gives you what you need, with timing set to Pre-Levels 10000.
 
Back
Top