diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 03:18:22 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 03:18:22 +0000 |
commit | 8081589782ca857622c3d1c06e80894519a3bd46 (patch) | |
tree | 92eda19649ee8e87706eb6757045b881ff6bc1e2 /src/login/login.c | |
parent | 1300e71f7b19b820dae2a984c9f59ac32c13d6c7 (diff) | |
download | hercules-8081589782ca857622c3d1c06e80894519a3bd46.tar.gz hercules-8081589782ca857622c3d1c06e80894519a3bd46.tar.bz2 hercules-8081589782ca857622c3d1c06e80894519a3bd46.tar.xz hercules-8081589782ca857622c3d1c06e80894519a3bd46.zip |
- 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
Diffstat (limited to 'src/login/login.c')
-rw-r--r-- | src/login/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|