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