void ICollectItem.OnCollect(EcsEntity entity) { entity.RLSetMaxHealth(entity.RLGetMaxHealth() + value); entity.RLSetHealth(entity.RLGetHealth() + value); }
public override void OnModificatonPhase(EcsEntity entity, StatusEffect effect) { entity.RLSetHealth(entity.RLGetHealth() + effect.Value); }