diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-05 16:49:25 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-05 16:49:25 +0000 |
commit | 7bd6dc90242a21989a366a708b244ebf2ec4b44b (patch) | |
tree | 2a16857e0892e7038bab5a2209a189c28fc99060 /src/map/skill.c | |
parent | bcdc5ca3a54da85dee7944a451e6762f692c6c0a (diff) | |
download | hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.gz hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.bz2 hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.xz hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.zip |
Implemented Renewal ASPD formula(bugreport:5644)
- all suggestions/contributions/comments regarding RE ASPD ATM will be entertained in [tid:63256]
Fixed bugreport:6176 where WM_LULLABY_DEEPSLEEP doesn't target all party and guild members.
Temporarily disable the official walk path until the right algorithm is formulated.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16378 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index fd4e706a5..cd67eac80 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4352,7 +4352,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int break; case WM_LULLABY_DEEPSLEEP: - if( rnd()%100 < 88 + 2 * skilllv ) + if( bl != src && rnd()%100 < 88 + 2 * skilllv ) sc_start(bl,status_skill2sc(skillid),100,skilllv,skill_get_time(skillid,skilllv)); break; @@ -9556,7 +9556,7 @@ int skill_castend_pos2(struct block_list* src, int x, int y, int skillid, int sk case WM_LULLABY_DEEPSLEEP: i = skill_get_splash(skillid,skilllv); map_foreachinarea(skill_area_sub,src->m,x-i,y-i,x+i,y+i,BL_CHAR, - src,skillid,skilllv,tick,flag|BCT_ENEMY|1,skill_castend_damage_id); + src,skillid,skilllv,tick,flag|(skillid==WM_LULLABY_DEEPSLEEP?BCT_ALL:BCT_ENEMY)|1,skill_castend_damage_id); break; /** * Guilotine Cross |