Yes, you can. user.Abilities.Get(int id).Use(Combatant user, List < Combatant > targets, bool useAction); The user is a Combatant, the id is the ability's ID/index. The targets is a list of the targeted combatants. Use true for useAction to actually perform an animated action, or false for only doing the ability's calculations.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
user.Abilities.Get(int id).Use(Combatant user, List < Combatant > targets, bool useAction);
The user is a Combatant, the id is the ability's ID/index.
The targets is a list of the targeted combatants.
Use true for useAction to actually perform an animated action, or false for only doing the ability's calculations.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!