From 5d2225fbbf84324c1cf370bb11776b1c0a671b4a Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 30 Oct 2006 17:53:18 +0000 Subject: - Set the inf2 to encore skills of Wand of Hermode - Modified battle_calc_return_damage to take the skill id as well, now magic damage return will not work on skills tagged as ground or self targetted. - Fixed Gank not working at all with the default max steal tries setting. - Soul Drain won't work with skills tagged as self-targetted. - Improved the Suiton code so that the walk/agi penalty only applies to enemies of whoever casted the skill. - Moved the initial status_calc_pc call to when you finish loading the map, should fix equipment scripts which are based on character variables not working. - Some cleanup of the clif_parse_LoadEndAck function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9099 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 3f9e5eb3d..210181527 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -705,8 +705,6 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t sd->state.event_kill_pc = 1; sd->state.event_disconnect = 1; sd->state.event_kill_mob = 1; - - status_calc_pc(sd,1); sd->state.auth = 1; //Do not auth him until the initial stats have been placed. { //Add IP field @@ -749,8 +747,6 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t clif_wis_message(sd->fd, wisp_server_name, tmpstr, strlen(tmpstr)+1); } - if(sd->status.manner < 0) //Needed or manner will always be negative. - sc_start(&sd->bl,SC_NOCHAT,100,0,0); return 0; } -- cgit v1.2.3-70-g09d2