summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 19:49:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 19:49:28 +0000
commite4206211f72bdd727fccbe2b67d7f5a6b42c7e65 (patch)
tree86422d67903dbd9c0da66cb81524538539305413 /src/map/skill.c
parent0065f7bc871bb17c6d90994759cbf6c7dcee451b (diff)
downloadhercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.tar.gz
hercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.tar.bz2
hercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.tar.xz
hercules-e4206211f72bdd727fccbe2b67d7f5a6b42c7e65.zip
- Removed unused variable aspd_rate in map_session_data.
- Modified aspd_rate in status_data to hold aspd change on a base of 1000 = 100% rather than 100 = 100%. All status changes that affect aspd have been updated. Study and Single Action should now correctly give +0.5% aspd per level. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7213 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 48cab9cd4..9cd8f58ce 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6285,7 +6285,7 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid,
}
break;
case DC_DONTFORGETME:
- val1 = 3*skilllv+status->dex/10; // ASPD decrease
+ val1 = 30*skilllv+status->dex; // ASPD decrease
val2 = 100+2*skilllv+status->agi/10; // Movement speed adjustment.
if(sd){
val1 += pc_checkskill(sd,DC_DANCINGLESSON);
@@ -6309,7 +6309,7 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid,
}
break;
case BA_ASSASSINCROSS:
- val1 = 10+skilllv+(status->agi/10); // ASPD increase
+ val1 = 100+10*skilllv+status->agi; // ASPD increase
if(sd)
val1 += pc_checkskill(sd,BA_MUSICALLESSON);
break;
@@ -6556,7 +6556,7 @@ int skill_unit_onplace (struct skill_unit *src, struct block_list *bl, unsigned
case UNT_GRAVITATION:
if (sc && sc->data[type].timer==-1)
- sc_start4(bl,type,100,sg->skill_lv,5*sg->skill_lv,BCT_ENEMY,sg->group_id,sg->limit);
+ sc_start4(bl,type,100,sg->skill_lv,0,BCT_ENEMY,sg->group_id,sg->limit);
break;
case UNT_ICEWALL: //Destroy the cell. [Skotlex]