From 0a617fce62a512e648d898cadad62756f1db56c8 Mon Sep 17 00:00:00 2001 From: Matej Pristak Date: Sat, 8 Mar 2014 23:44:31 +0100 Subject: Homunculus initimacy is always stored in interval <0,100000>, MH_LIGHT_OF_REGENE shouldn't reset it to almost zero - cordial is 75000, not 750 and neutral is 25100, not 251. This was ultimately reseting your intimacy on use, shat wasn't the intention. --- src/map/skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/map/skill.c (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c old mode 100644 new mode 100755 index 72b59aab7..8750695ae --- a/src/map/skill.c +++ b/src/map/skill.c @@ -585,7 +585,7 @@ int skillnotok_hom(uint16 skill_id, struct homun_data *hd) return 1; switch(skill_id){ case MH_LIGHT_OF_REGENE: - if(hd->homunculus.intimacy <= 750) //if not cordial + if(hd->homunculus.intimacy <= 75000) //if not cordial return 1; break; case MH_OVERED_BOOST: @@ -9449,7 +9449,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin case MH_LIGHT_OF_REGENE: if(hd) { - hd->homunculus.intimacy = 251; //change to neutral (can't be cast if < 750) + hd->homunculus.intimacy = 25100; //change to neutral (can't be cast if < 750) if(sd) clif->send_homdata(sd, SP_INTIMATE, hd->homunculus.intimacy); //refresh intimacy info } //don't break need to start status and start block timer -- cgit v1.2.3-60-g2f50