• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Lazyraider - Pyromancer Fire Mage

    Discussion in 'Archives' started by Shaddar, Jan 1, 2012.

    1. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      You didn't figure out that last spell string code yet then?
       
    2. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28

      I havent been able to implement the code you so kindly handed over to me, im afraid.
      It either spams all the spells which its not supposed to spam or it doesnt cast any spells at all.

      So what ive done which ive been spending hours on now is to delete the whole CC and writing everything from scratch, testing one spell at a time. So far, i havent even begun writing any offensive spells.
      Although im quite certain it'll double cast when i get there.
       
    3. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      In this way right after it casts living bomb it will set it to not cast again, but will check for the aura.
      Once the target has the aura it will reset the livingbomblimit boolean to false so that it will again check if the dot has dropped off.

      Hope you understand.
       
    4. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Yeah, this is great! I implemented this in my new warlock CC to stop Soul Fire from double casting. It worked at first! But now all of the sudden it doesnt work at all. I havent even touched any of the codes. Really weird ;S

      Code:
      					if(PlayerHasBuff("Improved Soul Fire") && ISFLimit)
      					{ ISFLimit = false; }
      
      					if(!PlayerHasBuff("Improved Soul Fire") && !ISFLimit)
      					{
      					if (CastSpell("Soul Fire")==true);
      					ISFLimit = true;
      					}
      
       
    5. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      Code:
                          if(PlayerHasBuff("Improved Soul Fire") && ISFLimit)
                          { ISFLimit = false; }
      
                          if(!PlayerHasBuff("Improved Soul Fire") && !ISFLimit && CastSpell("Soul Fire"))
                          {
                               ISFLimit = true;
                          }
      
      Just to shorten it up. You don't need to do CastSpell("Whatever") == true since CastSpell returns a boolean value it will either be true or false. To check if it didn't work then do a !CastSpell("Whatever")

      And it should be working 100%.
      No reason that should fail, unless your PlayerHasBuff() does something odd... I'm not sure exactly what it's doing so.
       
    6. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      I tried using Me.HasAura/Me.Auras.ContainsKey instead of PlayerHasBuff to see if it was that which interfered. However when trying those codes out I noticed something weird. Soul Fire was working great until the buff expired while I was in the middle of casting "Immolate". After that, it stopped working!

      Who knows whats wrong. I'll keep going through the profile though till i can find the fault. You've already been great help! I dont expect you to write the whole CC for me ;)
       
    7. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      Have you been seeing any in-game errors like "Already have a spell casting" red popups?

      Because it may have attempted to cast it, which actually failed in-game, but the code doesn't check for that since it just presses a cast of it, and forgets.
      At which point the code now has it set to wait for the aura to appear, but it never will.
      Should add a 5 second timer that starts when it is set to true, and change it to If(TargetHasAura || ISFTimer.IsDone) { ISFTimer.Reset(); ISFLimit = false; }
       
      Last edited: Jan 14, 2012
    8. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Thanks alot for the tip! I finally managed to pull that one off after adding a second independent StopWatch
      Code:
                                              private Stopwatch _ISF = new Stopwatch();
      
      
                                              public override void Combat()
      
      					if(!Me.Auras.ContainsKey("Improved Soul Fire") && !_ISF.IsRunning || Me.Auras.ContainsKey("Improved Soul Fire") && !ISFLimit) 
      					{
      						_ISF.Start();
      						ISFLimit = false;
      					}
      
      					if(!Me.Auras.ContainsKey("Improved Soul Fire") && _ISF.Elapsed.TotalSeconds >=5 || ISFLimit && !Me.Auras.ContainsKey("Improved Soul Fire"))
      					{
      						ISFLimit = true;
      						if (CastSpell("Soul Fire"));
      						_ISF.Stop();
      						_ISF.Reset(); 
      					}
      

      Panda to the rescue!
       
    9. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Major update incoming today! stay tuned :)
       
    10. tumbum

      tumbum Active Member

      Joined:
      Mar 17, 2011
      Messages:
      3,341
      Likes Received:
      13
      Trophy Points:
      38
      <3 love it --- wednesday is the next DS strike. cant wait till there to try the new one :)
       
    11. Ebano

      Ebano New Member

      Joined:
      Nov 23, 2011
      Messages:
      227
      Likes Received:
      0
      Trophy Points:
      0
      Cool, cant wait for it
       
    12. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Pyromancer v2.4 Update.

      • Scorch (Critical Mass)
      • Living Bomb
      • AoE Rotation

      All of the above has either been improved, removed or altered.

      Although this may seem like a small update its a rather big one. I've updated most of the code and put some hard work into the combat region.
      Ive done my best to prevent Living Bomb from double casting, I really doubt youll be seeing that again.
      The same thing with Scorch, i doubt youll see that double cast aswell.
      Ive added a stopwatch to Flamestrike, so it only casts every 8-9th second if theres 3 adds or more of course.
      Ive also added Fire Blast, so it should now spread living bomb and other dots when theres 3 adds or more.

      I hope you like this update, and please report bugs if there are any.

      -Shaddar.
       
    13. lordimac

      lordimac New Member

      Joined:
      Mar 4, 2011
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      Thank you for keeping this Thing updated!
       
    14. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Its pretty smooth now right? :)
       
    15. Diamond5700

      Diamond5700 New Member

      Joined:
      Dec 21, 2011
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      Totally going to try this after i finish my mage. looks great though shaddar any expected dps numbers??
       
    16. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Depends on your gear of course! :p
      It does the standar raid rotation to get max dps! On my mage i get anything from 18k -> 30k in Dragon Soul.

      Cast Scorch to get Critical Mass if no one else in the raid has applied Winter's Chill/Critical Mass/Shadow and flame
      Cast Flame Orb whenever its off cooldown
      Keep Living Bomb up (let it explode before it reapplies)
      Pyroblast on proc
      Combustion when Living Bomb & Ignite & Pyroblast!
      Fireball as a filler (Scorch if your mana drops < 5000)
       
    17. furywarrior

      furywarrior New Member

      Joined:
      Feb 18, 2010
      Messages:
      99
      Likes Received:
      0
      Trophy Points:
      0
      Did great on single target, but its not using filler (fireball) on aoe packs.
       
    18. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Its not supposed to use either fireball or pyroblast(non proc) at AoE packs, however it should be using Scorch as a filler on AoE packs, ill take a look at that when I have time too! Hopefully ill get to it today, if not itll be updated tomorrow morning.
       
    19. hakara

      hakara New Member

      Joined:
      Sep 26, 2011
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      Thank you so much Shaddar!

      Will try this when i get home!
       
    20. Shaddar

      Shaddar Active Member

      Joined:
      Mar 23, 2011
      Messages:
      719
      Likes Received:
      56
      Trophy Points:
      28
      Fixed the AoE rotation now. Including the filler.

      enjoy.
       

    Share This Page