blob: 6c91c6bf084262ee9f0a0964a0c06367993369d8 (
plain) (
tree)
|
|
// 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;
}
|