• 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

need mount to apply resistance to its rider

drakahn99

Well-known member
ive been trying to get a mount to apply resistance to cold to its rider. got close but as of yet still generating errors.
ive tried both of the following:
#applybonus[hero.master.child[xDamRsCold], 10]

and

hero.master.child[xDamRsCold].field[abValue].value = 10

got further with the second attempt as it compiled without error, however when adding the mount herolab generates an error stating that the field doesn't exist.

does any one have an idea on this?
 
The transition is slightly wrong. Remove the "hero" from it and it should work:
Code:
#applybonus[master.child[xDamRsCold], 10]
 
that reports a syntax error in eval script for thing, incorrect parameter count for macro reference in script.
 
ShadowChemosh was just modifying what you gave him, so his still included your error - #applybonus needs three entries, not the two you gave it. Also, #applydr is the correct macro to use for applying a DR, not #applybonus.

The macros won't work in this case, though, because they're usually not set up to allow transitions other than hero. You'll need to write out the full code:

Code:
master.child[cDamRsCold].field[abValue].value = maximum(master.child[cDamRsCold].field[abValue].value, 10)
 
ShadowChemosh was just modifying what you gave him, so his still included your error - #applybonus needs three entries, not the two you gave it. Also, #applydr is the correct macro to use for applying a DR, not #applybonus.

The macros won't work in this case, though, because they're usually not set up to allow transitions other than hero. You'll need to write out the full code:

Code:
master.child[cDamRsCold].field[abValue].value = maximum(master.child[cDamRsCold].field[abValue].value, 10)

thank you Mathias i would not have figured out all that on my own.
 
Back
Top