diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-17 00:38:19 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-17 00:38:19 +0000 |
commit | 73c59399d732b6d5c88ccbf4fcb9ced38e777aca (patch) | |
tree | de587f8eb627742ff567c38c5f6053746e1fbfdf /src/map/status.c | |
parent | 9396ca72d5d9c8b20a6badedfc61b6da402ff67a (diff) | |
download | hercules-73c59399d732b6d5c88ccbf4fcb9ced38e777aca.tar.gz hercules-73c59399d732b6d5c88ccbf4fcb9ced38e777aca.tar.bz2 hercules-73c59399d732b6d5c88ccbf4fcb9ced38e777aca.tar.xz hercules-73c59399d732b6d5c88ccbf4fcb9ced38e777aca.zip |
- Fixed being unable to recast Adrenaline Rush to reset the duration timers.
- Added structure regen_data to handle unified regen logic for bl objects. Eh... this is wip, so it isn't used yet, just the preliminar structure is there... (somehow I lost all other progress I had done on it x.x)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8323 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/status.c b/src/map/status.c index 57eb86d7e..a966849a0 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3509,12 +3509,12 @@ static short status_calc_aspd_rate(struct block_list *bl, struct status_change * max = sc->data[SC_ONEHAND].val2; if(sc->data[SC_ADRENALINE2].timer!=-1 && - max < sc->data[SC_ADRENALINE2].val2) - max = sc->data[SC_ADRENALINE2].val2; + max < sc->data[SC_ADRENALINE2].val3) + max = sc->data[SC_ADRENALINE2].val3; if(sc->data[SC_ADRENALINE].timer!=-1 && - max < sc->data[SC_ADRENALINE].val2) - max = sc->data[SC_ADRENALINE].val2; + max < sc->data[SC_ADRENALINE].val3) + max = sc->data[SC_ADRENALINE].val3; if(sc->data[SC_SPEARQUICKEN].timer!=-1 && max < sc->data[SC_SPEARQUICKEN].val2) @@ -5304,9 +5304,9 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val case SC_ADRENALINE2: case SC_ADRENALINE: if (val2 || !battle_config.party_skill_penalty) - val2 = 300; + val3 = 300; else - val2 = 200; + val3 = 200; break; case SC_CONCENTRATION: val2 = 5*val1; //Batk/Watk Increase |