Skip to content

Is this possible to create?

GreenerGreener Member Posts: 430
To have an item raise an ability score by a incremental number to a maximum number?

For example:

Equipped abilities:
+2 to constitution to a maximum of 20

Comments

  • The user and all related content has been deleted.
  • GreenerGreener Member Posts: 430
    @subtledoctor

    Thank you for your time, that does seem to be a wee bit of a pain to implement...
  • argent77argent77 Member Posts: 3,433
    It's actually not that difficult to apply this effect to an item:
    - Add opcode 318 (Protection from spell) with condition: CON >= 20, timing mode: 10, duration: 1, resource: your ITM resref
    - Add opcode 10 (Constitution bonus), bonus: +1 increment, timing mode: while equipped
    - Add opcode 318 (Protection from spell) with condition: CON >= 19, timing mode: 10, duration: 1, resource: your ITM resref
    - Add opcode 10 (Constitution bonus), bonus: +1 increment, timing mode: while equipped

    Disadvantage of this method: Works only on recent EE versions (v2.0+). Everything after the protection opcode will be skipped, so it might not work for every setup.
  • The user and all related content has been deleted.
  • GreenerGreener Member Posts: 430
    @argent77 @subtledoctor Thank you for your time and input.
  • KilivitzKilivitz Member Posts: 1,459
    Zyraen's Miscellany over at Pocket Plane has a component called Item Stat Bonuses which makes every item that sets stats to a fixed value give stat bonuses instead. I think it's only for the original BG2 but the code may be worth checking out.
Sign In or Register to comment.