Magic item that only works for a character with a certain class ability
Hello, All,
I am wondering if there is a way to make a magic item's benefits only apply if the character who is equipped with it has a certain class ability (in this case, the favored enemy ability that Ranger's have). Any help would be appreciated. Thanks |
What's the text of the ability? There could be a few different ways, some easier than the others. In all honesty unless you're worried the item will be passed around to different characters it's not usually to much to worry about enforcing this kind of thing.
Easiest way is just to use an eval rule to check if they have the ability after it's put on and throw and error if not. |
Thanks Andrew,
Do you know the scripting I would need to do to create that eval rule? I'm still learning how to traverse the object hierarchy. |
Quote:
Code:
#resmax[resEnemSel] <> 0 |
Otherwise you can use #hasability[???] <> 0 where ??? is the id of the specific favored enemy you want.
|
Thanks for your help guys. I really appreciate it.
|
All times are GMT -8. The time now is 07:45 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.