From 3194533c578cb83b3c3b5e1fd2f9f151db2e53bc Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 23 Jan 2007 14:00:22 +0000 Subject: - Moved the homunculus setting from pet.conf to homunc.conf - Fixed homuncs not triggering land spells if they are spawned on top of them and hom_setting&0x2 is not set to make them bypass them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9696 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- src/map/clif.c | 4 ++-- src/map/trade.c | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/map') diff --git a/src/map/battle.c b/src/map/battle.c index 951dbcc5c..aec804b3d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3849,7 +3849,7 @@ static const struct battle_data_int { { "mob_remove_delay", &battle_config.mob_remove_delay }, { "sg_miracle_skill_min_duration", &battle_config.sg_miracle_skill_duration_min }, { "sg_miracle_skill_max_duration", &battle_config.sg_miracle_skill_duration_max }, - { "hvan_explosion_intimate", &battle_config.hvan_explosion_intimate }, //[orn] + { "hvan_explosion_intimate", &battle_config.hvan_explosion_intimate }, //[orn] }; int battle_set_value(char *w1, char *w2) { diff --git a/src/map/clif.c b/src/map/clif.c index f5fad25e4..355d001fd 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8292,8 +8292,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) //Homunc mimic their master's speed on each map change. [Skotlex] if (battle_config.hom_setting&0x8) status_calc_bl(&sd->hd->bl, SCB_SPEED); -// Since hom is inmune to land effects, unneeded. -// skill_unit_move(&sd->hd->bl,gettick(),1); + if (!battle_config.hom_setting&0x2) + skill_unit_move(&sd->hd->bl,gettick(),1); } if(sd->state.connect_new) { diff --git a/src/map/trade.c b/src/map/trade.c index 216692752..f6c587ddb 100644 --- a/src/map/trade.c +++ b/src/map/trade.c @@ -17,7 +17,6 @@ #include "intif.h" #include "atcommand.h" #include "log.h" -#include "../common/malloc.h" //Max distance from traders to enable a trade to take place. #define TRADE_DISTANCE 2 -- cgit v1.2.3-70-g09d2