From 1b73b82ea629ff1e69fc2d6094c27e9e32229a84 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 7 Nov 2006 16:17:01 +0000 Subject: - Fixed map_foreachiddb and map_foreachpc so they don't encapsulate the variable arguments into a double va_arg list. Thanks to the Ultra Mage for the tip. - Cleaned up the clif_hate/mob_info functions with the correct fields/usage as explained by Rayce. - Implemented clif_feel_hate_reset packet to properly display the Angel of the Sun/Moon/Stars, thanks again to Rayce for the relevant information. - LP will again block all land-stuff from being placed down on top of it for the exception of Song/Dance/Encores. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9162 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 8820fa505..6426eced3 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6882,7 +6882,7 @@ int status_change_clear_buffs (struct block_list *bl, int type) //Natural regen related stuff. static unsigned int natural_heal_prev_tick,natural_heal_diff_tick; -static int status_natural_heal(DBKey key,void * data,va_list app) +static int status_natural_heal(DBKey key,void * data,va_list ap) { struct block_list *bl = (struct block_list*)data; struct regen_data *regen; @@ -7054,10 +7054,9 @@ static int status_natural_heal(DBKey key,void * data,va_list app) (sd->class_&MAPID_UPPERMASK) == MAPID_STAR_GLADIATOR && rand()%10000 < battle_config.sg_angel_skill_ratio ) { //Angel of the Sun/Moon/Star + clif_feel_hate_reset(sd); pc_resethate(sd); pc_resetfeel(sd); - //TODO: Figure out how to make the client-side msg show up. - clif_displaymessage(sd->fd,"[Angel of the Sun, Moon and Stars]"); } } sregen->tick.sp -= battle_config.natural_heal_skill_interval; -- cgit v1.2.3-70-g09d2