IETS - v0.5.1
    Preparing search index...

    Function MoraleInc

    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 alters the morale of the target by the specified amount. The change amount can be positive or negative. The example script is from bardsh.bcs.

       IF
         AttackedBy([GOODCUTOFF],DEFAULT)
         Allegiance(Myself,NEUTRAL)
         Global("PlayerAttackedActors","GLOBAL",0)
       THEN
         RESPONSE #100
           SetGlobal("PlayerAttackedActors","GLOBAL",1)
           MoraleInc(Myself,-5)
           Enemy()
       END
      

      Parameters

      Returns Action