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 | |
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')
-rw-r--r-- | src/map/skill.c | 8 | ||||
-rw-r--r-- | src/map/status.c | 3 |
2 files changed, 6 insertions, 5 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; } } diff --git a/src/map/status.c b/src/map/status.c index 6f31613aa..f1878a2c2 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -594,7 +594,8 @@ void initChangeTables(void) set_sc( LG_PIETY , SC_BENEDICTIO , SI_BENEDICTIO , SCB_DEF_ELE ); set_sc( LG_EARTHDRIVE , SC_EARTHDRIVE , SI_EARTHDRIVE , SCB_DEF|SCB_ASPD ); set_sc( LG_INSPIRATION , SC_INSPIRATION , SI_INSPIRATION , SCB_MAXHP|SCB_WATK|SCB_HIT|SCB_VIT|SCB_AGI|SCB_STR|SCB_DEX|SCB_INT|SCB_LUK); - + set_sc( LG_SHIELDSPELL , SC_SHIELDSPELL_DEF , SI_SHIELDSPELL_DEF , SCB_WATK ); + set_sc( LG_SHIELDSPELL , SC_SHIELDSPELL_REF , SI_SHIELDSPELL_REF , SCB_DEF ); /** * Shadow Chaser **/ |