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
|
//===== eAthena Script =======================================
//= War of Emperium - nguild guardians script
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
//= 1.0
//===== 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: =================================
//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
//============================================================
//------------------------------------------------------------------------------
nguild_alde.gat,216,24,0 script Guardian_N01 -1,{
OnAgitInit:
if (GetCastleData("nguild_alde.gat",10) == 1) guardian "nguild_alde.gat",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0;
if (GetCastleData("nguild_alde.gat",11) == 1) guardian "nguild_alde.gat",117,42,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",1;
if (GetCastleData("nguild_alde.gat",12) == 1) guardian "nguild_alde.gat",207,153,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",2;
if (GetCastleData("nguild_alde.gat",13) == 1) guardian "nguild_alde.gat",68,70,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",3;
if (GetCastleData("nguild_alde.gat",14) == 1) guardian "nguild_alde.gat",187,140,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",4;
if (GetCastleData("nguild_alde.gat",15) == 1) guardian "nguild_alde.gat",62,204,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",5;
if (GetCastleData("nguild_alde.gat",16) == 1) guardian "nguild_alde.gat",113,100,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",6;
if (GetCastleData("nguild_alde.gat",17) == 1) guardian "nguild_alde.gat",211,174,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
MapAnnounce "nguild_alde.gat","A Guardian Has Fallen",17;
end;
}
//------------------------------------------------------------------------------
nguild_gef.gat,198,182,0 script Guardian_N02 -1,{
OnAgitInit:
if (GetCastleData("nguild_gef.gat",10) == 1) guardian "nguild_gef.gat",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0;
if (GetCastleData("nguild_gef.gat",11) == 1) guardian "nguild_gef.gat",64,180,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",1;
if (GetCastleData("nguild_gef.gat",12) == 1) guardian "nguild_gef.gat",61,25,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",2;
if (GetCastleData("nguild_gef.gat",13) == 1) guardian "nguild_gef.gat",61,44,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",3;
if (GetCastleData("nguild_gef.gat",14) == 1) guardian "nguild_gef.gat",189,43,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",4;
if (GetCastleData("nguild_gef.gat",15) == 1) guardian "nguild_gef.gat",51,192,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",5;
if (GetCastleData("nguild_gef.gat",16) == 1) guardian "nguild_gef.gat",49,67,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",6;
if (GetCastleData("nguild_gef.gat",17) == 1) guardian "nguild_gef.gat",181,14,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
MapAnnounce "nguild_gef.gat","A Guardian Has Fallen",17;
end;
}
//------------------------------------------------------------------------------
nguild_pay.gat,139,139,0 script Guardian_N03 -1,{
OnAgitInit:
if (GetCastleData("nguild_pay.gat",10) == 1) guardian "nguild_pay.gat",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0;
if (GetCastleData("nguild_pay.gat",11) == 1) guardian "nguild_pay.gat",69,26,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",1;
if (GetCastleData("nguild_pay.gat",12) == 1) guardian "nguild_pay.gat",23,141,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",2;
if (GetCastleData("nguild_pay.gat",13) == 1) guardian "nguild_pay.gat",224,87,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",3;
if (GetCastleData("nguild_pay.gat",14) == 1) guardian "nguild_pay.gat",81,45,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",4;
if (GetCastleData("nguild_pay.gat",15) == 1) guardian "nguild_pay.gat",214,53,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",5;
if (GetCastleData("nguild_pay.gat",16) == 1) guardian "nguild_pay.gat",69,26,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",6;
if (GetCastleData("nguild_pay.gat",17) == 1) guardian "nguild_pay.gat",23,141,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
MapAnnounce "nguild_pay.gat","A Guardian Has Fallen",17;
end;
}
//------------------------------------------------------------------------------
nguild_prt.gat,197,197,0 script Guardian_N04 -1,{
OnAgitInit:
if (GetCastleData("nguild_prt.gat",10) == 1) guardian "nguild_prt.gat",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0;
if (GetCastleData("nguild_prt.gat",11) == 1) guardian "nguild_prt.gat",113,200,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",1;
if (GetCastleData("nguild_prt.gat",12) == 1) guardian "nguild_prt.gat",111,186,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",2;
if (GetCastleData("nguild_prt.gat",13) == 1) guardian "nguild_prt.gat",76,202,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",3;
if (GetCastleData("nguild_prt.gat",14) == 1) guardian "nguild_prt.gat",90,26,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",4;
if (GetCastleData("nguild_prt.gat",15) == 1) guardian "nguild_prt.gat",58,59,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",5;
if (GetCastleData("nguild_prt.gat",16) == 1) guardian "nguild_prt.gat",112,200,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",6;
if (GetCastleData("nguild_prt.gat",17) == 1) guardian "nguild_prt.gat",101,194,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
MapAnnounce "nguild_prt.gat","A Guardian Has Fallen",17;
end;
}
|