Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

How to apply EFF_Files only when equipping either melee or range weapon

$
0
0
Hi guys,

Just wanna ask which opcode should I use to create an effect that only apply when I use either range / melee weapon.

For eg.: Extra 1 APS when using melee weapon.


Is such an effect possible?


I try to to look for similar item effect in BGEE, and archer eyes is the closest but it bug me with its interesting opcodes.


It uses opcode 301 with [0x1, 0x1], which means apply 5% critical chance on this weapon. Does it means the items description doesn't apply since it mention only +5% Critical hit chance on ranged attack. How does the engine differentiate between ranged or melee weapon.


Do enlighten me :)

Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images