summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-30 12:58:23 +0000
committerblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-30 12:58:23 +0000
commit9d47df647756cb71d5efa85ccb15153c18d3c4e5 (patch)
treeff9cdffaecc18605a7efe1c8e839e13821df311e /src
parent1ea4e8fc7edf8861b7872825b177ee29626bcd7a (diff)
downloadhercules-9d47df647756cb71d5efa85ccb15153c18d3c4e5.tar.gz
hercules-9d47df647756cb71d5efa85ccb15153c18d3c4e5.tar.bz2
hercules-9d47df647756cb71d5efa85ccb15153c18d3c4e5.tar.xz
hercules-9d47df647756cb71d5efa85ccb15153c18d3c4e5.zip
Implemented NJ_SHADOWJUMP. Tell me if I forgot anything (especially DB entries).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6397 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8040127fb..180ce6a21 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3691,7 +3691,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case GS_GROUNDDRIFT:
case NJ_TATAMIGAESHI:
case NJ_KASUMIKIRI:
- case NJ_SHADOWJUMP:
case NJ_UTSUSEMI:
case NJ_BUNSINJYUTSU:
case NJ_NEN:
@@ -4696,6 +4695,21 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
skill_blown(src,bl,skill_get_blewcount(skillid,skilllv)|0x10000);
break;
+ case NJ_SHADOWJUMP: //[blackhole89]
+ {
+ if (sd && !(sd->sc.count && sd->sc.data[SC_HIDING].timer != -1)) {
+ map_freeblock_unlock();
+ return 1;
+ }
+
+ clif_skill_nodamage(src,src,NJ_SHADOWJUMP,skilllv,1);
+ if(map_getcell(src->m,x,y,CELL_CHKPASS)) {
+ unit_movepos(src, x, y, 1, 0);
+ clif_slide(src,x,y);
+ }
+ }
+ break;
+
case TK_HIGHJUMP:
{
int x,y, dir = unit_getdir(src);
@@ -8076,7 +8090,6 @@ int skill_check_condition(struct map_session_data *sd,int skill, int lv, int typ
//Not implemented yet [Vicious]
case NJ_KASUMIKIRI:
- case NJ_SHADOWJUMP:
case NJ_KIRIKAGE:
case NJ_UTSUSEMI:
case NJ_BUNSINJYUTSU: