blob: 1543d38bfb4ada4a0e8b53b2660a828d57548f5a [file] [log] [blame]
notstrom6f80d2d2018-11-12 18:41:29 +01001inherit "/std/npc";
2
notstrom63ee17e2018-11-12 18:44:20 +01003#include <new_skills.h>
notstrom6f80d2d2018-11-12 18:41:29 +01004#include __PATH__(1)"defs.h"
5
6
7protected void create() {
8 if (!clonep()) {
9 set_next_reset(-1);
10 return;
11 }
12 ::create();
13
14 create_default_npc(20, 600);
15
16 SetProp(P_SHORT, "Ein kaempferischer Zwerg");
17 SetProp(P_LONG, BSLF(
18 "Dieser Zwerg wehrt sich ein wenig. Ausserdem verfuegt er Resistenzen."));
19 SetProp(P_NAME, "Kawumm");
20 SetProp(P_ARTICLE, 0);
21 SetProp(P_GENDER, MALE);
22
23 AddId(({"zwerg", "kawumm"}));
24 SetProp(P_ALIGN, 100);
25 SetProp(P_RACE, "Zwerg");
26 SetProp(P_SIZE, 102);
27
28 SetProp(P_MURDER_MSG,
29 "He! Ich gehoere doch zu Notstroms Magiertutorial, %s.");
30 SetProp(P_DIE_MSG, " kippt um wie eine leere Bierflasche.\n");
31
32
33 /* Der Zwerg ist ein wenig anfaellig gegen satanisches Gebrabbel und
34 Furchtschaden, sehr anfaellig gegen Wasser (und Seife), ein wenig
35 resistent gegen Kaelte und recht resistent gegen Gift. */
36 SetProp(P_RESISTANCE_STRENGTHS,
37 ([DT_UNHOLY: 0.3,
38 DT_TERROR: 0.3,
39 DT_POISON: -0.5,
40 DT_COLD: -0.3,
41 DT_WATER: 0.6]));
42
43 // Der Zwerg verfuegt ueber ein paar Spezialangriffe:
44 SetProp(P_SPELLRATE, 80);
45
46 AddSpell(25, 300+random(150),
notstrom3c19d4f2018-11-30 16:06:33 +010047 BSLF("Kawumm haut Dir voll aufs Schienbein. AUA!"),
notstrom6f80d2d2018-11-12 18:41:29 +010048 BSLF("Kawumm haut @WEM mal so richtig auf das Schienbein. Hoeher "
49 "kommt er ja nicht dran."),
50 ({DT_BLUDGEON}), 0,
51 ([SP_PHYSICAL_ATTACK:1, SP_SHOW_DAMAGE:1]));
52 AddSpell(25, 200+random(100),
53 BSLF("Kawumm klettert auf einen Hocker und verpasst Dir einen "
54 "Kinnhaken."),
55 BSLF("Kawumm steigt auf einen Hocker, reckt sich noch ein Stueck "
56 "und verpasst @WEM einen ordentlichen Kinnhaken."),
57 ({DT_BLUDGEON}), 0,
58 ([SP_PHYSICAL_ATTACK:1, SP_SHOW_DAMAGE:1]));
59 AddSpell(25, 200+random(150),
60 BSLF("Kawumm macht da unten etwas, Deine Fuesse tun auf einmal "
61 "hoellisch weh."),
62 BSLF("Kawumm tritt @WEM mal so richtig auf die Fuesse."),
63 ({DT_BLUDGEON}), 0,
64 ([SP_PHYSICAL_ATTACK:1, SP_SHOW_DAMAGE:1]));
65 AddSpell(15, 500+random(150),
66 BSLF("Kawumm kokelt Dich an."),
67 BSLF("Kawumm haelt eine brennende Fackel in @WESSEN Schritt."),
68 ({DT_FIRE}), 0,
69 ([SP_PHYSICAL_ATTACK:0, SP_SHOW_DAMAGE:0]));
70}
71