Jump to content

Recommended Posts

[E] 23:35:45 - Compilator Error :
c:\Users\Adam\AppData\Local\Temp\i0mip0er.0.cs(21,61) : error CS1061: 'wManager.Wow.ObjectManager.WoWLocalPlayer' does not contain a definition for 'KnowsSpell' and no extension method 'KnowsSpell' accepting a first argument of type 'wManager.Wow.ObjectManager.WoWLocalPlayer' could be found (are you missing a using directive or an assembly reference?)


[D] 23:35:47 - [Quester] If[10] (ObjectManager.Me.Level == 6  && ObjectManager.Me.KnowsSpell(6673)) | Result: False

Under the Quests order editor in the Easy Quests Editor I'm trying to do a check to see if a player is a certain level and knows a spell using the Action type "If"

What I have is this

ObjectManager.Me.Level == 6  && ObjectManager.Me.KnowsSpell(6673)

If i run it with just 

ObjectManager.Me.Level == 6

It works perfectly and can read that I am level 6

I'm an amateur when it comes to code and I've tried a hundred different things some examples like 

ObjectManager.Me.KnowsSpell(6673)

ObjectManager.Me.Knows.Spell(6673)

ObjectManager.Me.KnowSpell(6673)

ObjectManager.Me.Knows.Spell(6673)

ObjectManager.KnowsSpell(6673)

Thank you so much to anyone that can help me!!!

 

Edit: Also 6673 is the spell id for level 1 Battle Shout in WotLK 3.3.5 and I would also deeply appreciate if anyone has a link to some documentation on what I can use with ObjectManager

Link to comment
https://wrobot.eu/forums/topic/4597-checking-to-see-if-player-knows-spell/
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...