diff options
author | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-13 20:20:08 +0000 |
---|---|---|
committer | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-13 20:20:08 +0000 |
commit | 4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8 (patch) | |
tree | 96527e91c398ce753dfec7fe239f50991f5b30fd /src/map/status.c | |
parent | b3774b92cfeb2cdc70b00b0e6311631eda373a0c (diff) | |
download | hercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.tar.gz hercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.tar.bz2 hercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.tar.xz hercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.zip |
Applied renewal skill changes: (bugreport:5302)
- Energy Coat: Reduces both physical and magical attacks and now has fixed cast time of 5 seconds
- Throw Huuma Shuriken (33%): Cannot be interrupted
- Spread Attack: Can be used with a Grenade Launcher and attack power is increased; now 20*skill_lv
- Turn Undead: Success rate formula changed, Magic damage formula changed on failure
- Drums on the Battlefield: Increase ATK and DEF granted
- The Ring of Nibelungen: Removed level 4 weapon requirement
- Apple of Idun (100%): Increase amount of HP recovered; now (100 + 5*skill_lv + 5*VIT/10)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16292 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index aa8825b58..fefa63508 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4320,9 +4320,11 @@ static unsigned short status_calc_watk(struct block_list *bl, struct status_chan if (bl->type != BL_PC) watk += sc->data[SC_NIBELUNGEN]->val2; else { + #ifndef RENEWAL TBL_PC *sd = (TBL_PC*)bl; int index = sd->equip_index[sd->state.lr_flag?EQI_HAND_L:EQI_HAND_R]; if(index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->wlv == 4) + #endif watk += sc->data[SC_NIBELUNGEN]->val2; } } @@ -4582,11 +4584,11 @@ static defType status_calc_def(struct block_list *bl, struct status_change *sc, return 100; if(sc->data[SC_KEEPING]) return 90; - #ifndef RENEWAL // does not provide 90 DEF in renewal mode if(sc->data[SC_STEELBODY]) return 90; #endif + if(sc->data[SC_ARMORCHANGE]) def += sc->data[SC_ARMORCHANGE]->val2; if(sc->data[SC_DRUMBATTLE]) |