From e7096ca70629c5fd5f824cec8e2d4307e8578913 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 6 Feb 2006 18:38:51 +0000 Subject: - Added define clif_deadsit to send the dead state into player packets if the player is in trick dead state. - Venom Splasher always hits (but splash damage targets can still avoid it) - Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100% - Falcon Assault now takes Blitz Beat lv5 as base damage. - Fixed pc_makesavestatus not updating status.option correctly. - Corrected Waterball so that higher levels can do insane amount of hits. - Altered slave behaviour. No more random walking, will stay within 2 cells of their master. - Reverted the Summon Slave behaviour to not adjust level based on number of current slaves. - Coma no longer sends SP to 1. - Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled. - Dark elemental characters are now inmune to Curse. - Fixed sc_data saving to sql buffer building method. Thanks to its_sparky. - Changed the map zone reading from using pow to a bit shift. - Experience has now been changed to unsigned int, and is read as such from the dbs. - Increased HT_DETECTING seek range to 7x7 - Added function map_foreachinrange which actually checks distance of nearing objects (unlike for each in area which uses a square area), may come handy for future code. - Corrected Venom Splasher: Being hit does not cancels it, works at 75% or less of target's HP, being hit normally while under the count has a chance of causing poison. Damage is +400% + 50*lv% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5204 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/core.h | 8 -------- src/common/mmo.h | 3 ++- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'src/common') diff --git a/src/common/core.h b/src/common/core.h index 22f625a5d..ce57c28a6 100644 --- a/src/common/core.h +++ b/src/common/core.h @@ -5,14 +5,6 @@ #define _CORE_H_ //#define SQL_DEBUG //uncomment for debug_mysql_query instead of mysql_real_query - -/* REMOVED because these type of function defines with va_args are a GCC feature and won't compile under Windows [Skotlex] -//Added here, so its avail in 'all' files .. -#define eprintf(mes, args...) \ - fprintf(stderr, "%s:%d: "mes"", __FILE__, __LINE__, args); -#define eprint(mes) \ - fprintf(stderr, "%s:%d: "mes"", __FILE__, __LINE__); -*/ extern int arg_c; extern char **arg_v; diff --git a/src/common/mmo.h b/src/common/mmo.h index d0d4685e2..04ea008bc 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -175,7 +175,8 @@ struct mmo_charstatus { int mother; int child; - int base_exp,job_exp,zeny; + unsigned int base_exp,job_exp; + int zeny; short class_; short status_point,skill_point; -- cgit v1.2.3-70-g09d2