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
|
// TMW2 Scripts
// Author:
// Jesusalva
// Description:
// Controls Forgotten Chamber
/////////////////////////////
018-6-1,83,26,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:
OnInstanceInit:
disablenpc .name$;
end;
}
/////////////////////////////
018-6-1,83,26,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;
}
|