//===== Hercules Script ======================================
//= Emperium Breaker ladder
//===== By: ==================================================
//= AnnieRuru
//===== Current Version: =====================================
//= 1.0a
//===== Compatible With: =====================================
//= hercules 2018-06-10
//===== Description: =========================================
//= what is description ?
//===== Topic ================================================
//= http://herc.ws/board/topic/4745-emperium-breaker-ladder/
//===== Additional Comments: =================================
//= ... / ... | ... \ ...
//============================================================
npc/woe-fe/agit_main.txt | 1 +
npc/woe-se/agit_main_se.txt | 1 +
2 files changed, 2 insertions(+)
diff --git a/npc/woe-fe/agit_main.txt b/npc/woe-fe/agit_main.txt
index 5ac5b8e..c178688 100644
--- a/npc/woe-fe/agit_main.txt
+++ b/npc/woe-fe/agit_main.txt
@@ -101,6 +101,7 @@ OnStartArena:
// The Emperium has been broken.
OnAgitBreak:
+ query_sql "update `char` set empbreak = empbreak +1 where char_id = "+ getcharid(0);
.@GID = getcharid(CHAR_ID_GUILD);
// Show and log error if an unguilded player breaks the Emperium. (Should NEVER happen)
if (.@GID <= 0) {
diff --git a/npc/woe-se/agit_main_se.txt b/npc/woe-se/agit_main_se.txt
index 6fc3193..f4d00a7 100644
--- a/npc/woe-se/agit_main_se.txt
+++ b/npc/woe-se/agit_main_se.txt
@@ -619,6 +619,7 @@ OnStop:
end;
OnStartArena:
+ query_sql "update `char` set empbreak = empbreak +1 where char_id = "+ getcharid(0);
.@GID = getcharid(CHAR_ID_GUILD);
.@region$ = (compare(strnpcinfo(NPC_MAP),"arug"))?"Valfreyja":"Nithafjoll";
// Lower castle Economy