- 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:
skotlex 2006-05-24 18:09:58 +00:00
parent 9eb0eab0a7
commit 8c547af427
2 changed files with 5 additions and 5 deletions

View File

@ -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.
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
the one of trunk...) [Skotlex]
* Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]

View File

@ -5856,8 +5856,7 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
sc = NULL; //Unneeded.
if(skillid != WZ_METEOR &&
skillid != AM_CANNIBALIZE &&
skillid != AM_SPHEREMINE &&
skillid != MO_BODYRELOCATION &&
skillid != CR_CULTIVATION)
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:
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);
}
break;
@ -6010,7 +6010,6 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
}
// To-do: ?「還されるモンスタ?[には?「還したプレ?[ヤ?[の名前が付きます
// (attach name of player?)
clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
}
break;
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->deletetimer = add_timer (gettick() + skill_get_time(skillid,skilllv), mob_timer_delete, id, 0);
}
clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
}
break;