farling42 / fvtt-cyphersystem-activeeffects Goto Github PK
View Code? Open in Web Editor NEWSupport for Active Effects in the Foundry VTT Cyphersystem
License: MIT License
Support for Active Effects in the Foundry VTT Cyphersystem
License: MIT License
effect.label has been renamed to effect.name
(So keep it V10 compatible)
name : effect.label ?? effect.name
Dropping a dragged Active Effect onto a Token should attach the effect to the owning actor.
Replace the string "FX" with an icon, such as https://fontawesome.com/icons/sparkles?f=classic&s=solid
Cyphersystem generates the rollEngine
trigger when an ability has been paid for. So this can be used to immediately apply any relevant effects to the corresponding actor.
Hooks.call("rollEngine", actor, data);
When a tag or recursion on an Actor is not selected, then any active effects on the tag/recursion should be suppressed (set the effect to "suspended")
isOwned/isEmbedded should only prevent editing/drop/delete on foundry V10
The core foundry class ActiveEffect has a method _castDelta(raw, type)
which would need to convert the raw
string into the corresponding type
.
Certain active effects might modify the pool max value, and require a corresponding change in the pool current value.
The active effect can't simply add to the current value, since that will cause a repeated modification on each actor update.
Whilst dragging an effect from one Actor to another Actor works, dragging an effect between an Item and an Actor does not work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.