diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 9 | ||||
-rw-r--r-- | src/map/status.c | 2 |
3 files changed, 5 insertions, 8 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index d5c9da304..ca0690049 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -289,7 +289,7 @@ int mob_once_spawn (struct map_session_data *sd, char *mapname, if (x <= 0 || y <= 0) {
if (sd)
- map_search_freecell(&sd->bl, 0, &x, &y, 1, 1, 0);
+ map_search_freecell(&sd->bl, m, &x, &y, 1, 1, 0);
else
if (!map_search_freecell(NULL, m, &x, &y, -1, -1, 1))
return 0; //Not solved?
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:
diff --git a/src/map/status.c b/src/map/status.c index 0fb0ba64b..db6adb7b5 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -206,6 +206,8 @@ void initChangeTables(void) { set_sc(NPC_STOP, SC_STOP, SI_BLANK);
set_sc(NPC_BREAKWEAPON, SC_BROKENWEAPON, SI_BROKENWEAPON);
set_sc(NPC_BREAKARMOR, SC_BROKENARMOR, SI_BROKENARMOR);
+ set_sc(NPC_POWERUP, SC_INCHITRATE, SI_BLANK);
+ set_sc(NPC_AGIUP, SC_INCFLEERATE, SI_BLANK);
set_sc(NPC_INVISIBLE, SC_CLOAKING, SI_CLOAKING);
set_sc(LK_AURABLADE, SC_AURABLADE, SI_AURABLADE);
set_sc(LK_PARRYING, SC_PARRYING, SI_PARRYING);
|