summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-11 20:58:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-11 20:58:45 +0000
commitc2b7dcd9bc11cd6d68e535202281121dbed4966d (patch)
tree0c7e934b0b5531e4a86e83f131e5db73ab047403 /src/map/skill.c
parenta3cd04965d83f00ee9ca0020f60bea1f5c83ac6b (diff)
downloadhercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.tar.gz
hercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.tar.bz2
hercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.tar.xz
hercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.zip
- NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively) of 40% per level.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6558 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 0d819e5ba..45bf21ecf 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4955,15 +4955,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case NPC_POWERUP:
sc_start(bl,SC_INCATKRATE,100,40*skilllv,skill_get_time(skillid, skilllv));
-//From experience it appears powerup is more hit, not +all stats.
- sc_start(bl,SC_INCDEX,100,25*skilllv,skill_get_time(skillid, skilllv));
-// sc_start(bl,SC_INCALLSTATUS,100,skilllv*5,skill_get_time(skillid, skilllv));
- clif_skill_nodamage(src,bl,skillid,skilllv,1);
- break;
-
+ //Power up is atkrate increase + hit% increase.
case NPC_AGIUP:
clif_skill_nodamage(src,bl,skillid,skilllv,
- sc_start(bl,SC_INCAGI,100,10*skilllv,skill_get_time(skillid, skilllv)));
+ sc_start(bl,type,100,40*skilllv,skill_get_time(skillid, skilllv)));
break;
case NPC_INVISIBLE: