From bbedfd67468dc5105169fc114a54d30ae1a36f23 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 7 Sep 2007 07:31:58 +0000 Subject: - Added support for the new party invite/reply packets from the latest client version. - Cleared up some TODO's - Added auto-rejecting party/guild invites when the target is disconnected from the server. - Added a correction in the walking code to abort it when map_moveblock cancels the player's walking (by warping/knocking back),the default code would fail because unit_stopwalking would do nothing since the walk timer was already -1 in that moment. - Corrected mob_randomwalk to use unsigned int for the tick variable. - Changed the default @Main format to prevent crashes in the newer clients. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11134 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index a98dffe5c..7e36818e9 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -8563,7 +8563,7 @@ BUILDIN_FUNC(sc_start) } if( potion_flag == 1 && potion_target ) - {//##TODO how does this work [FlavioJS] + { //skill.c set the flags before running the script, this must be a potion-pitched effect. bl = map_id2bl(potion_target); tick /= 2;// Thrown potions only last half. val4 = 1;// Mark that this was a thrown sc_effect @@ -8601,7 +8601,7 @@ BUILDIN_FUNC(sc_start2) } if( potion_flag == 1 && potion_target ) - {//##TODO how does this work [FlavioJS] + { //skill.c set the flags before running the script, this must be a potion-pitched effect. bl = map_id2bl(potion_target); tick /= 2;// Thrown potions only last half. val4 = 1;// Mark that this was a thrown sc_effect @@ -8643,7 +8643,7 @@ BUILDIN_FUNC(sc_start4) } if( potion_flag == 1 && potion_target ) - {//##TODO how does this work [FlavioJS] + { //skill.c set the flags before running the script, this must be a potion-pitched effect. bl = map_id2bl(potion_target); tick /= 2;// Thrown potions only last half. } -- cgit v1.2.3-70-g09d2