What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

rewriting singular routines HELP

kqtion

New Member
Joined
Sep 6, 2014
Messages
7
Reaction score
0
Hello,

I'm rewriting some of the singular routines, because in my opinion there's a lot space to push the dps.
And yes, I'm new to writing routines ;)

Actually I stuck at getting how long is the remaining colldown of a specific spell =(

Example:
// Single Target Rotation
Spell.Cast("Test Spell"),
Spell.Cast("Test Spell 2"),
Spell.Cast("Test Spell 3"),
.....

I want to have a higher priority for Test Spell 2 if the remaining cooldown of Test Spell 2 is less then 2 seconds.

Test Spell has a casting bar of 4sek (example).
Test Spell 2 is an instant Spell and should be triggered everytime it's cd is over.

I would be glad if someone can help me, of course I would credit him ;)

If I can reach my goal (10-20% more dps), I will write rewrite them for all classes and share them with you :)
 
new Info:

found Spell.GetSpellCooldown("string",..)

I tried:

Spell.Cast("Test Spell", ret => Spell.GetSpellCooldown("Test Spell 2") < new TimeSpan(0,0,2,0) ),
Spell.Cast("Test Spell 2"),
Spell.Cast("Test Spell 3"),

as I did't found that in the api docs I don't know if the returnvalue is the remaining cooldown.
-> adding some debugmessages, post it later

EDIT:
y it's returning the actual cooldown.
Still some problem left in my logic :D
 
Last edited:
any MM hunter here, who can help me testing the first version?
teamspeak required! Some of the values (act cd of steadyshot and so on) has to be filled in manually.
This will be automatic in the next version
 
Back
Top