From 8081589782ca857622c3d1c06e80894519a3bd46 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 7 Jun 2006 03:18:22 +0000 Subject: - Cleaned status_get_sc_tick/status_get_sc_def to use the status_data function. - SC_STOP's chance and duration can't be reduced anymore. - Storm Gust no longer has a 100% chance to freeze by passing mdef, now it has a 300% base chance reduced by mdef and the like as explained out by Tharis. - Frost Diver/Frost Nova's base freezing chance is no longer affected by target's int. - Lots of indentation fixes in login_sql/login.c to make it match with stable's layout. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7025 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/login') diff --git a/src/login/login.c b/src/login/login.c index c74995850..0cd9b5b9b 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -3127,7 +3127,7 @@ int parse_login(int fd) { if (!check_ip(session[fd]->client_addr.sin_addr.s_addr)) { login_log("Connection refused: IP isn't authorised (deny/allow, ip: %s)." RETCODE, ip); - WFIFOHEAD(fd, 23); + WFIFOHEAD(fd, 23); WFIFOW(fd,0) = 0x6a; WFIFOB(fd,2) = 3; // 3 = Rejected from Server WFIFOSET(fd,23); @@ -3141,7 +3141,7 @@ int parse_login(int fd) { if (min_level_to_connect > gm_level) { login_log("Connection refused: the minimum GM level for connection is %d (account: %s, GM level: %d, ip: %s)." RETCODE, min_level_to_connect, account.userid, gm_level, ip); - WFIFOHEAD(fd, 3); + WFIFOHEAD(fd, 3); WFIFOW(fd,0) = 0x81; WFIFOB(fd,2) = 1; // 01 = Server closed WFIFOSET(fd,3); -- cgit v1.2.3-70-g09d2