summaryrefslogtreecommitdiff
path: root/npc/events/nguild
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-10 04:28:03 +0100
committerHaru <haru@dotalux.com>2013-11-10 04:31:28 +0100
commitb4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (patch)
treecbd305d3896bdc9f498ed9eb72836dc7b6c32b99 /npc/events/nguild
parentc9b63614070f7fce81c88cd60e5edad5a7730df0 (diff)
downloadhercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.gz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.bz2
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.xz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.zip
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/events/nguild')
-rw-r--r--npc/events/nguild/nguild_ev_agit.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/events/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt
index f35903828..097abb53c 100644
--- a/npc/events/nguild/nguild_ev_agit.txt
+++ b/npc/events/nguild/nguild_ev_agit.txt
@@ -54,9 +54,9 @@ function script F_AgitBreak {
if (.@Economy < 0) set .@Economy, 0;
setcastledata .@map$, 2, .@Economy;
- set .@Defence,getcastledata(.@map$,3) - 5;
- if (.@Defence < 0) set .@Defence, 0;
- setcastledata .@map$, 3, .@Defence;
+ set .@defence,getcastledata(.@map$,3) - 5;
+ if (.@defence < 0) set .@defence, 0;
+ setcastledata .@map$, 3, .@defence;
setcastledata .@map$,1, .@GID;
mapannounce .@map$,"The emperium has been destroyed.",bc_map,0x00CCFF;