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

Problem with Defense Buffs

Status
Not open for further replies.

grown

New Member
Joined
Oct 22, 2014
Messages
17
Reaction score
0
I am having (and believe others are as well) problems with the Defense tree buffs:

Toughen
Refreshmen


I have no problems with any other buffs. When I try to use these buffs, they cast over and over again and will not stop. Here is an example:

if (buffTime("Refreshment") == 00
{
UseSkill("Refreshment", true);
Thread.Sleep(125);
}

I can use identical code for any buffs outside the defense tree and it works fine. I've tried many different ways of writing it, but "Toughen" and "Refreshment" both cause problems. One of them will keep casting over and over and not stop.


As far as I've been able to tell, nobody is able to get these working. Is this a known issue? Or is anyone maybe able to get them to work?

Thanks.
 
Last edited:
I think your buffs name not "Refreshment", but "Refreshment level 1", or something like this. Both this buffs have few buff levels
 
I am having (and believe others are as well) problems with the Defense tree buffs:

Toughen
Refreshmen


I have no problems with any other buffs. When I try to use these buffs, they cast over and over again and will not stop. Here is an example:

if (buffTime("Refreshment") == 00
{
UseSkill("Refreshment", true);
Thread.Sleep(125);
}

I can use identical code for any buffs outside the defense tree and it works fine. I've tried many different ways of writing it, but "Toughen" and "Refreshment" both cause problems. One of them will keep casting over and over and not stop.


As far as I've been able to tell, nobody is able to get these working. Is this a known issue? Or is anyone maybe able to get them to work?

Thanks.
Sometimes buff have different name with skill, check this.

And use universal
Code:
me.getBuffs().Exists(b => b.name.StartsWith ("Refreshment"))
for all buffs with levels.
 
I'll give this a shot when we're able to login again, thanks.
 
Status
Not open for further replies.
Back
Top