diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 06:56:05 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 06:56:05 +0000 |
commit | 505dca128017c2e65d52082ffdb54750ef371e6c (patch) | |
tree | 06bdb229fd944477647625633c902a54670e72a5 /src | |
parent | 36289f9e38873ca7e6f490cdfda3f6d184a9fea0 (diff) | |
download | hercules-505dca128017c2e65d52082ffdb54750ef371e6c.tar.gz hercules-505dca128017c2e65d52082ffdb54750ef371e6c.tar.bz2 hercules-505dca128017c2e65d52082ffdb54750ef371e6c.tar.xz hercules-505dca128017c2e65d52082ffdb54750ef371e6c.zip |
Fixed Sura's Gentle Touch Revitalize vit bonus, (part of bugreport:5358)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15761 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 ed67421a0..48ff5c9ca 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -623,7 +623,7 @@ void initChangeTables(void) set_sc( SR_RAISINGDRAGON , SC_RAISINGDRAGON , SI_RAISINGDRAGON , SCB_REGEN|SCB_MAXHP|SCB_MAXSP/*|SCB_ASPD*/ ); set_sc( SR_GENTLETOUCH_ENERGYGAIN, SC_GT_ENERGYGAIN , SI_GENTLETOUCH_ENERGYGAIN, SCB_NONE ); set_sc( SR_GENTLETOUCH_CHANGE , SC_GT_CHANGE , SI_GENTLETOUCH_CHANGE , SCB_BATK|SCB_ASPD|SCB_DEF|SCB_MDEF ); - set_sc( SR_GENTLETOUCH_REVITALIZE, SC_GT_REVITALIZE , SI_GENTLETOUCH_REVITALIZE, SCB_MAXHP|SCB_DEF2|SCB_REGEN|SCB_ASPD|SCB_SPEED ); + set_sc( SR_GENTLETOUCH_REVITALIZE, SC_GT_REVITALIZE , SI_GENTLETOUCH_REVITALIZE, SCB_MAXHP|SCB_VIT|SCB_DEF2|SCB_REGEN|SCB_ASPD|SCB_SPEED ); /** * Wanderer / Minstrel **/ @@ -3879,6 +3879,8 @@ static unsigned short status_calc_vit(struct block_list *bl, struct status_chang vit += sc->data[SC_INSPIRATION]->val3; if(sc->data[SC_STOMACHACHE]) vit -= sc->data[SC_STOMACHACHE]->val1; + if(sc->data[SC_GT_REVITALIZE]) + vit += sc->data[SC_GT_REVITALIZE]->val1; return (unsigned short)cap_value(vit,0,USHRT_MAX); |