summaryrefslogtreecommitdiff
path: root/npc/events/custom/draculax.txt
blob: c4c6a767dad4c126449943972bb27b233078c4e8 (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.0a
//===== Compatible With: =====================================
//= eAthena RC4+
//===== Description: =========================================
//= Custom Dracula X Event
//============================================================


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

OnInit:
	set $dracula_event,0;
	end;

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

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

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

	if($dracula_event==1)
	close;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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