diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-08 15:11:25 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-08 15:11:25 +0000 |
commit | 0cd2095db1f8373b8b1b253ef850c2a4059316d0 (patch) | |
tree | 9ff401051665a8856cae8e128bde902db728d625 /src/map/skill.c | |
parent | 210788081168459afc15b7f970d6ff6d60611a4e (diff) | |
download | hercules-0cd2095db1f8373b8b1b253ef850c2a4059316d0.tar.gz hercules-0cd2095db1f8373b8b1b253ef850c2a4059316d0.tar.bz2 hercules-0cd2095db1f8373b8b1b253ef850c2a4059316d0.tar.xz hercules-0cd2095db1f8373b8b1b253ef850c2a4059316d0.zip |
- Removed SP_DISGUISE from the bonus list.
- Moved Sharp Shooting display to the block with Auto-Counter (since that's the other skill that can show critical as well)
- Corrected some fields in the still packet (guild emblem being stored as a Long when it should be Short)
- Modified most fields of view_data to be unsigned shorts rather than signed ones.
- On-Touch NPCs will now make you stop walking when you trigger them.
- Reduced stun duration of most skills to 3 secs.
- ShadowJump/JumpKick will make you land on the target's cell now.
- Fixed Kaahi triggering only once per skill duration.
- Added the kaahi_heal_timer to the list of status change functions.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6516 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 1d7b78c30..9a49196ec 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1924,7 +1924,6 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds dmg.dmotion = clif_skill_damage(dsrc,bl,tick,dmg.amotion,dmg.dmotion, damage, dmg.div_, skillid, -1, 5);
break;
case KN_BRANDISHSPEAR:
- case SN_SHARPSHOOTING:
{ //Only display skill animation for skill's target.
struct unit_data *ud = unit_bl2ud(src);
if (ud && ud->skilltarget == bl->id)
@@ -1955,6 +1954,7 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds case KN_AUTOCOUNTER: //Skills that need be passed as a normal attack for the client to display correctly.
case TF_DOUBLE:
case GS_CHAINACTION:
+ case SN_SHARPSHOOTING:
dmg.dmotion = clif_damage(src,bl,tick,dmg.amotion,dmg.dmotion,damage,dmg.div_,dmg.type,dmg.damage2);
break;
case CR_GRANDCROSS:
@@ -2574,22 +2574,11 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s case NJ_SHADOWJUMP: //[blackhole89]
case TK_JUMPKICK:
- {
- short x, y;
- x = bl->x;
- y = bl->y;
- if (src->x < bl->x) x--;
- else if (src->x > bl->x) x++;
- if (src->y < bl->y) y--;
- else if (src->y > bl->y) y++;
- if (map_getcell(bl->m, x, y, CELL_CHKNOPASS))
- { x = bl->x; y = bl->y; }
if (skillid == TK_JUMPKICK)
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
- if (unit_movepos(src, x, y, 0, 0))
+ if (unit_movepos(src, bl->x, bl->y, 0, 0))
clif_slide(src,src->x,src->y);
break;
- }
case ASC_BREAKER: /* ソウルブレ?カ? */ // [DracoRPG]
// Separate weapon and magic attacks
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
|