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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Styx.CustomCombat.CombatInterface iCombat method explanations?

ski

Well-Known Member
Joined
Feb 12, 2010
Messages
3,720
Crossposted from the CC forum because I didn't get any replies:

Probably better to post this here than in the dev forum, but does anyone know when the various methods in iCombat are called? (I put my assumptions in there to see if I'm close)

Combat() - for your dps and during-combat actions
CombatBuff() - for buffing yourself/pet/others during combat? what differentiates between this and combat?
HandleFalling() - no idea
Heal() - for out of combat healing of yourself/pet/others?
PreCombatBuff() - short term buffs before combat? (ie tigers fury or something)
Pull() - actions for pulling (check for pet, pet attack, cast opening spell, etc)
PullBuff() - buffs for pulling? (whats the difference between this and precombatbuff?)
Rest() - post-combat routines? does this overlap with Heal()?

I'm assuming the main engine calls these various routines out of the CustomClass, but at what triggers are they called?

Edit: Also, I'm assuming #region names are just graphical and can be anything, whereas method names need to match up with the above in my CC to be called correctly?
 
that's pretty much it

Thanks, that makes things easier. Now another question: How often is Combat() called while you're in combat? Does it just keep going through it over and over or does it pulse and run it every X seconds, or does it wait on a variable of some kind?
 
other words pulsing , is it possible to adjust an frequency ?

I remember isxwow pulsing once each frame.
 
yea it pulses a list of states about 8 times per second 8~ FPS
And no you can't adjust it ;)

Another question - for the various dropdowns in HB (Levelbot, Mixed-av, etc) - does the class need anything specific to allow these to work or is that handled inside of the main engine?
 
PvP works just like the levelbot but in battlegrounds.
Same logic so there should be no difference altho you should try to make it more reactive

Since i've had such good luck so far in this thread, can I use the same SpellManager.CastSpell Method to cast pet spells? Or does that have to be done differently (IE The Voidwalker's Sacrifice skill).
 
PvP works just like the levelbot but in battlegrounds.
Same logic so there should be no difference altho you should try to make it more reactive
Figured i would point out this isn't true. You'll notice if you run an almost empty CC(one without any movement or targetting in place) in a bg mode it will not attempt to control you/target anything for you; whereas, if you run the same cc in the same bg with levelbot selected it will target enemy players around you and attempt to move next to them. (if none are close by and you try to control yourself, I believe it runs movestop because you will be forced to stop in your tracks every couple steps)
 
Back
Top