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
|
// TMW2 Scripts
// Author:
// Jesusalva
// Description:
// Controls Forgotten Chamber
/////////////////////////////
018-6-0,90,67,0 script #ToForgottenShrine NPC_SUMMONING_CIRC,0,0,{
dispbottom l("It looks dangerous.");
end;
OnTouch:
.@q=getq(LoFQuest_Barbara);
if (.@q >= 2) {
warp BarbaraInstCheck(3), 31, 151;
//warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1);
} else {
Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC");
}
end;
OnInit:
disablenpc .name$;
end;
OnInstanceInit:
disablenpc instance_npcname(.name$);
end;
}
/////////////////////////////
018-6-0,90,90,0 script #FromEleniumMines NPC_SUMMONING_CIRC,0,0,{
dispbottom l("It should bring me back.");
end;
OnTouch:
.@q=getq(LoFQuest_Barbara);
if (.@q < 10) {
warp BarbaraInstCheck(1), 83, 28;
//warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1);
} else {
warp "018-6-1", 83, 28;
}
end;
}
/////////////////////////////
018-6-0,90,113,0 script #ToSouthHall NPC_SUMMONING_CIRC,0,0,{
dispbottom l("It looks dangerous.");
end;
OnTouch:
.@q=getq(LoFQuest_Barbara);
.@q2=getq2(LoFQuest_Barbara);
.@q3=getq3(LoFQuest_Barbara);
if (.@q == 2 && .@q3 >= 3) {
warp BarbaraInstCheck(2), 90, 32;
//warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1);
} else {
dispbottom l("I already visited this warp.");
}
end;
OnInit:
disablenpc .name$;
end;
OnInstanceInit:
disablenpc instance_npcname(.name$);
end;
}
/////////////////////////////
018-6-0,67,90,0 script #ToWestHall NPC_SUMMONING_CIRC,0,0,{
dispbottom l("It looks dangerous.");
end;
OnTouch:
.@q=getq(LoFQuest_Barbara);
.@q2=getq2(LoFQuest_Barbara);
.@q3=getq3(LoFQuest_Barbara);
if (.@q == 2 && !(.@q3 & 1)) {
warp BarbaraInstCheck(2), 70, 150;
} else {
dispbottom l("I already visited this warp.");
}
end;
OnInit:
disablenpc .name$;
end;
}
/////////////////////////////
018-6-0,113,90,0 script #ToEastHall NPC_SUMMONING_CIRC,0,0,{
dispbottom l("It looks dangerous.");
end;
OnTouch:
.@q=getq(LoFQuest_Barbara);
.@q2=getq2(LoFQuest_Barbara);
.@q3=getq3(LoFQuest_Barbara);
if (.@q == 2 && !(.@q3 & 2)) {
warp BarbaraInstCheck(2), 103, 156;
} else {
dispbottom l("I already visited this warp.");
}
end;
OnInit:
disablenpc .name$;
end;
}
|