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

Conditional to check class in profiles?

dseo80

New Member
Joined
Jun 18, 2012
Messages
8
Reaction score
0
Can someone let me know the syntax to check if my class is DH? (for profiles)
 
Something like this I imagine. Take a look through the Belphegor combat routine, I'm sure you can find examples there.

Code:
if (ZetaDia.Me.ActorClass == ActorClass.DemonHunter)
  DoSomething;
 
Something like this I imagine. Take a look through the Belphegor combat routine, I'm sure you can find examples there.

Code:
if (ZetaDia.Me.ActorClass == ActorClass.DemonHunter)
  DoSomething;

For a profile it would be:
Code:
<If condition="Me.ActorClass == ActorClass.DemonHunter">
...
</If>
 
D'oh! Missed that important 'for profiles' bit...
 
Back
Top