I'd like to cast a status effect from script to player combatant.
How should I do?

I thought it was the following method, but I do not know what to give to the object argument.


var playerCombatant = ComponentHelper.GetCombatant (ORK.Game.GetPlayer ());
int guardStatusEffectID = 11;
var castEffect = new StatusEffect (guardStatusEffectID);
object obj = new Object ();
playerCombatant.Status.AddEffect (guardStatusEffectID, MyCombatant, castEffect, true, true, obj); // obj ???
Sign In or Register to comment.