summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-13 13:26:52 +0000
committerPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-13 13:26:52 +0000
commit84b3be75663fa9832f32b6de2c6da763b0a14a38 (patch)
treed47fb48170376205b52da12f8a9e3ed0ea14ee1b
parentd484be2d057716ac2e33d46e1cf867941a9b6091 (diff)
downloadhercules-84b3be75663fa9832f32b6de2c6da763b0a14a38.tar.gz
hercules-84b3be75663fa9832f32b6de2c6da763b0a14a38.tar.bz2
hercules-84b3be75663fa9832f32b6de2c6da763b0a14a38.tar.xz
hercules-84b3be75663fa9832f32b6de2c6da763b0a14a38.zip
* Fixed up NPC_POWERUP and NPC_AGIUP
- NPC_POWERUP: 3x ATK and 2x HIT for 10+5*level seconds - NPC_AGIUP: 2x MOVE and 2x FLEE for 10+5*level seconds git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11450 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/skill.c4
-rw-r--r--src/map/status.c4
3 files changed, 7 insertions, 4 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 3c9d33b79..e9c1a4298 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/10/13
+ * Fixed up NPC_POWERUP and NPC_AGIUP [Playtester]
+ - NPC_POWERUP: 3x ATK and 2x HIT for 10+5*level seconds
+ - NPC_AGIUP: 2x MOVE and 2x FLEE for 10+5*level seconds
* Some further changes to the delayfix function [Playtester]
- aftercast delay is at least amotion no matter what skill
(this includes skills with cast time AND skills with skill delay!)
diff --git a/src/map/skill.c b/src/map/skill.c
index 07b0bb6f8..3b95d257d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5117,9 +5117,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case NPC_POWERUP:
- sc_start(bl,SC_INCATKRATE,100,40*skilllv,skill_get_time(skillid, skilllv));
+ sc_start(bl,SC_INCATKRATE,100,200,skill_get_time(skillid, skilllv));
clif_skill_nodamage(src,bl,skillid,skilllv,
- sc_start(bl,type,100,40*skilllv,skill_get_time(skillid, skilllv)));
+ sc_start(bl,type,100,100,skill_get_time(skillid, skilllv)));
break;
case NPC_AGIUP:
diff --git a/src/map/status.c b/src/map/status.c
index 6ff33adcb..36333aac4 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -281,8 +281,8 @@ void initChangeTables(void)
set_sc(NPC_WEAPONBRAKER, SC_BROKENWEAPON, SI_BROKENWEAPON, SCB_NONE);
set_sc(NPC_ARMORBRAKE, SC_BROKENARMOR, SI_BROKENARMOR, SCB_NONE);
set_sc(NPC_CHANGEUNDEAD, SC_CHANGEUNDEAD, SI_UNDEAD, SCB_DEF_ELE);
- set_sc(NPC_POWERUP, SC_INCDEXRATE, SI_BLANK, SCB_DEX);
- set_sc(NPC_AGIUP, SC_INCFLEERATE, SI_BLANK, SCB_AGI);
+ set_sc(NPC_POWERUP, SC_INCHITRATE, SI_BLANK, SCB_HIT);
+ set_sc(NPC_AGIUP, SC_INCFLEERATE, SI_BLANK, SCB_FLEE);
add_sc(NPC_INVISIBLE, SC_CLOAKING);
set_sc(LK_AURABLADE, SC_AURABLADE, SI_AURABLADE, SCB_NONE);
set_sc(LK_PARRYING, SC_PARRYING, SI_PARRYING, SCB_NONE);