summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-17 16:13:17 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-17 16:13:17 +0000
commitc6928fbf500652f9bf894176acbe9cff93199442 (patch)
tree61feebaf565f8acd32af33b49ab8041e0013412f /src
parente9afc2eb49c13e7c7a7f89a2ef5b07a123cba75c (diff)
downloadhercules-c6928fbf500652f9bf894176acbe9cff93199442.tar.gz
hercules-c6928fbf500652f9bf894176acbe9cff93199442.tar.bz2
hercules-c6928fbf500652f9bf894176acbe9cff93199442.tar.xz
hercules-c6928fbf500652f9bf894176acbe9cff93199442.zip
Fixed Royal Guard shield dispell to take shieldmdef in account for the duration
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15592 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index a88927335..79b2af129 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7478,7 +7478,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case LG_SHIELDSPELL:
if( flag&1 ) {
- int duration = /*(sd) ? sd->shieldmdef * 2000 :*/ 10000;
+ int duration = (sd) ? sd->shieldmdef * 2000 : 10000;
sc_start(bl,SC_SILENCE,100,skilllv,duration);
} else if( sd ) {
int opt = skilllv;