Skip to content

reseting a spell caster's spells

How might I go about reseting/replenishing a spell casters spells after a number of rounds?

Comments

  • ProlericProleric Member Posts: 1,281
    ForceRest()

    If you only want to replenish spells, you can record current hit points first, then apply damage afterwards. Same with feats.
  • Str8TStr8T Member Posts: 18
    It isn't doable in the base game, however nwnx plugins makes this possible. Few months ago I was working on a spell cooldown system for spellcaster bosses on my server, so if you are using nwnx I can share some scrips as examples.
  • GenisysGenisys Member Posts: 37
    edited January 2022
    To be honest, it's best to just fast rest the caster, this will remove all caster effects as well...

    Use This Function...
    ForceRest(oPC);

    Unfortunately it will also heal them too...

    But pressing the R button does the same thing as well anyway...
    (Just saves the party time from having to wait for the caster to rest all the time.)

    I'd recommend a scripted / tagbased potion of replinishing (Make them expensive and rare too)
  • QuilistanQuilistan Member Posts: 177
    I am not looking to do this to PCs.

    I would like some of my bosses/in this case a lich to regain spells after a period of time during combat, instead of just being in melee for the remainder of a battle.

    Is it the same as PC's or is there a way for NPCs?
Sign In or Register to comment.