|
@@ -1,38 +1,36 @@
|
|
|
//===== rAthena Script =======================================
|
|
|
-//= BattleGround System - KvM 80-99
|
|
|
+//= Système de Champs de Bataille - KvM 80-99
|
|
|
//===== Description: =========================================
|
|
|
-//= [Official Conversion]
|
|
|
-//= Kreiger Von Midgard Battleground for levels 80 to 99
|
|
|
-//= - Winning Team: 5 points
|
|
|
-//= - Losing Team: 1 point
|
|
|
-//===== Changelogs: ==========================================
|
|
|
-//= 1.0 First Version. [L0ne_W0lf]
|
|
|
-//= 1.1 Updated using official Aegis files. [L0ne_W0lf]
|
|
|
-//= 1.2 Upated some announces and dialogs from iRO.
|
|
|
-//= Changed how the scoreboard works slightly.
|
|
|
-//= Removed the areapercentheals, and minor things.
|
|
|
-//= 1.3 Added battle_config checks to allow this script to use the new queue interface or the previous method. [Aleos]
|
|
|
+//= [Conversion Officielle]
|
|
|
+//= Champs de Bataille Kreiger Von Midgard pour les niveaux 80 à 99
|
|
|
+//= - Équipe victorieuse : 5 points
|
|
|
+//= - Équipe perdante : 1 point
|
|
|
+//===== Historique des modifications: ========================
|
|
|
+//= 1.0 Première version. [L0ne_W0lf]
|
|
|
+//= 1.1 Mise à jour depuis les fichiers Aegis officiels. [L0ne_W0lf]
|
|
|
+//= 1.2 Mise à jour des annonces et dialogues depuis iRO.
|
|
|
+//= Légère modification du fonctionnement du tableau des scores.
|
|
|
+//= Suppression des soins de zone, et autres détails mineurs.
|
|
|
+//= 1.3 Ajout des vérifications de configuration pour activer l’interface de file d’attente ou l’ancienne méthode. [Aleos]
|
|
|
+//===== Traduit par OverSu et Liara ==========================
|
|
|
+
|
|
|
+// PNJ de la Salle d’Attente
|
|
|
//============================================================
|
|
|
-
|
|
|
-// Waiting Room NPCs
|
|
|
-//============================================================
|
|
|
-bat_room,169,226,5 script KVM Waiting Room#a::KvM01R_Guillaume 418,{
|
|
|
+bat_room,169,226,5 script Salle d’Attente KvM#a::KvM01R_Guillaume 418,{
|
|
|
end;
|
|
|
OnInit:
|
|
|
- waitingroom "Battle Station 5 Players",6,"KvM01_BG_Out::OnGuillaumeJoin",1;
|
|
|
+ waitingroom "Poste de Combat - 5 Joueurs",6,"KvM01_BG_Out::OnGuillaumeJoin",1;
|
|
|
end;
|
|
|
OnEnterBG:
|
|
|
set $@KvM01BG_id1, waitingroom2bg("bat_c01",52,129,"KvM01_BG::OnGuillaumeQuit","KvM01_BG::OnGuillaumeDie");
|
|
|
end;
|
|
|
}
|
|
|
|
|
|
-bat_room,169,205,3 script KVM Waiting Room#b::KvM01R_Croix 414,{
|
|
|
+bat_room,169,205,3 script Salle d’Attente KvM#b::KvM01R_Croix 414,{
|
|
|
end;
|
|
|
-
|
|
|
OnInit:
|
|
|
- waitingroom "Battle Station 5 Players",6,"KvM01_BG_Out::OnCroixJoin",1;
|
|
|
+ waitingroom "Poste de Combat - 5 Joueurs",6,"KvM01_BG_Out::OnCroixJoin",1;
|
|
|
end;
|
|
|
-
|
|
|
OnEnterBG:
|
|
|
set $@KvM01BG_id2, waitingroom2bg("bat_c01",147,55,"KvM01_BG::OnCroixQuit","KvM01_BG::OnCroixDie");
|
|
|
end;
|
|
@@ -41,9 +39,9 @@ OnEnterBG:
|
|
|
bat_room,169,220,0 warp2 #kvm801 2,2,bat_room,154,150
|
|
|
bat_room,169,211,0 warp2 #kvm802 2,2,bat_room,154,150
|
|
|
|
|
|
-// Starting Line
|
|
|
+// Lignes de Départ
|
|
|
//============================================================
|
|
|
-- script KVM01::CellEffect -1,{
|
|
|
+- script KVM01::EffetCellule -1,{
|
|
|
end;
|
|
|
OnKvM01One:
|
|
|
specialeffect EF_CHANGECOLD;
|
|
@@ -53,32 +51,32 @@ OnKvM01Two:
|
|
|
end;
|
|
|
}
|
|
|
|
|
|
-bat_c01,54,124,3 duplicate(CellEffect) #RedcellA1-1 139
|
|
|
-bat_c01,55,124,3 duplicate(CellEffect) #RedcellA2-1 139
|
|
|
-bat_c01,56,124,3 duplicate(CellEffect) #RedcellA3-1 139
|
|
|
-bat_c01,57,124,3 duplicate(CellEffect) #RedcellA4-1 139
|
|
|
-bat_c01,57,125,3 duplicate(CellEffect) #RedcellA5-1 139
|
|
|
-bat_c01,57,126,3 duplicate(CellEffect) #RedcellA6-1 139
|
|
|
-bat_c01,57,127,3 duplicate(CellEffect) #RedcellA7-1 139
|
|
|
+bat_c01,54,124,3 duplicate(EffetCellule) #CelluleRougeA1-1 139
|
|
|
+bat_c01,55,124,3 duplicate(EffetCellule) #CelluleRougeA2-1 139
|
|
|
+bat_c01,56,124,3 duplicate(EffetCellule) #CelluleRougeA3-1 139
|
|
|
+bat_c01,57,124,3 duplicate(EffetCellule) #CelluleRougeA4-1 139
|
|
|
+bat_c01,57,125,3 duplicate(EffetCellule) #CelluleRougeA5-1 139
|
|
|
+bat_c01,57,126,3 duplicate(EffetCellule) #CelluleRougeA6-1 139
|
|
|
+bat_c01,57,127,3 duplicate(EffetCellule) #CelluleRougeA7-1 139
|
|
|
|
|
|
-bat_c01,145,59,3 duplicate(CellEffect) #RedcellB1-1 139
|
|
|
-bat_c01,144,59,3 duplicate(CellEffect) #RedcellB2-1 139
|
|
|
-bat_c01,143,59,3 duplicate(CellEffect) #RedcellB3-1 139
|
|
|
-bat_c01,142,59,3 duplicate(CellEffect) #RedcellB4-1 139
|
|
|
-bat_c01,142,56,3 duplicate(CellEffect) #RedcellB5-1 139
|
|
|
-bat_c01,142,57,3 duplicate(CellEffect) #RedcellB6-1 139
|
|
|
-bat_c01,142,58,3 duplicate(CellEffect) #RedcellB7-1 139
|
|
|
+bat_c01,145,59,3 duplicate(EffetCellule) #CelluleRougeB1-1 139
|
|
|
+bat_c01,144,59,3 duplicate(EffetCellule) #CelluleRougeB2-1 139
|
|
|
+bat_c01,143,59,3 duplicate(EffetCellule) #CelluleRougeB3-1 139
|
|
|
+bat_c01,142,59,3 duplicate(EffetCellule) #CelluleRougeB4-1 139
|
|
|
+bat_c01,142,56,3 duplicate(EffetCellule) #CelluleRougeB5-1 139
|
|
|
+bat_c01,142,57,3 duplicate(EffetCellule) #CelluleRougeB6-1 139
|
|
|
+bat_c01,142,58,3 duplicate(EffetCellule) #CelluleRougeB7-1 139
|
|
|
|
|
|
-bat_c01,54,128,3 script #A_camp_start01 139,4,4,{
|
|
|
+bat_c01,54,128,3 script #Camp_A_depart01 139,4,4,{
|
|
|
end;
|
|
|
OnInit:
|
|
|
- disablenpc "#A_camp_start01";
|
|
|
+ disablenpc "#Camp_A_depart01";
|
|
|
end;
|
|
|
OnEnable:
|
|
|
- enablenpc "#A_camp_start01";
|
|
|
+ enablenpc "#Camp_A_depart01";
|
|
|
end;
|
|
|
OnDisable:
|
|
|
- disablenpc "#A_camp_start01";
|
|
|
+ disablenpc "#Camp_A_depart01";
|
|
|
end;
|
|
|
OnTouch:
|
|
|
set Bat_Team,1;
|
|
@@ -87,16 +85,16 @@ OnTouch:
|
|
|
end;
|
|
|
}
|
|
|
|
|
|
-bat_c01,146,56,3 script #B_camp_start01 139,4,4,{
|
|
|
+bat_c01,146,56,3 script #Camp_B_depart01 139,4,4,{
|
|
|
end;
|
|
|
OnInit:
|
|
|
- disablenpc "#B_camp_start01";
|
|
|
+ disablenpc "#Camp_B_depart01";
|
|
|
end;
|
|
|
OnEnable:
|
|
|
- enablenpc "#B_camp_start01";
|
|
|
+ enablenpc "#Camp_B_depart01";
|
|
|
end;
|
|
|
OnDisable:
|
|
|
- disablenpc "#B_camp_start01";
|
|
|
+ disablenpc "#Camp_B_depart01";
|
|
|
end;
|
|
|
OnTouch:
|
|
|
set Bat_Team,2;
|
|
@@ -105,7 +103,8 @@ OnTouch:
|
|
|
end;
|
|
|
}
|
|
|
|
|
|
-// Battleground Engine
|
|
|
+
|
|
|
+// Moteur du Champ de Bataille KvM
|
|
|
//============================================================
|
|
|
- script KvM01_BG -1,{
|
|
|
end;
|
|
@@ -114,12 +113,12 @@ OnInit:
|
|
|
if (getbattleflag("feature.bgqueue"))
|
|
|
bg_unbook "bat_c01";
|
|
|
mapwarp "bat_c01","bat_room",154,150;
|
|
|
- setwall "bat_c01",54,122,6,7,0,"batc01wall_a";
|
|
|
- setwall "bat_c01",55,122,5,7,0,"batc01wall_b";
|
|
|
- setwall "bat_c01",140,56,6,7,0,"batc01wall_c";
|
|
|
- setwall "bat_c01",140,57,5,7,0,"batc01wall_d";
|
|
|
- disablenpc "KVM Officer#KVM01A";
|
|
|
- disablenpc "KVM Officer#KVM01B";
|
|
|
+ setwall "bat_c01",54,122,6,7,0,"mur_c01a";
|
|
|
+ setwall "bat_c01",55,122,5,7,0,"mur_c01b";
|
|
|
+ setwall "bat_c01",140,56,6,7,0,"mur_c01c";
|
|
|
+ setwall "bat_c01",140,57,5,7,0,"mur_c01d";
|
|
|
+ disablenpc "Officier KvM#KvM01A";
|
|
|
+ disablenpc "Officier KvM#KvM01B";
|
|
|
end;
|
|
|
|
|
|
OnGuillaumeQuit:
|
|
@@ -127,15 +126,16 @@ OnGuillaumeQuit:
|
|
|
bg_desert;
|
|
|
// else
|
|
|
// set BG_Delay_Tick, gettimetick(2) + 1200;
|
|
|
+
|
|
|
OnGuillaumeDie:
|
|
|
- if( $@KvM01BG == 2 )
|
|
|
- {
|
|
|
+ if( $@KvM01BG == 2 ) {
|
|
|
set .Guillaume_Count, .Guillaume_Count - 1;
|
|
|
bg_updatescore "bat_c01",.Guillaume_Count,.Croix_Count;
|
|
|
- if( .Guillaume_Count < 1 ) donpcevent "KvM01_BG::OnCroixWin";
|
|
|
+ if( .Guillaume_Count < 1 )
|
|
|
+ donpcevent "KvM01_BG::OnCroixWin";
|
|
|
else {
|
|
|
- mapannounce "bat_c01", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Guillaume : "+.Guillaume_Count+" soldats restants.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Croix : "+.Croix_Count+" combattants encore debout.",bc_map,"0x00ff00";
|
|
|
}
|
|
|
}
|
|
|
end;
|
|
@@ -145,15 +145,16 @@ OnCroixQuit:
|
|
|
bg_desert;
|
|
|
// else
|
|
|
// set BG_Delay_Tick, gettimetick(2) + 1200;
|
|
|
+
|
|
|
OnCroixDie:
|
|
|
- if( $@KvM01BG == 2 )
|
|
|
- {
|
|
|
+ if( $@KvM01BG == 2 ) {
|
|
|
set .Croix_Count, .Croix_Count - 1;
|
|
|
bg_updatescore "bat_c01",.Guillaume_Count,.Croix_Count;
|
|
|
- if( .Croix_Count < 1 ) donpcevent "KvM01_BG::OnGuillaumeWin";
|
|
|
+ if( .Croix_Count < 1 )
|
|
|
+ donpcevent "KvM01_BG::OnGuillaumeWin";
|
|
|
else {
|
|
|
- mapannounce "bat_c01", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Guillaume : "+.Guillaume_Count+" soldats restants.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Croix : "+.Croix_Count+" combattants encore debout.",bc_map,"0x00ff00";
|
|
|
}
|
|
|
}
|
|
|
end;
|
|
@@ -167,61 +168,58 @@ OnCroixActive:
|
|
|
end;
|
|
|
|
|
|
OnStart:
|
|
|
- disablenpc "KVM Officer#KVM01A";
|
|
|
- disablenpc "KVM Officer#KVM01B";
|
|
|
+ disablenpc "Officier KvM#KvM01A";
|
|
|
+ disablenpc "Officier KvM#KvM01B";
|
|
|
set $@KvM01BG_Victory, 0;
|
|
|
- // Warp Teams
|
|
|
bg_warp $@KvM01BG_id1,"bat_c01",53,128;
|
|
|
bg_warp $@KvM01BG_id2,"bat_c01",146,55;
|
|
|
initnpctimer;
|
|
|
end;
|
|
|
|
|
|
OnTimer1000:
|
|
|
- mapannounce "bat_c01", "In 1 minute, KVM will start.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Dans 1 minute, la bataille du KvM commence !",bc_map,"0x00ff00";
|
|
|
end;
|
|
|
|
|
|
OnTimer3000:
|
|
|
- mapannounce "bat_c01", "The maximum time for a KVM battle is 5 minutes.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Durée maximale de la bataille : 5 minutes.",bc_map,"0x00ff00";
|
|
|
end;
|
|
|
|
|
|
OnTimer6000:
|
|
|
- mapannounce "bat_c01", "Please prepare for the KVM battle.",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "You can buff your people.",bc_map,"0x00ff00";
|
|
|
- donpcevent "#A_camp_start01::OnEnable";
|
|
|
- donpcevent "#B_camp_start01::OnEnable";
|
|
|
+ mapannounce "bat_c01", "Préparez-vous, renforcez vos camarades !",bc_map,"0x00ff00";
|
|
|
+ donpcevent "#Camp_A_depart01::OnEnable";
|
|
|
+ donpcevent "#Camp_B_depart01::OnEnable";
|
|
|
end;
|
|
|
|
|
|
OnTimer13000:
|
|
|
- donpcevent "#A_camp_start01::OnDisable";
|
|
|
- donpcevent "#B_camp_start01::OnDisable";
|
|
|
+ donpcevent "#Camp_A_depart01::OnDisable";
|
|
|
+ donpcevent "#Camp_B_depart01::OnDisable";
|
|
|
end;
|
|
|
|
|
|
OnTimer30000:
|
|
|
- mapannounce "bat_c01", "30 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Début de la bataille dans 30 secondes !",bc_map,"0x00ff00";
|
|
|
end;
|
|
|
|
|
|
OnTimer45000:
|
|
|
- mapannounce "bat_c01", "15 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "15 secondes avant le choc des armées !",bc_map,"0x00ff00";
|
|
|
donpcevent "::OnKvM01One";
|
|
|
end;
|
|
|
|
|
|
OnTimer50000:
|
|
|
- mapannounce "bat_c01", "10 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "10 secondes avant la guerre !",bc_map,"0x00ff00";
|
|
|
donpcevent "::OnKvM01Two";
|
|
|
end;
|
|
|
|
|
|
OnTimer55000:
|
|
|
- mapannounce "bat_c01", "5 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "5 secondes... Respirez. Armez-vous. Tenez bon !",bc_map,"0x00ff00";
|
|
|
donpcevent "::OnKvM01One";
|
|
|
end;
|
|
|
|
|
|
OnTimer59000:
|
|
|
- mapannounce "bat_c01", "KVM is now commencing.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "C’EST PARTI ! À L’ASSAUT !",bc_map,"0x00ff00";
|
|
|
donpcevent "::OnKvM01Two";
|
|
|
end;
|
|
|
|
|
|
OnTimer61000:
|
|
|
- // Team Members
|
|
|
set .Guillaume_Count, bg_get_data($@KvM01BG_id1, 0);
|
|
|
set .Croix_Count, bg_get_data($@KvM01BG_id2, 0);
|
|
|
|
|
@@ -229,51 +227,28 @@ OnTimer61000:
|
|
|
if (.Guillaume_Count < 5 || .Croix_Count < 5) {
|
|
|
set $@KvM01BG_Victory, 3;
|
|
|
set $@KvM01BG, 3;
|
|
|
- mapannounce "bat_c01","There are not enough players to start the battle",1,0x696969;
|
|
|
+ mapannounce "bat_c01","Pas assez de participants pour commencer !",1,0x696969;
|
|
|
stopnpctimer;
|
|
|
donpcevent "KvM01_BG::OnStop";
|
|
|
end;
|
|
|
}
|
|
|
}
|
|
|
bg_updatescore "bat_c01",.Guillaume_Count,.Croix_Count;
|
|
|
- set $@KvM01BG, 2; // Playing
|
|
|
+ set $@KvM01BG, 2; // En cours
|
|
|
bg_warp $@KvM01BG_id1,"bat_c01",61,120;
|
|
|
bg_warp $@KvM01BG_id2,"bat_c01",138,63;
|
|
|
end;
|
|
|
|
|
|
-OnTimer300000:
|
|
|
- mapannounce "bat_c01", "1 minute remaining to finish the KVM battle.",bc_map,"0x00ff00";
|
|
|
- end;
|
|
|
-
|
|
|
-OnTimer330000:
|
|
|
- mapannounce "bat_c01", "30 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
|
|
|
- end;
|
|
|
-
|
|
|
-OnTimer345000:
|
|
|
- mapannounce "bat_c01", "15 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
|
|
|
- end;
|
|
|
-
|
|
|
-OnTimer350000:
|
|
|
- mapannounce "bat_c01", "10 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
|
|
|
- end;
|
|
|
-
|
|
|
-OnTimer355000:
|
|
|
- mapannounce "bat_c01", "5 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
|
|
|
- end;
|
|
|
-
|
|
|
OnTimer360000:
|
|
|
- mapannounce "bat_c01", "The KVM battle is over.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Fin du KvM ! Cessez le feu !",bc_map,"0x00ff00";
|
|
|
if( .Croix_Count > .Guillaume_Count )
|
|
|
donpcevent "KvM01_BG::OnCroixWin";
|
|
|
else if( .Croix_Count < .Guillaume_Count )
|
|
|
donpcevent "KvM01_BG::OnGuillaumeWin";
|
|
|
- else
|
|
|
- { // Draw Game
|
|
|
+ else {
|
|
|
set $@KvM01BG, 3;
|
|
|
set $@KvM01BG_Victory, 3;
|
|
|
- mapannounce "bat_c01", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "This battle has ended in a draw.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Égalité parfaite. Aucun vainqueur aujourd’hui.",bc_map,"0x00ff00";
|
|
|
donpcevent "KvM01_BG::OnStop";
|
|
|
}
|
|
|
end;
|
|
@@ -281,34 +256,17 @@ OnTimer360000:
|
|
|
OnGuillaumeWin:
|
|
|
set $@KvM01BG, 3;
|
|
|
set $@KvM01BG_Victory, 1;
|
|
|
- mapannounce "bat_c01", "Guillaume wins!",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "Congratulations to Guillaume members.",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Victoire pour l’Armée Guillaume !",bc_map,"0x00ff00";
|
|
|
donpcevent "KvM01_BG::OnStop";
|
|
|
end;
|
|
|
|
|
|
OnCroixWin:
|
|
|
set $@KvM01BG, 3;
|
|
|
set $@KvM01BG_Victory, 2;
|
|
|
- mapannounce "bat_c01", "Croix wins!",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "Congratulations to Croix members.",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
|
|
|
- donpcevent "KvM01_BG::OnStop";
|
|
|
- end;
|
|
|
-
|
|
|
-OnStop:
|
|
|
- stopnpctimer;
|
|
|
- enablenpc "KVM Officer#KVM01A";
|
|
|
- enablenpc "KVM Officer#KVM01B";
|
|
|
- // Warp Teams
|
|
|
- bg_warp $@KvM01BG_id1,"bat_c01",53,128;
|
|
|
- bg_warp $@KvM01BG_id2,"bat_c01",146,55;
|
|
|
- donpcevent "KvM01_BG_Out::OnBegin";
|
|
|
- if (getbattleflag("feature.bgqueue"))
|
|
|
- bg_reserve "bat_c01", true;
|
|
|
- end;
|
|
|
-}
|
|
|
+ mapannounce "bat_c01", "L’Armée Croix remporte la_
|
|
|
|
|
|
+// Sortie de champ de bataille - KvM
|
|
|
+//============================================================
|
|
|
- script KvM01_BG_Out -1,{
|
|
|
end;
|
|
|
|
|
@@ -317,21 +275,19 @@ OnBegin:
|
|
|
end;
|
|
|
|
|
|
OnTimer1000:
|
|
|
- mapannounce "bat_c01", "Please apply with the Officer to acquire KVM points.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Parlez à l'officier pour recevoir vos récompenses du KvM.",bc_map,"0x00ff00";
|
|
|
end;
|
|
|
|
|
|
OnTimer3000:
|
|
|
- mapannounce "bat_c01", "The Officer will grant you the points for 30 seconds.",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "In 30 seconds, the Officer will be sent away.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Vous avez 30 secondes pour réclamer vos points.",bc_map,"0x00ff00";
|
|
|
end;
|
|
|
|
|
|
OnTimer5000:
|
|
|
- mapannounce "bat_c01", "Unless you talk to the Officer, you cannot gain the points.",bc_map,"0x00ff00";
|
|
|
- mapannounce "bat_c01", "Please be careful.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "N’oubliez pas : sans parler à l’officier, aucun point ne sera attribué !",bc_map,"0x00ff00";
|
|
|
end;
|
|
|
|
|
|
OnTimer55000:
|
|
|
- mapannounce "bat_c01", "You will be sent back.",bc_map,"0x00ff00";
|
|
|
+ mapannounce "bat_c01", "Retour à la base imminent !",bc_map,"0x00ff00";
|
|
|
end;
|
|
|
|
|
|
OnTimer60000:
|
|
@@ -339,15 +295,19 @@ OnTimer60000:
|
|
|
if (getbattleflag("feature.bgqueue"))
|
|
|
bg_reserve "bat_c01", true;
|
|
|
mapwarp "bat_c01","bat_room",154,150;
|
|
|
+
|
|
|
set getvariableofnpc(.Croix_Count,"KvM01_BG"), 0;
|
|
|
set getvariableofnpc(.Guillaume_Count,"KvM01_BG"), 0;
|
|
|
set $@KvM01BG_Victory, 0;
|
|
|
+
|
|
|
if( $@KvM01BG_id1 ) { bg_destroy $@KvM01BG_id1; set $@KvM01BG_id1, 0; }
|
|
|
if( $@KvM01BG_id2 ) { bg_destroy $@KvM01BG_id2; set $@KvM01BG_id2, 0; }
|
|
|
+
|
|
|
if (getbattleflag("feature.bgqueue"))
|
|
|
bg_unbook "bat_c01";
|
|
|
- disablenpc "KVM Officer#KVM01A";
|
|
|
- disablenpc "KVM Officer#KVM01B";
|
|
|
+
|
|
|
+ disablenpc "Officier KvM#KvM01A";
|
|
|
+ disablenpc "Officier KvM#KvM01B";
|
|
|
set $@KvM01BG, 0;
|
|
|
end;
|
|
|
|
|
@@ -355,35 +315,35 @@ OnGuillaumeJoin:
|
|
|
OnCroixJoin:
|
|
|
if( $@KvM01BG )
|
|
|
end;
|
|
|
+
|
|
|
set .@Guillaume, getwaitingroomstate(0,"KvM01R_Guillaume");
|
|
|
set .@Croix, getwaitingroomstate(0,"KvM01R_Croix");
|
|
|
|
|
|
if( .@Guillaume < 5 || .@Croix < 5 )
|
|
|
end;
|
|
|
|
|
|
- set $@KvM01BG, 1; // Starting
|
|
|
+ set $@KvM01BG, 1; // Démarrage en cours
|
|
|
donpcevent "KvM01R_Croix::OnEnterBG";
|
|
|
donpcevent "KvM01R_Guillaume::OnEnterBG";
|
|
|
donpcevent "KvM01_BG::OnStart";
|
|
|
end;
|
|
|
}
|
|
|
|
|
|
-// Battleground rewards
|
|
|
+// PNJs de récompense - KvM
|
|
|
//============================================================
|
|
|
-bat_c01,51,130,5 script KVM Officer#KVM01A 419,{
|
|
|
+bat_c01,51,130,5 script Officier KvM#KvM01A 419,{
|
|
|
if( $@KvM01BG_Victory ) {
|
|
|
- mes "[KVM Officer]";
|
|
|
+ mes "[Officier KvM]";
|
|
|
if( $@KvM01BG_Victory == Bat_Team ) {
|
|
|
- mes "Good Game.";
|
|
|
- mes "May the glory of KVM be with you.";
|
|
|
- mes "You aquire the winning points: 5";
|
|
|
+ mes "Bravo, combattant de l'honneur !";
|
|
|
+ mes "Que la gloire du KvM t’accompagne.";
|
|
|
+ mes "Tu gagnes : ^0055FF5 points de victoire^000000.";
|
|
|
close2;
|
|
|
set kvm_point,kvm_point + 5;
|
|
|
}
|
|
|
else {
|
|
|
- mes "I am so sorry.";
|
|
|
- mes "I wish you better luck next time.";
|
|
|
- mes "You aquire the losing points: 1";
|
|
|
+ mes "Courage, l’échec n’est qu’un pas vers la victoire.";
|
|
|
+ mes "Tu gagnes quand même : ^7777771 point de participation^000000.";
|
|
|
close2;
|
|
|
set kvm_point,kvm_point + 1;
|
|
|
}
|
|
@@ -394,9 +354,11 @@ bat_c01,51,130,5 script KVM Officer#KVM01A 419,{
|
|
|
}
|
|
|
end;
|
|
|
}
|
|
|
-bat_c01,148,53,1 duplicate(KVM Officer#KVM01A) KVM Officer#KVM01B 415
|
|
|
|
|
|
-// BG Queue makes these scripts useless
|
|
|
+bat_c01,148,53,1 duplicate(Officier KvM#KvM01A) Officier KvM#KvM01B 415
|
|
|
+
|
|
|
+// File d’attente BG - Désactive les scripts inutiles
|
|
|
+//============================================================
|
|
|
- script BGQueueInit#kvm01 -1,{
|
|
|
end;
|
|
|
|