Пример #1
0
 // Function from file: martial.dm
 public bool kneeStomach(dynamic A = null, Mob_Living D = null)
 {
     if (!(D.stat != 0) && !(D.weakened != 0))
     {
         D.visible_message("<span class='warning'>" + A + " knees " + D + " in the stomach!</span>", "<span class='userdanger'>" + A + " winds you with a knee in the stomach!</span>");
         D.audible_message("<b>" + D + "</b> gags!");
         D.losebreath += 3;
         D.Stun(2);
         GlobalFuncs.playsound(GlobalFuncs.get_turf(D), "sound/weapons/punch1.ogg", 50, 1, -1);
         return(true);
     }
     return(this.basic_hit(A, D));
 }