How do you execute formulas via script? Is there way to expose ORK formulas on a custom game object?
  • ORK.Formulas.Get(id).Calculate(new FormulaCall(initialValue, user, target))
    id is the ID/index of the formula you want to use.
    initialValue is a float value that'll be used as starting value for the formula.
    user and target are the combatants (class Combatant) used for the calculation.
    If you're enjoying my products, updates and support, please consider supporting me on!
Sign In or Register to comment.