Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

infinite casting


I'm trying to make a spell castable infinite times per day but the only way I've found to do that is to apply opcode 316 to it and that would have the unwanted side effect of making everything else castable infinite times per day as well.

So I'm looking for a better way via scripts but I can't find an action to restore a spell that has been cast... is there one that I'm missing? Or can anyone think of some other way to implement this?


  • subtledoctorsubtledoctor Member Posts: 11,460
    edited December 2014
    Yes, and it's actually rather simple, assuming you're talking about an innate ability, which is how I've done it. You make the ability as usual, a 1x/day ability. Then apply an effect (in the spell's 'Global Effects,' not in the 'Abilities') using the 'remove spell' opcode (125? 145? somewhere around there) and referencing the ability itself. Then add another Global Effect with the 'add innate ability' opcode (around the same place) again referencing the ability itself.

    For a concrete example, install only the Wizards component of my Scales of Balance mod and take a look at my cantrips. They can be cast every 18 seconds but you can remove the delay to make the ability truly at-will.

    You can play around with this technique, for instance to toggle between two abilities. I do that to make the barbarian walking speed bonus something you can turn on and off at will; and to allow monks to toggle between enchanted and unenchanted fists.

  • GrammarsaladGrammarsalad Member Posts: 2,509
    You can do this with memorized spells as well with opcode 261. Ensure the params match your spell and then put the spell name in the resource key.

    If it's an innate, use subtle doctors method; if it's a normal spell, use this one

  • GrammarsaladGrammarsalad Member Posts: 2,509
    Let us know if you have any trouble

Sign In or Register to comment.