diff options
author | greenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-11 17:22:40 +0000 |
---|---|---|
committer | greenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-11 17:22:40 +0000 |
commit | c0ff0b92f36dc0ee7a6995f869ad3e51667dc4df (patch) | |
tree | beda5725fd26598acb31ce7e4288cfe0b5b31ad6 /src/map/skill.c | |
parent | ca07b1a86c9a9d93c5901d7f2ec6e9b46f51860e (diff) | |
download | hercules-c0ff0b92f36dc0ee7a6995f869ad3e51667dc4df.tar.gz hercules-c0ff0b92f36dc0ee7a6995f869ad3e51667dc4df.tar.bz2 hercules-c0ff0b92f36dc0ee7a6995f869ad3e51667dc4df.tar.xz hercules-c0ff0b92f36dc0ee7a6995f869ad3e51667dc4df.zip |
Fixed bugreport:5729 Effect formula and duration of LG_SHIELDSPELL level 1 fixed.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16098 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8125f4662..ed5d4c8dc 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7947,12 +7947,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in status_change_end(bl,SC_SHIELDSPELL_DEF,INVALID_TIMER); break; case 2: - val = 10 * shield_data->def; // % Reflected damage. - sc_start2(bl,SC_SHIELDSPELL_DEF,brate,opt,val,shield_data->def * 30000); + val = shield_data->def / 10; // % Reflected damage. + sc_start2(bl,SC_SHIELDSPELL_DEF,brate,opt,val,shield_data->def * 1000); break; case 3: - val = 20 * shield_data->def; // Attack increase. - sc_start2(bl,SC_SHIELDSPELL_DEF,brate,opt,val,shield_data->def * 30000); + val = shield_data->def; // Attack increase. + sc_start2(bl,SC_SHIELDSPELL_DEF,brate,opt,val,shield_data->def * 3000); break; } } |