summaryrefslogtreecommitdiff
path: root/npc/guild/gefg/gefg_guardians.txt
blob: eccc1a6c61fcce321da8d9b833f03e9d69c3c4a5 (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
//===== eAthena Script =======================================
//= War of Emperium - gefg_cas guardians script
//===== By: ==================================================
//= holyAngelX (1.0)
//===== Current Version: =====================================
//= 1.2a
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//= Re-spawns guardians on server start if they have been
//= purchased.  Also announces when a guardian dies.
//===== Additional Comments: =================================
//= 1.1 by joedukk
//= 1.2 by Akaru and Valaris
//= 1.2a Guardians for all gefg castles are now in this file.
//= Minor optimizations.[kobra_k88]
//============================================================


gefg_cas01,198,182,0	script	Guardian_G01	-1,{
OnAgitInit:
	if (GetCastleData("gefg_cas01",10) == 1) guardian "gefg_cas01",30,178,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",0;
	if (GetCastleData("gefg_cas01",11) == 1) guardian "gefg_cas01",64,180,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",1;
	if (GetCastleData("gefg_cas01",12) == 1) guardian "gefg_cas01",61,25,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",2;
	if (GetCastleData("gefg_cas01",13) == 1) guardian "gefg_cas01",61,44,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",3;
	if (GetCastleData("gefg_cas01",14) == 1) guardian "gefg_cas01",189,43,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",4;
	if (GetCastleData("gefg_cas01",15) == 1) guardian "gefg_cas01",51,192,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",5;
	if (GetCastleData("gefg_cas01",16) == 1) guardian "gefg_cas01",49,67,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",6;
	if (GetCastleData("gefg_cas01",17) == 1) guardian "gefg_cas01",181,14,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",7;
	end;

OnGuardianDied:
	// Event when Guardian dies
	MapAnnounce "gefg_cas01","A Guardian Has Fallen",17;
	end;
}
//------------------------------------------------------------------------------
gefg_cas02,176,178,0	script	Guardian_G02	-1,{
OnAgitInit:
	if (GetCastleData("gefg_cas02",10) == 1) guardian "gefg_cas02",22,135,"Soldier Guardian",1287,"Guardian_G02::OnGuardianDied",0;
	if (GetCastleData("gefg_cas02",11) == 1) guardian "gefg_cas02",33,40,"Soldier Guardian",1287,"Guardian_G02::OnGuardianDied",1;
	if (GetCastleData("gefg_cas02",12) == 1) guardian "gefg_cas02",158,11,"Soldier Guardian",1287,"Guardian_G02::OnGuardianDied",2;
	if (GetCastleData("gefg_cas02",13) == 1) guardian "gefg_cas02",64,140,"Archer Guardian",1285,"Guardian_G02::OnGuardianDied",3;
	if (GetCastleData("gefg_cas02",14) == 1) guardian "gefg_cas02",36,140,"Archer Guardian",1285,"Guardian_G02::OnGuardianDied",4;
	if (GetCastleData("gefg_cas02",15) == 1) guardian "gefg_cas02",166,45,"Knight Guardian",1286,"Guardian_G02::OnGuardianDied",5;
	if (GetCastleData("gefg_cas02",16) == 1) guardian "gefg_cas02",10,39,"Knight Guardian",1286,"Guardian_G02::OnGuardianDied",6;
	if (GetCastleData("gefg_cas02",17) == 1) guardian "gefg_cas02",166,35,"Knight Guardian",1286,"Guardian_G02::OnGuardianDied",7;
	end;

OnGuardianDied:
	// Event when Guardian dies
	MapAnnounce "gefg_cas02","A Guardian Has Fallen",17;
	end;
}
//------------------------------------------------------------------------------
gefg_cas03,245,167,0	script	Guardian_G03	-1,{
OnAgitInit:
	if (GetCastleData("gefg_cas03",10) == 1) guardian "gefg_cas03",101,53,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",0;
	if (GetCastleData("gefg_cas03",11) == 1) guardian "gefg_cas03",158,40,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",1;
	if (GetCastleData("gefg_cas03",12) == 1) guardian "gefg_cas03",158,67,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",2;
	if (GetCastleData("gefg_cas03",13) == 1) guardian "gefg_cas03",229,53,"Archer Guardian",1285,"Guardian_G03::OnGuardianDied",3;
	if (GetCastleData("gefg_cas03",14) == 1) guardian "gefg_cas03",248,53,"Archer Guardian",1285,"Guardian_G03::OnGuardianDied",4;
	if (GetCastleData("gefg_cas03",15) == 1) guardian "gefg_cas03",122,53,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",5;
	if (GetCastleData("gefg_cas03",16) == 1) guardian "gefg_cas03",243,35,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",6;
	if (GetCastleData("gefg_cas03",17) == 1) guardian "gefg_cas03",234,33,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",7;
	end;

OnGuardianDied:
	// Event when Guardian dies
	MapAnnounce "gefg_cas03","A Guardian Has Fallen",17;
	end;
}
//------------------------------------------------------------------------------
gefg_cas04,174,178,0	script	Guardian_G04	-1,{
OnAgitInit:
	if (GetCastleData("gefg_cas04",10) == 1) guardian "gefg_cas04",49,203,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",0;
	if (GetCastleData("gefg_cas04",11) == 1) guardian "gefg_cas04",148,50,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",1;
	if (GetCastleData("gefg_cas04",12) == 1) guardian "gefg_cas04",57,20,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",2;
	if (GetCastleData("gefg_cas04",13) == 1) guardian "gefg_cas04",34,218,"Archer Guardian",1285,"Guardian_G04::OnGuardianDied",3;
	if (GetCastleData("gefg_cas04",14) == 1) guardian "gefg_cas04",167,42,"Archer Guardian",1285,"Guardian_G04::OnGuardianDied",4;
	if (GetCastleData("gefg_cas04",15) == 1) guardian "gefg_cas04",18,52,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",5;
	if (GetCastleData("gefg_cas04",16) == 1) guardian "gefg_cas04",50,48,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",6;
	if (GetCastleData("gefg_cas04",17) == 1) guardian "gefg_cas04",160,66,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",7;
	end;

OnGuardianDied:
	// Event when Guardian dies
	MapAnnounce "gefg_cas04","A Guardian Has Fallen",17;
	end;
}
//------------------------------------------------------------------------------
gefg_cas05,194,184,0	script	Guardian_G05	-1,{
OnAgitInit:
	if (GetCastleData("gefg_cas05",10) == 1) guardian "gefg_cas05",54,149,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",0;
	if (GetCastleData("gefg_cas05",11) == 1) guardian "gefg_cas05",80,31,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",1;
	if (GetCastleData("gefg_cas05",12) == 1) guardian "gefg_cas05",52,32,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",2;
	if (GetCastleData("gefg_cas05",13) == 1) guardian "gefg_cas05",77,149,"Archer Guardian",1285,"Guardian_G05::OnGuardianDied",3;
	if (GetCastleData("gefg_cas05",14) == 1) guardian "gefg_cas05",65,18,"Archer Guardian",1285,"Guardian_G05::OnGuardianDied",4;
	if (GetCastleData("gefg_cas05",15) == 1) guardian "gefg_cas05",66,54,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",5;
	if (GetCastleData("gefg_cas05",16) == 1) guardian "gefg_cas05",187,43,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",6;
	if (GetCastleData("gefg_cas05",17) == 1) guardian "gefg_cas05",167,43,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",7;
	end;

OnGuardianDied:
	// Event when Guardian dies
	MapAnnounce "gefg_cas05","A Guardian Has Fallen",17;
	end;
}