summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-22 21:26:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-22 21:26:17 +0000
commita751d2c64853018600bcc5491ec854cc7ddfb070 (patch)
treed5ae1eae8d6411bd4df4455304bb2bae87ddccd6 /src/map/status.c
parent6afc32ebbda2dd1edd6085662baaf61c96af6455 (diff)
downloadhercules-a751d2c64853018600bcc5491ec854cc7ddfb070.tar.gz
hercules-a751d2c64853018600bcc5491ec854cc7ddfb070.tar.bz2
hercules-a751d2c64853018600bcc5491ec854cc7ddfb070.tar.xz
hercules-a751d2c64853018600bcc5491ec854cc7ddfb070.zip
- Fixed a crash on the mobspawn script command.
- Made SC_FLEET increase batk as well as watk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8444 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4547df182..eb462b19c 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3251,6 +3251,8 @@ static unsigned short status_calc_batk(struct block_list *bl, struct status_chan
//Curse shouldn't effect on this? <- Curse OR Bleeding??
// if(sc->data[SC_BLEEDING].timer != -1)
// batk -= batk * 25/100;
+ if(sc->data[SC_FLEET].timer!=-1)
+ batk += batk * sc->data[SC_FLEET].val3/100;
if(sc->data[SC_GATLINGFEVER].timer!=-1)
batk += sc->data[SC_GATLINGFEVER].val3;
if(sc->data[SC_MADNESSCANCEL].timer!=-1)
@@ -5497,7 +5499,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
break;
case SC_FLEET:
val2 = 30*val1; //Aspd change
- val3 = 5+5*val1; //Atk rate change
+ val3 = 5+5*val1; //bAtk/wAtk rate change
break;
case SC_MINDBREAKER:
val2 = 20*val1; //matk increase.