Giter VIP home page Giter VIP logo

Comments (4)

aevitas avatar aevitas commented on August 23, 2024

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?

from buddywing.defaultcombat.

Markeeen avatar Markeeen commented on August 23, 2024

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.

from buddywing.defaultcombat.

pjmagee avatar pjmagee commented on August 23, 2024

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.

from buddywing.defaultcombat.

alltrueist avatar alltrueist commented on August 23, 2024

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.

from buddywing.defaultcombat.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.