Example #1
0
 public override void OnHit(Wound damage)
 {
     base.OnHit(new Wound
     {
         Damage = damage.Damage
     });
 }
Example #2
0
 public override void OnHit(Wound damage)
 {
     base.OnHit(new Wound
     {
         Damage = (int)(damage.Damage * 2.5)
     });
     actionManager.SetAction(new WarriorFall(true));
 }
Example #3
0
 public override void OnHit(Wound damage)
 {
     warrior.DeffendSound.Play();
     base.OnHit(new Wound
     {
         Damage = (int)(damage.Damage * 0.1f)
     });
 }
Example #4
0
            public override void OnHit(Wound wound)
            {
                ork.RunTimeData.Health        -= wound.Damage;
                ork.RunTimeData.VertigoConter += wound.Vertigo;

                if (wound.KnockBackDistance > 0)
                {
                    ork.SetAction(new OrkHurt(wound));
                }
            }
Example #5
0
 public override void OnHit(Wound damage)
 {
     if (hitable)
     {
         base.OnHit(new Wound
         {
             Damage  = (int)(damage.Damage * 0.5),
             Vertigo = damage.Vertigo * 0.5f
         });
     }
 }
Example #6
0
            public override void OnHit(Wound wound)
            {
                orkCaptain.RunTimeData.Health -= wound.Damage;

                if (wound.KnockBackDistance > 0)
                {
                    orkCaptain.SetAction(new OrkCaptainHurt(new Wound
                    {
                        Damage = wound.Damage,
                    }));
                }
            }
Example #7
0
 public void OnHit(Wound wound) => nowAction.OnHit(wound);
Example #8
0
 public virtual void OnHit(Wound damage)
 {
 }
Example #9
0
 public override void OnHit(Wound damage)
 {
     warrior.RunTimeData.Health        -= damage.Damage;
     warrior.RunTimeData.VertigoConter += damage.Vertigo;
 }
Example #10
0
 public override void OnHit(Wound damage)
 {
 }
Example #11
0
 public OrkHurt(Wound wound)
 {
     this.wound = wound;
 }
Example #12
0
 public SpiderHurt(Wound wound)
 {
     this.wound = wound;
 }
Example #13
0
 public GoblinHurt(Wound wound)
 {
     this.wound = wound;
 }
Example #14
0
 public OrkCaptainHurt(Wound wound)
 {
     this.wound = wound;
 }