summaryrefslogtreecommitdiff
path: root/npc/009-5/manastone.txt
blob: 83e6637a1e87e290dc24f8c643d45c51f03e37c7 (plain) (blame)
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
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  TODO

009-5,0,0,0	script	Mana Stone	NPC_MANA_STONE,{

    if (BaseLevel < 40) goto L_NotWorthy;
    hello;
    end;

L_NotWorthy:
    percentheal -70+BaseLevel, -100+BaseLevel;
    npctalk3 "You are not worthy!";
    end;

OnInit:
    movenpc .name$, rand(200), rand(200);
    .sex = G_OTHER;
    .distance = 5;
    end;

OnClock0030:
OnClock0120:
OnClock0210:
OnClock0300:
OnClock0450:
OnClock0540:
OnClock0630:
OnClock0720:
OnClock0810:
OnClock0900:
OnClock1050:
OnClock1140:
OnClock1230:
OnClock1320:
OnClock1410:
OnClock1500:
OnClock1650:
OnClock1740:
OnClock1830:
OnClock1920:
OnClock2010:
OnClock2100:
OnClock2250:
OnClock2340:
    movenpc .name$, rand(200), rand(200);
    //npctalk l("Those who are worthy, may get my magic. For the others, death awaits!");
    end;

}