MotoMoto1234 / Midi-Wiki

13 stars 0 forks source link

[Suggestion] Effects checked in realtime #3

Open GhostwheelX opened 10 months ago

GhostwheelX commented 10 months ago

dae.eval() can be used to check effects in realtime, rather than just when the effect is applied. Could that be added to the wiki?

For example, it would be useful for Dodge, which currently only checks upon application. However, a better way to do so would be thus:

flags.midi-qol.grants.disadvantage.attack.all | Custom | dae.eval(##attributes.movement.walk > 0)
flags.midi-qol.advantage.ability.save.dex | Custom | dae.eval(##attributes.movement.walk > 0)

This would make it so that if someone is grappled mid-dodge, they would lose the effects of dodge instead of them still being active.

MotoMoto1234 commented 10 months ago

I think Dae.Eval() needs its own cheat sheet, though its very similar to activation conditions in some ways. I'm gonna make a new page for it, won't close this till I have.