Example #1
0
 public override void potionEffect(MyCharacterController user, MyCharacterController target)
 {
     target.heal(target.Parameter.MaxHP);
     if (target.Parameter.CurrentRealSTR < target.Parameter.MaxSTR) {
         target.Parameter.setSTR(target.Parameter.MaxSTR);
         GameController.PlayingLogger.addLogFormat("{0} のちからが回復した。", target.Parameter.Name);
     }
     target.exitBuff(typeof(SpeedDown));
     target.exitBuff(typeof(Confusion));
     target.exitBuff(typeof(Blind));
 }
 public override void potionEffect(MyCharacterController user, MyCharacterController target)
 {
     curePoison(target);
     target.exitBuff(typeof(SpeedDown));
 }