Jump to content

C# for "Buff Casted By Me"?


Ordush

Recommended Posts

Hey yall

Any way i can do

(ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.HaveBuff("SPELLNAME"))

just with "HaveBuffCastedByMe" Instead of HaveBuff?
I mean if there is any function for it, what is it called? :)

Link to comment
Share on other sites

Hello,

Like:

(ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.BuffCastedByAll("SPELLNAME").Contains(ObjectManager.Me.Guid))

If you use fightclasses editor, you can convert your xml fightclass to c# to get code sample

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...