Author Topic: Incrementing feat uses  (Read 423 times)

Legacy_Terrorble

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Incrementing feat uses
« on: September 26, 2010, 10:37:10 pm »


               Anyone know of a way to set smite evil/good to 1x/day, then have the ability regenerate over time?

I've had some players ask about this and they likely saw it done somewhere.  I wasn't having any luck with a vault search.

The only approach that comes to mind...

Reduce the uses per day to 0 OnModuleEnter or OnRested, then bump it back to 1.  Then run a pseudo-heartbeat every so long to give them a use based on extra smiting, class levels, CHA modifier and that sort of thing.  I assume from the Lexicon's description of decrement/incrementRemainingFeatUses that I could do this. 

Maybe this is how it's been done.  Thoughts?
               
               

               
            

Legacy_Mudeye

  • Full Member
  • ***
  • Posts: 238
  • Karma: +0/-0
Incrementing feat uses
« Reply #1 on: September 29, 2010, 12:26:13 am »


               Have you tried using:  IncrementRemainingFeatUses(object oCreature, int nFeat)

               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Incrementing feat uses
« Reply #2 on: September 29, 2010, 12:56:18 am »


               

Terrorble wrote...

The only approach that comes to mind...

Reduce the uses per day to 0 OnModuleEnter or OnRested, then bump it back to 1.  Then run a pseudo-heartbeat every so long to give them a use based on extra smiting, class levels, CHA modifier and that sort of thing.  I assume from the Lexicon's description of decrement/incrementRemainingFeatUses that I could do this. 

Yes this is your only chance to "regenerate" it.

What I have done is to change per day uses by 3.5 rules which means another use every 5 levels. If you are interested about this, I will tell you how, this change do not need haks.
               
               

               
            

Legacy_Terrorble

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Incrementing feat uses
« Reply #3 on: September 30, 2010, 06:44:42 am »


               If that's my only chance, then I'll run with that.  What's one more psedo-HB running on the stack anyway '<img'>