summaryrefslogtreecommitdiff
path: root/npc/guild/prtg/prtg_managers.txt
blob: c4e443b511a19077558663430ee552da79fcbc28 (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
//===== eAthena Script =======================================
//= War of Emperium Managers for Prontera Guild Castles
//===== By: ==================================================
//= jAthena - kalen (1.0)
//= 1.1 by Akaru, ho|yAnge|X, and Valaris
//===== Current Version: =====================================
//= 1.2
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//= 
//===== Additional Comments: =================================
//= v1.2 Optimized with functions.[kobra_k88]
//============================================================


// Castle 1 ==================================================================================
prtg_cas01,112,181,0	script	Abrai	55,{
	if(callfunc("F_GldManager","Abrai","prtg_cas01",15,209,"Pt01") == 0) close;

	if(@GDnum==10) guardian "prtg_cas01",196,92,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",0; 
	if(@GDnum==11) guardian "prtg_cas01",113,200,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",1; 
	if(@GDnum==12) guardian "prtg_cas01",111,186,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",2;
	if(@GDnum==13) guardian "prtg_cas01",76,202,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",3; 
	if(@GDnum==14) guardian "prtg_cas01",90,26,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",4; 
	if(@GDnum==15) guardian "prtg_cas01",58,59,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",5; 
	if(@GDnum==16) guardian "prtg_cas01",112,200,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",6; 
	if(@GDnum==17) guardian "prtg_cas01",101,194,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",7;
	mes "[ Abrai ]";
	mes "Guardian has been installed, the guardian will protect our guild base against enemies.";
	close;
}


// Castle 2 ==================================================================================
prtg_cas02,94,61,0	script	Rhay	55,{
	if(callfunc("F_GldManager","Rhay","prtg_cas02",201,229,"Pt02") == 0) close;

	if(@GDnum==10) guardian "prtg_cas02",75,71,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",0; 
	if(@GDnum==11) guardian "prtg_cas02",56,31,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",1; 
	if(@GDnum==12) guardian "prtg_cas02",42,223,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",2;
	if(@GDnum==13) guardian "prtg_cas02",44,195,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",3; 
	if(@GDnum==14) guardian "prtg_cas02",197,22,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",4; 
	if(@GDnum==15) guardian "prtg_cas02",68,71,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",5; 
	if(@GDnum==16) guardian "prtg_cas02",202,27,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",6; 
	if(@GDnum==17) guardian "prtg_cas02",59,24,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",7;
	mes "[ Rhay ]";
	mes "Guardian has been installed, guardian will protect our guild base against enemies.";
	close;
}


// Castle 3 ==================================================================================
prtg_cas03,51,100,4	script	Stick	55,{
	if(callfunc("F_GldManager","Stick","prtg_cas03",189,132,"Pt03") == 0) close;

	if(@GDnum==10) guardian "prtg_cas03",165,55,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",0; 
	if(@GDnum==11) guardian "prtg_cas03",161,181,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",1; 
	if(@GDnum==12) guardian "prtg_cas03",165,199,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",2;
	if(@GDnum==13) guardian "prtg_cas03",169,22,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",3; 
	if(@GDnum==14) guardian "prtg_cas03",165,191,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",4; 
	if(@GDnum==15) guardian "prtg_cas03",175,13,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",5; 
	if(@GDnum==16) guardian "prtg_cas03",169,180,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",6; 
	if(@GDnum==17) guardian "prtg_cas03",142,217,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",7;
	mes "[ Stick ]";
	mes "Guardian has been installed, guardian will protect our guild base against enemies.";
	close;
}


// Castle 4 ==================================================================================
prtg_cas04,259,265,4	script	Bandred	55,{
	if(callfunc("F_GldManager","Bandred","prtg_cas04",271,162,"Pt04") == 0) close;

	if(@GDnum==10) guardian "prtg_cas04",30,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",0; 
	if(@GDnum==11) guardian "prtg_cas04",38,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",1; 
	if(@GDnum==12) guardian "prtg_cas04",63,26,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",2;
	if(@GDnum==13) guardian "prtg_cas04",253,274,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",3; 
	if(@GDnum==14) guardian "prtg_cas04",269,256,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",4; 
	if(@GDnum==15) guardian "prtg_cas04",267,271,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",5; 
	if(@GDnum==16) guardian "prtg_cas04",34,281,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",6; 
	if(@GDnum==17) guardian "prtg_cas04",33,232,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",7;
	mes "[ Bandred ]";
	mes "Guardian has been installed, guardian will protect our guild base against enemies.";
	close;
}


// Castle 5 ==================================================================================
prtg_cas05,36,37,4	script	Reiner	55,{
	if(callfunc("F_GldManager","Reiner","prtg_cas05",273,179,"Pt05") == 0) close;

	if(@GDnum==10) guardian "prtg_cas05",244,15,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",0; 
	if(@GDnum==11) guardian "prtg_cas05",241,14,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",1; 
	if(@GDnum==12) guardian "prtg_cas05",68,40,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",2;
	if(@GDnum==13) guardian "prtg_cas05",62,264,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",3; 
	if(@GDnum==14) guardian "prtg_cas05",244,61,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",4; 
	if(@GDnum==15) guardian "prtg_cas05",34,24,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",5; 
	if(@GDnum==16) guardian "prtg_cas05",208,86,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",6; 
	if(@GDnum==17) guardian "prtg_cas05",43,70,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",7;
	mes "[ Reiner ]";
	mes "Guardian has been installed, guardian will protect our guild base against enemies.";
	close;
}