IETS - v0.5.1
    Preparing search index...

    Function RemoveSpell

    BG2 barrel re-exports.

    Generated by ts-update. Do not edit manually.

    Uses named re-exports (not export *) so esbuild can statically resolve each binding without falling back to runtime __reExport helpers for externalized .d.ts modules.

    • This action removes one memorised indtance of the specified spell from the spellbook of the active creature. The spell can be an innate ability, a priest spell or a wizard spell, but must be listed in [spell.ids]({{ ids }}/spell.htm).

       IF
         Global("KR_ANTI_PALADIN_CHANGE","LOCALS",1)
       THEN
         RESPONSE #100
           RemoveSpell(PALADIN_LAY_ON_HANDS)
           RemoveSpell(PALADIN_DETECT_EVIL)
           RemoveSpell(PALADIN_PROTECTION_FROM_EVIL)
           SetGlobal("KR_ANTI_PALADIN_CHANGE","LOCALS",2)
       END
      

      {% capture note %} Scripts can handle RES filenames with +, Dialogs and the console cannot. Same with the ~, `, ', @, $, ^, and & characters, maybe some more.

      • This action will default to a spell matching the first 7 characters in Dialogs/Console IF the 8th character isn't valid. {% endcapture %} {% include note.html %}

      Parameters

      Returns Action