- The clif_skill_poseffect packet will not be invoked in Snap unless the skill was successful. May fix the client-position lag.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6734 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
9eb0eab0a7
commit
8c547af427
@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/05/24
|
2006/05/24
|
||||||
|
* The clif_skill_poseffect packet will not be invoked in Snap unless the
|
||||||
|
skill was successful. May fix the client-position lag. [Skotlex]
|
||||||
* Merged item_db.sql from stable (the one from stable was more recent than
|
* Merged item_db.sql from stable (the one from stable was more recent than
|
||||||
the one of trunk...) [Skotlex]
|
the one of trunk...) [Skotlex]
|
||||||
* Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
|
* Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
|
||||||
|
@ -5856,8 +5856,7 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
|
|||||||
sc = NULL; //Unneeded.
|
sc = NULL; //Unneeded.
|
||||||
|
|
||||||
if(skillid != WZ_METEOR &&
|
if(skillid != WZ_METEOR &&
|
||||||
skillid != AM_CANNIBALIZE &&
|
skillid != MO_BODYRELOCATION &&
|
||||||
skillid != AM_SPHEREMINE &&
|
|
||||||
skillid != CR_CULTIVATION)
|
skillid != CR_CULTIVATION)
|
||||||
clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
|
clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
|
||||||
|
|
||||||
@ -5985,7 +5984,8 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
|
|||||||
|
|
||||||
case MO_BODYRELOCATION:
|
case MO_BODYRELOCATION:
|
||||||
if (unit_movepos(src, x, y, 1, 1)) {
|
if (unit_movepos(src, x, y, 1, 1)) {
|
||||||
clif_slide(src, src->x, src->y);
|
clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);
|
||||||
|
// clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...
|
||||||
if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
|
if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -6010,7 +6010,6 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
|
|||||||
}
|
}
|
||||||
// To-do: ?「還されるモンスタ?[には?「還したプレ?[ヤ?[の名前が付きます
|
// To-do: ?「還されるモンスタ?[には?「還したプレ?[ヤ?[の名前が付きます
|
||||||
// (attach name of player?)
|
// (attach name of player?)
|
||||||
clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case AM_SPHEREMINE: // スフィア?マイン
|
case AM_SPHEREMINE: // スフィア?マイン
|
||||||
@ -6027,7 +6026,6 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
|
|||||||
md->special_state.ai = 2;
|
md->special_state.ai = 2;
|
||||||
md->deletetimer = add_timer (gettick() + skill_get_time(skillid,skilllv), mob_timer_delete, id, 0);
|
md->deletetimer = add_timer (gettick() + skill_get_time(skillid,skilllv), mob_timer_delete, id, 0);
|
||||||
}
|
}
|
||||||
clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user