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
|
// TMW2 scripts.
// Author:
// Jesusalva
// Description:
// PUZZLES and TRAPS submodule - Sagratha's Cave Boss Room - 015-8-1
// Exit area
015-8-1,50,79,0 script #Exit01581 NPC_HIDDEN,1,0,{
end;
OnTouch:
.@q=getq(HurnscaldQuest_Sagratha);
// Cheater Detected
if (!MAGIC_LVL || .@q < 5) {
setq HurnscaldQuest_Sagratha, 0, 0, 0;
sc_end SC_CASH_PLUSEXP;
sc_end SC_OVERLAPEXPUP;
sc_start SC_OVERLAPEXPUP, 300000, -20;
warp "Save", 0, 0;
end;
}
if (.@q == 5) {
npctalkonce l("You are NOT allowed to leave here!");
} else {
warp "015-8", 94, 21;
}
end;
}
|