Jump to content

Need some help with C#


cnyx
 Share

Recommended Posts

Hello.

I have a bit programming skill and try now change one fight class profile.

I dont understand here

new SpellState("Power Word: Shield", 20, context => DiscPriestaSettings.CurrentSetting.PowerWordShield && Fight.InFight && ObjectManager.Me.GetMove, true, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Yes, "", "player", true, true, false),

a lot of "false" and "true". Where i can find description of function SpellState()?

And where i can find all functions and methods of "ObjectManager."?

Thank you.

Link to comment
Share on other sites

Hello,

public SpellState(string spellName, int priority, BooleanDelegate condition, bool isBuff = false, bool inCombatOnly = true, bool castIfInMount = false, bool castIfMeDead = false, bool checkIfKnow = true, bool checkIfSpellUsable = true, bool checkSpellDistance = true, bool needInView = true, int timer = 0, bool notSpellIsLuaScript = false, bool debug = false, bool targetFriends = false, bool aoeSpell = false, bool aoeSpellMePos = false, bool oncePerTarget = false, YesNoAuto canMoveDuringCast = YesNoAuto.Auto, string description = "", string castOn = "", bool lockFrame = true, bool waitDuringCasting = true, bool notSpellIsCSharpCode = false, bool notSpellIsVBCode = false, bool notSpellIsLuaBotCode = false)

But if you use c# to create your fightclass it is not recommended to use this, you can found sample here https://wrobot.eu/forums/topic/12-how-to-create-an-fight-class-developer-only/

Link to comment
Share on other sites

  • 8 months later...
On 7/2/2018 at 1:50 PM, Droidz said:

Hello,

public SpellState(string spellName, int priority, BooleanDelegate condition, bool isBuff = false, bool inCombatOnly = true, bool castIfInMount = false, bool castIfMeDead = false, bool checkIfKnow = true, bool checkIfSpellUsable = true, bool checkSpellDistance = true, bool needInView = true, int timer = 0, bool notSpellIsLuaScript = false, bool debug = false, bool targetFriends = false, bool aoeSpell = false, bool aoeSpellMePos = false, bool oncePerTarget = false, YesNoAuto canMoveDuringCast = YesNoAuto.Auto, string description = "", string castOn = "", bool lockFrame = true, bool waitDuringCasting = true, bool notSpellIsCSharpCode = false, bool notSpellIsVBCode = false, bool notSpellIsLuaBotCode = false)

 But if you use c# to create your fightclass it is not recommended to use this, you can found sample here 

 

hello, where can i find all functions or methods of GoToTask.ToPosition(!!!here!!!); ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...