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