summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-11-02 00:19:12 +0000
committerJared Adams <jaxad0127@gmail.com>2008-11-02 00:19:12 +0000
commit8d356dbe3f056474700fcbdd563d8ea437b1464e (patch)
tree682694884b5cae5a9f6ec9136619ac2a90c8f73e /src/map/script.c
parentff4ed0b105b016aa3a7dad07db5fb00456bbe822 (diff)
downloadtmwa-8d356dbe3f056474700fcbdd563d8ea437b1464e.tar.gz
tmwa-8d356dbe3f056474700fcbdd563d8ea437b1464e.tar.bz2
tmwa-8d356dbe3f056474700fcbdd563d8ea437b1464e.tar.xz
tmwa-8d356dbe3f056474700fcbdd563d8ea437b1464e.zip
* 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)
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index c28467d..8b971a9 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -3147,6 +3147,7 @@ int buildin_skill(struct script_state *st)
flag=conv_num(st,&(st->stack->stack_data[st->start+4]) );
sd=script_rid2sd(st);
pc_skill(sd,id,level,flag);
+ clif_skillinfoblock(sd);
return 0;
}
@@ -5281,8 +5282,6 @@ int buildin_marriage(struct script_state *st)
struct map_session_data *sd=script_rid2sd(st);
struct map_session_data *p_sd=map_nick2sd(partner);
- fprintf(stderr, "0=%p (%d,%d), 1=%p (%d,%d)\n", sd, sd->bl.id, sd->status.partner_id,
- p_sd, p_sd->bl.id, p_sd->status.partner_id);
if(sd==NULL || p_sd==NULL || pc_marriage(sd,p_sd) < 0){
push_val(st->stack,C_INT,0);
return 0;