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 =======================================
//= War of Emperium - Payon Guild Wars Events
//===== By: ==================================================
//= jAthena (1.0)
//= 1.1 by Akaru and ho|yAnge|
//===== Current Version: =====================================
//= 1.2
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//= Event Triggers of Payon Guild Wars
//===== Additional Comments: =================================
//= v1.2 Now using functions for OnAgitStart and OnAgitBreak. [kobra_k88]
//============================================================
// Castle 1 ================================================================
payg_cas01.gat,139,139,0 script Agit_Py01 -1,{
OnInterIfInitOnce:
GetCastleData "payg_cas01.gat",0,"::OnRecvCastlePy01";
end;
OnRecvCastlePy01:
RequestGuildInfo GetCastleData("payg_cas01.gat",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas01","Py01",139,139;
end;
OnAgitBreak:
callfunc "F_AgitBreak","payg_cas01","Py01";
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas01.gat",GetCastleData("payg_cas01.gat",1),6;
Monster "payg_cas01.gat",139,139,"EMPERIUM",1288,1,"Agit_Py01::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas01","Py01";
end;
}
// Castle 2 ================================================================
payg_cas02.gat,39,25,0 script Agit_Py02 -1,{
OnInterIfInitOnce:
GetCastleData "payg_cas02.gat",0,"::OnRecvCastlePy02";
end;
OnRecvCastlePy02:
RequestGuildInfo GetCastleData("payg_cas02.gat",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas02","Py02",39,25;
end;
OnAgitBreak:
callfunc "F_AgitBreak","payg_cas02","Py01";
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas02.gat",GetCastleData("payg_cas02.gat",1),6;
Monster "payg_cas02.gat",39,25,"EMPERIUM",1288,1,"Agit_Py02::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas02","Py02";
end;
}
// Castle 3 ================================================================
payg_cas03.gat,269,265,0 script Agit_Py03 -1,{
OnInterIfInitOnce:
GetCastleData "payg_cas03.gat",0,"::OnRecvCastlePy03";
end;
OnRecvCastlePy03:
RequestGuildInfo GetCastleData("payg_cas03.gat",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas03","Py03",269,265;
end;
OnAgitBreak:
callfunc "F_AgitBreak","payg_cas03","Py03";
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas03.gat",GetCastleData("payg_cas03.gat",1),6;
Monster "payg_cas03.gat",269,265,"EMPERIUM",1288,1,"Agit_Py03::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas03","Py03";
end;
}
// Castle 4 ================================================================
payg_cas04.gat,271,29,0 script Agit_Py04 -1,{
OnInterIfInitOnce:
GetCastleData "payg_cas04.gat",0,"::OnRecvCastlePy04";
end;
OnRecvCastlePy04:
RequestGuildInfo GetCastleData("payg_cas04.gat",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas04","Py04",271,29;
end;
OnAgitBreak:
callfunc "F_AgitBreak","payg_cas04","Py04";
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas04.gat",GetCastleData("payg_cas04.gat",1),6;
Monster "payg_cas04.gat",271,29,"EMPERIUM",1288,1,"Agit_Py04::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas04","Py04";
end;
}
// Castle 5 ================================================================
payg_cas05.gat,30,30,0 script Agit_Py05 -1,{
OnInterIfInitOnce:
GetCastleData "payg_cas05.gat",0,"::OnRecvCastlePy05";
end;
OnRecvCastlePy05:
RequestGuildInfo GetCastleData("payg_cas05.gat",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas05","Py05",30,30;
end;
OnAgitBreak:
callfunc "F_AgitBreak","payg_cas05","Py05";
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas05.gat",GetCastleData("payg_cas05.gat",1),6;
Monster "payg_cas05.gat",30,30,"EMPERIUM",1288,1,"Agit_Py05::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas05","Py05";
end;
}
|