diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-18 13:52:56 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-18 13:52:56 +0000 |
commit | 129beea8f2c3b35af17332b451f9f9d4c233af5e (patch) | |
tree | 972a94b1737995e8641ae7651bdcff6d8cde582e /src/map/skill.c | |
parent | 6bbaccfc314ed0bbb7a3d9af84e54917e1cf7971 (diff) | |
download | hercules-129beea8f2c3b35af17332b451f9f9d4c233af5e.tar.gz hercules-129beea8f2c3b35af17332b451f9f9d4c233af5e.tar.bz2 hercules-129beea8f2c3b35af17332b451f9f9d4c233af5e.tar.xz hercules-129beea8f2c3b35af17332b451f9f9d4c233af5e.zip |
- NPC_AGIUP will now give movement boost of 50%
- Fixed WZ_WATERBALL number of hits when used by non-players.
- MO_BODYRELOCATION will send the slide packet with the actual src's coordinates rather than selected tile.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6638 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index da06d972e..c88647e8e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2840,7 +2840,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s int range = skilllv/2;
//Rain doesn't affect WATERBALL (Rain has been removed at kRO) [Lupus]
//int cnt = (!map[src->m].flag.rain) ? skill_count_water(src,range) - 1 : skill_get_num(skillid,skilllv) - 1;
- int cnt = (src->type==BL_PC)?skill_count_water(src,range):range*range;
+ int cnt = (src->type==BL_PC)?skill_count_water(src,range):++range*range;
cnt--;
if (cnt > 0)
skill_addtimerskill(src,tick+150,bl->id,0,0,
@@ -4972,8 +4972,12 @@ 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));
- //Power up is atkrate increase + hit% increase.
+ clif_skill_nodamage(src,bl,skillid,skilllv,
+ sc_start(bl,type,100,20*skilllv,skill_get_time(skillid, skilllv)));
+ break;
+
case NPC_AGIUP:
+ sc_start(bl,SC_SPEEDUP1,100,skilllv,skill_get_time(skillid, skilllv));
clif_skill_nodamage(src,bl,skillid,skilllv,
sc_start(bl,type,100,20*skilllv,skill_get_time(skillid, skilllv)));
break;
@@ -5984,7 +5988,7 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil case MO_BODYRELOCATION:
if (unit_movepos(src, x, y, 1, 1)) {
- clif_slide(src, x, y);
+ clif_slide(src, src->x, src->y);
if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
}
break;
|