Author Topic: TMI Issue -- What's the Limit?  (Read 464 times)

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
TMI Issue -- What's the Limit?
« Reply #15 on: June 07, 2014, 07:11:13 pm »


               

okay then try this:


 


when item is at 0 charges


 


1. increase charge


2. add a new cast spell itemproperty


3. remove the original cast spell itemproperty


 


just and idea but might preserver the quickslot



               
               

               
            

Legacy_MagicalMaster

  • Hero Member
  • *****
  • Posts: 2712
  • Karma: +0/-0
TMI Issue -- What's the Limit?
« Reply #16 on: June 07, 2014, 08:32:48 pm »


               

I'll be damned.  In fact, apparently you can add the new one and THEN remove the old one OR remove the old one and THEN add the new one.  Either way preserves the quickslot for some reason.


 


I'll be damned.  Thanks, Shadow.



               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
TMI Issue -- What's the Limit?
« Reply #17 on: June 08, 2014, 03:45:49 am »


               


A script.  Effectively you have an item that starts at 3 charges.  Once you use a charge, every 18 seconds a charge is restored until it registers it is at 3 charges again and then the script stops and waits until it gets used again.


 


The net result is that you can use the item every 3 rounds in general plus you can save up to 3 charges to release more rapidly if you're in a bad situation.  May bump it up to restoring a charge every 24 seconds depending on how testing goes, but that's just fiddling with tuning at that point.




Take a look at the include for auras in the mod I gave you. It does pretty much precisely what you want, along with another include for item charge alteration that properly displays on the quickbar.


 


As for TMI looping, take a look at the old, rather than the new, code for HGLL feat-table building. It shows how to do stacked loops with variables to avoid TMIs.


 


Funky



               
               

               
            

Legacy_MagicalMaster

  • Hero Member
  • *****
  • Posts: 2712
  • Karma: +0/-0
TMI Issue -- What's the Limit?
« Reply #18 on: June 08, 2014, 07:06:54 pm »


               

Thanks, Funky, I'll look into those.