Esempio n. 1
0
        // Function from file: martial.dm
        public override bool harm_act(dynamic A = null, Mob_Living D = null)
        {
            dynamic G = null;

            D.grabbedby(A, true);
            G = ((Mob)A).get_active_hand();

            if (Lang13.Bool(G) && Rand13.PercentChance(50))
            {
                G.state = 2;
                D.visible_message("<span class='danger'>" + A + " has " + D + " in a clinch!</span>", "<span class='userdanger'>" + A + " has " + D + " in a clinch!</span>");
            }
            else
            {
                D.visible_message("<span class='danger'>" + A + " fails to get " + D + " in a clinch!</span>", "<span class='userdanger'>" + A + " fails to get " + D + " in a clinch!</span>");
            }
            return(true);
        }