Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defensive should be used to mitigate damage on certain debuffs? #16

Open
pjmagee opened this issue Jan 19, 2016 · 4 comments
Open

Defensive should be used to mitigate damage on certain debuffs? #16

pjmagee opened this issue Jan 19, 2016 · 4 comments

Comments

@pjmagee
Copy link

pjmagee commented Jan 19, 2016

For example, PT sticky bomb explodes after a certain amount of seconds on the target.
Volatile Substance being applied to the user but then say a backstab or poison is applied will proc it. Meaning shroud / Mad dash / Undying rage could be used to mitigate that damage.

@aevitas
Copy link
Contributor

aevitas commented Jan 19, 2016

Need a little more info to make this into something we can actually implement. I'm not quite sure how we'd use what skill combination to avoid damage (bear in mind I'm not an active player anymore)

@Markeeen Can you weigh in a bit here perhaps?

@Markeeen
Copy link
Contributor

Hmm

Maybe something along the lines

Spell.Buff("Energy Shield", ret => Me.HealthPercent <= 60 || !Me.HasDebuff "Sticky Grenade" || !Me.HasDebuff "Volatile Substance" ) <-- (something like this ?)

Question would be, does Buddywing read those as debuffs imo?

We would need to compile a list of all "debuffs" from the different class that could be mitigated and deal significant amount of damage (the list ain't that long imo).

Explosive Probe
Sticky Grenade
Assault Plastique
Sabotage Charge
Thermal Detonator

Are on top of my head, that are not applied directly to the target but have a delay, as in delayed damage.

@pjmagee
Copy link
Author

pjmagee commented Jan 19, 2016

Could we also track the seconds that a debuff is applied? Also. Volatile Substance only does the damage once the target also has a poison applied to them, i.e Backstab or Poison Dart. After a tick of the poison it explodes with Volatile Substance.

So we might need something like

Spell.Buff("Undying Rage", ret => ret.Debuffs.Any(db => db.Name == "Volatile Substance") && 
 ret.Debuffs.Any(db => db.Name == "Acid Blade" && db.TimeApplied >= TimeSpan.FromSeconds(1)) 

I don't think the debuff is called Acid Blade, but once the operative uses backstab, after 1 tick of that poison, it procs Volatile Substance to explode.

@alltrueist
Copy link
Contributor

Would probably work best to set up a list of debuffs you want this to work on, then create a bool to check if any of those debuffs are on you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants