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!

Difference: Between Own & Other's Buffs/Debuffs

turbocross

New Member
Joined
Mar 23, 2010
Messages
231
Hi, is there a difference between other's spell buffs? Because many DoTs are stackable.

For example:

There are two Warlocks and the first one casts corruption.

The second Warlock goes to check if the mob has the corruption (buff) status on it.

Will the second cast corruption since it was not his corruption, or would it know?
 
if (Me.Buffs["Corruption"].CreatorGuid != Me.Guid)
{
SpellManager.CastSpell("Corruption");
}


Compare the creator GUID and cast appropriately.
 
Hi, is there a difference between other's spell buffs? Because many DoTs are stackable.

For example:

There are two Warlocks and the first one casts corruption.

The second Warlock goes to check if the mob has the corruption (buff) status on it.

Will the second cast corruption since it was not his corruption, or would it know?

If you are asking if booth locks would cast corruption. Genereally the CC tests if the Mob has the DoT he will cast, then cast That DoT. If another Lock casts corruption on the mob the Check will say that mob is already with Corruption.

Sometime it can happends that booth locks cast @ the same time or some lag issues that will let the bot cast corruption over it (but only once).
 
if (Me.Buffs["Corruption"].CreatorGuid != Me.Guid)
{
SpellManager.CastSpell("Corruption");
}


Compare the creator GUID and cast appropriately.

I like the purdy colors.
 
wouldn't it be Me.CurrentTarget.Buffs??

Code:
if (Me.CurrentTarget.Buffs["Corruption"].CreatorGuid != Me.Guid)
{
SpellManager.CastSpell("Corruption");
}
 
wouldn't it be Me.CurrentTarget.Buffs??

Code:
if (Me.CurrentTarget.Buffs["Corruption"].CreatorGuid != Me.Guid)
{
SpellManager.CastSpell("Corruption");
}

Depends who's buffs your checking, of course. In Fpsware's example you'd be checking your own, in yours you'd be checking the targets.
 
Depends who's buffs your checking, of course. In Fpsware's example you'd be checking your own, in yours you'd be checking the targets.
Why would you check yourself for Corruption?
 
Why would you check yourself for Corruption?

You know how I do, baby.




I suspect he pulled out code that checks buffs on himself and just inserted Corruption, but it still got the point across.
 
if (Me.CurrentTarget.Buffs["Corruption"].CreatorGuid != Me.Guid)

Is the above a valid substitute, and will it work?
 
well it looks like im going to have to update some code, it could be needed to stop false positives in Battlegrounds from multiple mages or priests.
 
Back
Top