summaryrefslogtreecommitdiff
path: root/npc/051-1/desertmonsters.txt
blob: 08476f322e851084075b260194972abdb72b128a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
051-1,134,36,67,49	monster	SoulSnake	1096,12,100000,30000,IlliaDMobs051-1::On1096

051-1,0,0,0	script	IlliaDMobs051-1	NPC32767,{
    end;

On1096:
    if (rand(4) == 0 && $@illia_progress == 3 && $@illia_level_3_progress == 1)
        getitem "SealedSoul", 1;
    @mobId = 1010;
    callfunc "MobPoints";
    end;

}


051-1,142,38,0	script	#SoulEaters0Trigger	NPC32767,3,3,{
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if ($@SoulEaters0_count > 0)
        end;
    donpcevent "#SoulEaters0::OnSpawn";
    end;
}

051-1,142,38,0	script	#SoulEaters0	NPC32767,{
    end;

OnSpawn:
    $@SoulEaters0_count = 5;
    areamonster "051-1", 139, 34, 145, 41, "", 1097, $@SoulEaters0_count, "#SoulEaters0::OnSoulEaterDeath";
    end;

OnSoulEaterDeath:
    $@SoulEaters0_count = $@SoulEaters0_count - 1;
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if (countitem("SealedSoul") == 0)
        end;
    delitem "SealedSoul", countitem("SealedSoul");
    message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
    end;
}

051-1,134,16,0	script	#SoulEaters1Trigger	NPC32767,9,2,{
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if ($@SoulEaters1_count > 0)
        end;
    donpcevent "#SoulEaters1::OnSpawn";
    end;
}

051-1,134,16,0	script	#SoulEaters1	NPC32767,{
    end;

OnSpawn:
    $@SoulEaters1_count = 7;
    areamonster "051-1", 125, 14, 143, 18, "", 1097, $@SoulEaters1_count, "#SoulEaters1::OnSoulEaterDeath";
    end;

OnSoulEaterDeath:
    $@SoulEaters1_count = $@SoulEaters1_count - 1;
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if (countitem("SealedSoul") == 0)
        end;
    delitem "SealedSoul", countitem("SealedSoul");
    message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
    end;
}

051-1,137,55,0	script	#SoulEaters2Trigger	NPC32767,5,4,{
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if ($@SoulEaters2_count > 0)
        end;
    donpcevent "#SoulEaters2::OnSpawn";
    end;
}

051-1,137,55,0	script	#SoulEaters2	NPC32767,{
    end;

OnSpawn:
    $@SoulEaters2_count = 4;
    areamonster "051-1", 134, 54, 139, 58, "", 1097, $@SoulEaters2_count, "#SoulEaters2::OnSoulEaterDeath";
    end;

OnSoulEaterDeath:
    $@SoulEaters2_count = $@SoulEaters2_count - 1;
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if (countitem("SealedSoul") == 0)
        end;
    delitem "SealedSoul", countitem("SealedSoul");
    message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
    end;
}

051-1,155,35,0	script	#SoulEaters3Trigger	NPC32767,4,7,{
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if ($@SoulEaters3_count > 0)
        end;
    donpcevent "#SoulEaters3::OnSpawn";
    end;
}

051-1,155,35,0	script	#SoulEaters3	NPC32767,{
    end;

OnSpawn:
    $@SoulEaters3_count = 4;
    areamonster "051-1", 151, 29, 160, 45, "", 1097, $@SoulEaters3_count, "#SoulEaters3::OnSoulEaterDeath";
    end;

OnSoulEaterDeath:
    $@SoulEaters3_count = $@SoulEaters3_count - 1;
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if (countitem("SealedSoul") == 0)
        end;
    delitem "SealedSoul", countitem("SealedSoul");
    message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
    end;
}

051-1,120,38,0	script	#SoulEaters4Trigger	NPC32767,6,9,{
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if ($@SoulEaters4_count > 0)
        end;
    donpcevent "#SoulEaters4::OnSpawn";
    end;
}

051-1,120,38,0	script	#SoulEaters4	NPC32767,{
    end;

OnSpawn:
    $@SoulEaters4_count = 4;
    areamonster "051-1", 116, 29, 127, 50, "", 1097, $@SoulEaters4_count, "#SoulEaters4::OnSoulEaterDeath";
    end;

OnSoulEaterDeath:
    $@SoulEaters4_count = $@SoulEaters4_count - 1;
    if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
        end;
    if (countitem("SealedSoul") == 0)
        end;
    delitem "SealedSoul", countitem("SealedSoul");
    message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
    end;
}