diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-29 20:51:07 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-29 20:51:07 +0000 |
commit | 085ec7da7865711d855bb4664afc7a4b820ce37c (patch) | |
tree | 1e7689fef3143c9a76e55254181d1dc9bd2efd56 /src/map/status.c | |
parent | 571ce8ac8aed5b8373cdb722cc54589e28f4c4b1 (diff) | |
download | hercules-085ec7da7865711d855bb4664afc7a4b820ce37c.tar.gz hercules-085ec7da7865711d855bb4664afc7a4b820ce37c.tar.bz2 hercules-085ec7da7865711d855bb4664afc7a4b820ce37c.tar.xz hercules-085ec7da7865711d855bb4664afc7a4b820ce37c.zip |
- pc_resetskill flag can now be &2, it only returns the total amount of skill points spent, it doesn't does a reset.
- added script command skillpointcount. Returns total amount of skill points a char has (the value returned is the same that SkillPoint would have after invoking a skill reset)
- Modified Defender. Speed reduction is 35-5*lv%, damage reduction on devoted chars is 5+5*lv%. These values are custom, but should be closer to "reality" than what we have.
- When you have the wrong ammo type equipped, the equip arrows first message will be sent, as suggested by Haplo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6384 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index ba6031c7c..8ceae398c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2160,7 +2160,7 @@ int status_calc_speed(struct block_list *bl, int speed) if(sc->data[SC_DONTFORGETME].timer!=-1)
speed += speed * sc->data[SC_DONTFORGETME].val3/100;
if(sc->data[SC_DEFENDER].timer!=-1)
- speed += speed * (55-5*sc->data[SC_DEFENDER].val1)/100;
+ speed += speed * (35-5*sc->data[SC_DEFENDER].val1)/100;
if(sc->data[SC_GOSPEL].timer!=-1 && sc->data[SC_GOSPEL].val4 == BCT_ENEMY)
speed += speed * 25/100;
if(sc->data[SC_JOINTBEAT].timer!=-1) {
@@ -4229,7 +4229,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val for (i = 0; i < 5; i++)
{ //See if there are devoted characters, and pass the status to them. [Skotlex]
if (sd->devotion[i] && (tsd = map_id2sd(sd->devotion[i])))
- status_change_start(&tsd->bl,SC_DEFENDER,10000,val1,val2,0,0,tick,1);
+ status_change_start(&tsd->bl,SC_DEFENDER,10000,val1,5+val1*5,0,0,tick,1);
}
}
break;
|