summaryrefslogtreecommitdiff
path: root/npc/events/custom/draculax.txt
blob: b47e29972b1e27c5e278019f33ceb73b7a2e7b82 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
//===== eAthena Script =======================================
//= Dracula X Script
//===== By: ==================================================
//= valaris (1.0)
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= eAthena RC4+
//===== Description: =========================================
//= Custom Dracula X Event
//============================================================


mag_dun02.gat,72,182,1	script	Dracula's Coffin::Dracula_Init	-1,{

OnInit:
	set $dracula_event,0;
	Break;

OnKilled:
	MapAnnounce "mag_dun02.gat","Dracula's curse has been lifted!",17;
	set $dracula_event,0;
	initnpctimer;
	Break;

OnTimer7200000:
	if($dracula_event==0) 
	stopnpctimer;
	enablenpc "Dracula_Event";
	Break;
}

mag_dun02.gat,72,182,1	script	Dracula's Coffin::Dracula_Event	801,{

	if($dracula_event==1)
	close;

	set $dracula_event,1;
	MapAnnounce "mag_dun02.gat","Count Dracula : Who has awakened me from my slumber?",17;
	npcskilleffect 21,10,66,175;
	initnpctimer;
	Break;

OnTimer500:
	npcskilleffect 21,10,74,187;
	Break;

OnTimer1000:
	npcskilleffect 21,10,80,180;
	Break;
	
OnTimer1500:
	npcskilleffect 21,10,79,183;
	Break;

OnTimer2000:
	npcskilleffect 21,10,66,175;
	Break;

OnTimer2500:
	npcskilleffect 21,10,63,186;
	Break;

OnTimer3000:
	npcskilleffect 21,10,75,186;
	Break;

OnTimer3500:
	npcskilleffect 21,10,75,173;
	Break;

OnTimer4000:
	npcskilleffect 21,10,80,170;
	Break;

OnTimer4500:
	npcskilleffect 21,10,60,179;
	Break;

OnTimer5000:
	npcskilleffect 21,10,74,187;
	Break;

OnTimer6000:
	npcskilleffect 21,10,69,182;
	Break;

OnTimer6500:
	npcskilleffect 21,10,80,180;
	Break;

OnTimer7000:
	npcskilleffect 21,10,60,179;
	Break;

OnTimer7500:
	npcskilleffect 21,10,66,175;
	Break;

OnTimer8000:
	npcskilleffect 21,10,80,187;
	Break;

OnTimer8500:
	npcskilleffect 21,10,75,186;
	Break;

OnTimer9000:
	npcskilleffect 21,10,75,173;
	Break;

OnTimer9500:
	npcskilleffect 21,10,80,170;
	Break;

OnTimer10000:
	npcskilleffect 21,10,63,186;
	Break;

OnTimer10500:
	npcskilleffect 21,10,74,187;
	Break;

OnTimer11000:
	npcskilleffect 21,10,72,182;
	monster "mag_dun02.gat",72,182,"Count Dracula",1389,1,"Dracula_Init::OnKilled";
	stopnpctimer;
	disablenpc "Dracula_Event";
	Break;
}