inherit "/d/Imperium/std/monster";
inherit "/std/combat/unarmed";

#include "szturmix.h"

#define PRZYMIOTNIKI ({({"straszliwy","straszliwi"}),({"smierdzacy","smierdzacy"}),({"wychudly", "wychudli"}), ({"potworny","potworni"}),({"chaotyczny", "chaotyczni"}), ({"silny","silni"}), ({"przeogromny", "przeogromni"}), ({"krwiozerczy","krwiozerczy"}),({"oslizgly", "oslizgli"})})
#define LICZBA_PRZYMIOTNIKOW 9





void
create_monster()
{
    int a;
        int i, j;
        i = random(LICZBA_PRZYMIOTNIKOW);
        j = random(LICZBA_PRZYMIOTNIKOW - 1);

        if(j >= i)
           ++j;
        dodaj_przym(PRZYMIOTNIKI[i][0], PRZYMIOTNIKI[i][1]);
        dodaj_przym(PRZYMIOTNIKI[j][0], PRZYMIOTNIKI[j][1]);

    ustaw_odmiane_rasy(({"ghul", "ghula", "ghulowi", "ghula", "ghulem", "ghulu"}), ({"ghule", "ghuli", "ghulom", "ghule",
	"ghulami", "ghulach"}),PL_MESKI_OS);


    set_gender(G_MALE);

    set_alignment(-100-random(150));

    set_long(":)).\n");

    set_stats(({ 35+random(35), 45+random(25), 50+random(15), 12+random(12), 12+random(5), 45+random(30) }));
    set_aggressive(1);
    set_skill(SS_DEFENCE, 45+random(15));
    set_skill(SS_UNARM_COMBAT, 55+random(10));



    set_random_move(4,0);
    set_restrain_path(MLOK);

    add_prop(NPC_I_NO_FEAR, 1);
    add_prop(LIVE_I_NEVERKNOWN,1);


    dodaj_zloto(5+random(15));
    set_attack_unarmed(0, 18, 10, W_IMPALE, 50, "dlugimi szponami");
    set_attack_unarmed(1, 12, 10, W_IMPALE,50, "zakrwawionymi klami");

    set_hitloc_unarmed(1, ({4,4,3}), 10,"szpony");
    set_hitloc_unarmed(2, ({6,5,6}), 90,"koscisty tulow");

}

