Page 1 of 1

Resolvers (item ego)

Posted: Wed Jan 29, 2014 11:08 am
by Doctornull
I want an item ego which bases part of its benefit on the item's OTHER ego.

Specifically, I want to make a glove suffix ego which takes the bonus melee provided by the prefix ego (if any) and grants equal bonus ranged damage.

Any thoughts on how to do this?

Thanks!

Re: Resolvers (item ego)

Posted: Wed Jan 29, 2014 11:13 am
by darkgod
I'd say you use

Code: Select all

resolvers.genericlast(function(e) ... alter stuff based one properties ... end)

Re: Resolvers (item ego)

Posted: Wed Jan 29, 2014 11:27 am
by Doctornull
I'll try that, thanks!

Re: Resolvers (item ego)

Posted: Wed Jan 29, 2014 2:20 pm
by Doctornull
Works. Yay!