public AIDomainBuilder IncrementState(AIWorldState state, byte value, EffectType type) { if (Pointer is IPrimitiveTask task) { var effect = new IncrementWorldStateEffect(state, value, type); task.AddEffect(effect); } return(this); }
public CharacterDomainBuilder IncrementState(CharacterWorldState state, EffectType type) { if (Pointer is IPrimitiveTask task) { var effect = new IncrementWorldStateEffect(state, type); task.AddEffect(effect); } return(this); }