Skip to content

Select Spell [Opcode 214] Expansion

AquadrizztAquadrizzt Member Posts: 1,069
edited December 2016 in Feature Requests
Currently Select Spell allows only two modes: pick from all known (mage) spells and pick from a set list predefined in a .2da file.

It would be incredibly useful if an additional type could be added that allows use of the parameter to select from all known spells of a given level.

e.g. Opcode 214 with type = 2 [known of level], param = 3 [level 3 spells] would allow the caster to select any of their known 3rd level spells.

This has numerous uses, including the opportunity to more accurately replicate spontaneous casting progressions outside of the Sorcerer and Shaman classes.

EDIT: Per @kjeron, the following setup would be ideal:
kjeron said:

Similar format from Bonus Spells opcode:
Param1:
None = all
bit 1 = level 1
bit 2 = level 2
bit 3 = level 3
bit 4 = level 4
etc...
Param2:
none = 2da
bit1 = mage
bit2 = priest
bit3 = innate

Post edited by Aquadrizzt on

Comments

  • The user and all related content has been deleted.
  • OlvynChuruOlvynChuru Member Posts: 3,079
    How about this?

    2: Select from all known mage spells of [parameter] level
    3: Select from all known mage spells of [parameter] level or lower
    4: Select from all known priest spells
    5: Select from all known priest spells of [parameter] level
    6: Select from all known priest spells of [parameter] level or lower
    7: Select from all known innate abilities
  • kjeronkjeron Member Posts: 2,368
    Similar format from Bonus Spells opcode:
    Param1:
    None = all
    bit 1 = level 1
    bit 2 = level 2
    bit 3 = level 3
    bit 4 = level 4
    etc...
    Param2:
    none = 2da
    bit1 = mage
    bit2 = priest
    bit3 = innate
  • The user and all related content has been deleted.
  • RaduzielRaduziel Member Posts: 4,714
    Does anyone know how is it going?

    @JuliusBorisov ?
  • The user and all related content has been deleted.
  • AquadrizztAquadrizzt Member Posts: 1,069
    @Raduziel , although it probably won't be worked on officially, I do have something in the works that performs basically the same as the functionality I requested in the original post (if I've coded it properly...).
  • switswit Member, Translator (NDA) Posts: 495
    @Aquadrizzt, does your implementation work with UI.MENU lua code or it's a different solution? If the former - please post an example code here.
  • [Deleted User][Deleted User] Posts: 0
    edited October 2018
    The user and all related content has been deleted.
    Post edited by [Deleted User] on
Sign In or Register to comment.