Jump to content

Spell Cooldown


Job4aCowboy

Recommended Posts

Hey, I'm trying to add a Cooldown effect to one of my spells.

 

My spell runs off a script, it bascially summons multiple NPC's. I need a cool down of a couple of minutes, I've tried adding to my script an IF statement, that checks the player for an active magic effect, this points to my dummy cool down spell.

 

It isn't working as intended though, either the Cool down spell is applied before the main spell fires, meaning the spell can never be cast. Or it works fine, until the player casts again in the 2 minutes period, where the initial spell is dispelled.

 

I basically need to prevent the player from casting at all if they have this cooldown effect active. anyone know how to do this?

 

You help is appreciated...

 

 

 

Thanks

 

 

 

Job4aCowboy

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...