Giter Site home page Giter Site logo

Comments (5)

WThunderspirit avatar WThunderspirit commented on July 18, 2024 1

Unfortunately you'll need to update to the latest version which is only supported in v11

Well - shut this down then, bc I can't if you look at the specs of my rig. The PC just simply can't handle the issues V11 causes, and my group was in the same space before I rolled back. Poverty sucks.

from active-auras.

MrPrimate avatar MrPrimate commented on July 18, 2024

In the "Custom Check" condition, you could enter something like:

actor.appliedEffects.some(e => e.statuses.has('fear'))

from active-auras.

MrPrimate avatar MrPrimate commented on July 18, 2024

For the targets hp, try:

actor.system.attributes.hp.value < (actor.system.attributes.hp.max/2)

You can't currently target the effect origin actor this way for the second example.

from active-auras.

WThunderspirit avatar WThunderspirit commented on July 18, 2024

In the "Custom Check" condition, you could enter something like:

actor.appliedEffects.some(e => e.statuses.has('fear'))

I should have probably stated this previously, but I'm working with V10 B312 Foundry, on Forge, with D&D 2.3.1 - both V10.312 and D&D 2.3.1 hardcapped to not update (had issues with updating beyond this, and my toaster/ potato PC can't even Handle V11 at all - a stock Acer Aspire TC-885 w a NVidia GeForce GT-710; i.e. - a toaster).

Also, sadly, I really can't code Javascript yet, but I tried putting your code in verabtim and it comes up as "undefined" - even in F12 console; not true or false like I think it should. I also tried 'frightened', since that is what my status calls the condition. Didn't work. I wonder if there would be a way to test against the convenient effect rather than the status effect, since I use DFred's CE to apply status conditions? That may be getting into a rabbit hole though.

Don't mean to put you out, but I kinda need the spoonfed version; however, if there were comments in code to describe how this works, that would help me wrap my head around the changes since Netscape Navigator and Internet Explorer were the only browsers out there, and AOL was in it's death spasms (a.k.a; the last time I learned Javascript, when it was totally DOM dependent and far more limited than it's complicated but robust code now. Learning it now seems like when I tried to learn Perl and PHP back in the day; and I've forgotten more than I can remember of those days. Still know my HTML 4.0 though! LMAO!)

from active-auras.

MrPrimate avatar MrPrimate commented on July 18, 2024

Unfortunately you'll need to update to the latest version which is only supported in v11

from active-auras.

Related Issues (20)

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.