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

Custom Class Code Help

sepchamp

New Member
Joined
Dec 13, 2010
Messages
59
Reaction score
0
What is the code to cast a spell only if I don't already have its aura (Horn of Winter)?
I know for example that with howling blast I can make it only cast it when I have freezing fog like this:
return new Decorator(ret =>
(Me.ActiveAuras.ContainsKey("Freezing Fog"),
but I need the opposite for horn of winter to cast it only when I don't have it up. Thanks
 
You'll have to tell us what CC you're playing with (or what framework), as they each have their own methods.
 
(!Me.ActiveAuras.ContainsKey("Horn of Winter")) ?
 
Back
Top