Jump to content


Demivrgvs

Member Since 06 Feb 2006
Offline Last Active Aug 09 2013 12:14 PM

Topics I've Started

Opcode 183 Apply Effect Itemtype

22 June 2013 - 02:27 AM

Did ToBEx really fixed this opcode? :)

 

A player mentioned this here at G3, and with a quick search I found out AndreaColombo at BGEE says here that both 182 and 183 have been fixed...so, I looked at Modder Reference again and found out it seems true (not sure why I never noticed it before - is it recent?).

 

Now I'll have to try it asap because it opens way too much opportunities, and I'd be the happiest man on earth if it works as I hope, but I have a couple of questions:

 

1) how does it work the 'Type' field? Does it reference an IDS or 2DA? Or does it simply pick from item "category" entry (e.g. Armor 2, Plate Mail 64, Full Plate 65, etc.)?

 

2) I'm not sure I understand this: "Limitations: the effect is applied again if an already equipped matching itemtype is used to force-attack a target via the quickbar." So, if applied to a weapon the effect is re-applied if you select the weapon?

 

3) What if the itemtype is not equipped anymore? Does 183 work as a repeating EFF which checks every x time if the item is still equipped? Or is it a "one time only" check?

 

Thanks in advance.