summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-24 14:45:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-24 14:45:28 +0000
commit765e2ceaac15587cb25e776234214687d7b36e1b (patch)
tree8928ad4c13dcc55b9af49ec38ee147dd3f746526 /src
parentcd075dd33186145e46c1fb76be879617343db75c (diff)
downloadhercules-765e2ceaac15587cb25e776234214687d7b36e1b.tar.gz
hercules-765e2ceaac15587cb25e776234214687d7b36e1b.tar.bz2
hercules-765e2ceaac15587cb25e776234214687d7b36e1b.tar.xz
hercules-765e2ceaac15587cb25e776234214687d7b36e1b.zip
- Also fixed the battle config setting guild castle defense :x
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9705 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index e65fd0da7..4da1c4c2f 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -540,7 +540,7 @@ int battle_calc_gvg_damage(struct block_list *src,struct block_list *bl,int dama
if (md && md->guardian_data) {
damage -= damage
* (md->guardian_data->castle->defense/100)
- * (battle_config.castle_defense_rate/100);
+ * battle_config.castle_defense_rate/100;
}
if (flag & BF_SKILL) { //Skills get a different reduction than non-skills. [Skotlex]
if (flag&BF_WEAPON)