blob: 03a89de246ebadab1d92548f3e2156ed27b888c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// TMW2 scripts.
// Authors:
// Jesusalva
// Description:
// Controlled Warp to Magic School (+whatever magic stuff we need to add later)
003-1,34,33,0 script #MagicSchoolGate1 NPC_HIDDEN,0,0,{
end;
OnTouch:
if (countitem(JesusalvaGrimorium) <= 0 || MAGIC_LVL < 2) {
slide 36, 39;
percentheal -5, -10;
dispbottom l("Powerful magic repels you away from this magic place!");
} else {
warp "003-0", 48, 51;
dispbottom col(l("CONDEMNED: This building has been condemned. The roof may fall. Be careful!"), 1);
}
end;
}
|