示例#1
0
 public override void Handle(ICombatPaperEvent paperCmd)
 {
     paperCmd.Defender.HpAction(-paperCmd.Intensity);
     if (paperCmd.Defender.CurrentHitPoints < 1)
     {
         NotificationSystem.Raise(new DeathStatusEvent(paperCmd.Defender));
     }
 }
示例#2
0
        public override void Handle(ICombatPaperEvent paperEvent)
        {
            var LogString = paperEvent.Attacker.Name + " attacked " + paperEvent.Defender.Name + " causing " + paperEvent.Intensity + " damage!";

            LogToConsole(LogString);
        }
示例#3
0
 public virtual void Handle(ICombatPaperEvent paperEvent)
 {
 }