From 8d356dbe3f056474700fcbdd563d8ea437b1464e Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 2 Nov 2008 00:19:12 +0000 Subject: * Minor cleanup in login server * Char server now records client version and reports it to map server * Map server will now report all skills (even ones with dangerous indices) for client version 1 and above * Use status change val1 (instead of val2) index for speed potions, so that they can be triggered more easily from within scripts * Item database now also keeps track of the effect that items have on the spower stat * spower is now based on level + int*2 + modifier (see last point) * Minor bugfixes in support functionality for the SLang interpreter - Do not restart the map server without also restarting the char server, as the interserver protocol has changed slightly! (patch by fate) --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index cff56ba..9047e7f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8301,7 +8301,6 @@ int skill_status_effect(struct block_list *bl, int type, int val1, int val2, int nullpo_retr(0, opt2=battle_get_opt2(bl)); nullpo_retr(0, opt3=battle_get_opt3(bl)); - race=battle_get_race(bl); mode=battle_get_mode(bl); elem=battle_get_elem_type(bl); @@ -9043,6 +9042,7 @@ int skill_status_effect(struct block_list *bl, int type, int val1, int val2, int if(bl->type==BL_PC && updateflag) clif_updatestatus(sd,updateflag); /* ステータスをクライアントに送る */ + return 0; } /*========================================== -- cgit v1.2.3-60-g2f50