• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [?] [CC Writing] "Check Proc" issue

    Discussion in 'Archives' started by tictac09, Aug 10, 2012.

    1. tictac09

      tictac09 New Member

      Joined:
      Mar 11, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Edit: Ahh, I'm sorry, i postet it in the wrong Forum :S


      I want to apologize for my bad English in advance. I usually speak German ;)

      I?m writing a small CC for my Disc Priest and now stuck in a problem for a few hours.
      I?m playing on a German Client and it?s kind of funny that the CC has no problems when casting ?English? spells but has huge problems when checking for active auras (Neither English nor German worked).
      So I was forced to change everything to IDs.
      To cut a long story short, I can?t check for the Proc ?Surge of Light?.
      The ID of the Proc is ?88690?, but if I write something like:

      If(me.HasAura(88690) && SpellManager.CanCast(?Flash Heal?))
      {
      //some code
      }

      He always do it, when I have the Buff ?Power Word: Fortitude?. So in his logic 88690 = 79105.

      Again, sorry for my bad english, I hope everybody is able to understand my problem :D
       
      Last edited: Aug 10, 2012
    2. Venus112

      Venus112 New Member

      Joined:
      Jun 17, 2010
      Messages:
      1,509
      Likes Received:
      13
      Trophy Points:
      0
      Have you tried Me.ActiveAuras?
       
    3. tictac09

      tictac09 New Member

      Joined:
      Mar 11, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Yes, same problem.
      I think one reason is, because i can't check for the ID if i use "Me.ActiveAuras.ContainsKey("xyz")".
       
    4. Venus112

      Venus112 New Member

      Joined:
      Jun 17, 2010
      Messages:
      1,509
      Likes Received:
      13
      Trophy Points:
      0
      Try with Me.Auras.ContainsKey("Surge of Light")

      If that does not work, you need to show some of your work. It's hard to see anything without it

      Else i would suggest you to download a english client
       
      Last edited: Aug 10, 2012
    5. tictac09

      tictac09 New Member

      Joined:
      Mar 11, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Okay, I simplyfied my code to this:
      He keeps spamming Flash Heal if "Power Word: Fortitude" is active.

      EDIT:
      It seems like he confuses "Power Word: Fortitude" with "Surge of Light" even if i use IDs. -.-

      I wonder if i can use another function instead of "me.Auras.ContainsKey(NameOfTheSpell)" or "me.HasAura(id)"....
       
      Last edited: Aug 10, 2012
    6. weischbier

      weischbier Guest

    7. Venus112

      Venus112 New Member

      Joined:
      Jun 17, 2010
      Messages:
      1,509
      Likes Received:
      13
      Trophy Points:
      0
      Ah well if you're not using the correct spell ID then that settles it :)
       
    8. tictac09

      tictac09 New Member

      Joined:
      Mar 11, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Omfg! Finally it worked!
      It was really the wrong id...

      Thanks mate!
       
    9. weischbier

      weischbier Guest

      Yeah you just need to learn how to use wowhead properly^^
       

    Share This Page