_Tutorial Advanced Flags - Eniripsa96/SkillAPI GitHub Wiki

Toggle Passives

Flags can easily make toggle passives. The general setup is shown to the left. The Flag Toggle mechanic and Flag condition would use the same key for the flag. The "Heal" mechanic in this case would be where the passive effects would be.
_______________________________

Temporary Effects

Flags can also make temporary imbued effects. The example to the left causes projectiles fired by the player to explode on impact for a duration after casting the skill. You can use other triggers to do other interesting effects. The important part is the Flag condition.
_______________________________

Channeling

When you want to do an effect while channeling, flags can be used! While channeling, the "channel" flag is active. Check for that in a repeat mechanic, and you can apply effects while channeling.
_______________________________

No Targets Available

Flags are also useful for checking if there are targets available. The example shows trying to do an effect in an area, setting a flag if it affected anything. Checking for the flag after lets you know if there were any targets.
_______________________________
⚠️ **GitHub.com Fallback** ⚠️