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') 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-70-g09d2 From 070bab761c102f13bc3a0a11b22806674464bec9 Mon Sep 17 00:00:00 2001 From: Matej Pristak Date: Sun, 9 Mar 2014 18:56:27 +0100 Subject: fixing permissions from my last commit --- src/map/skill.c | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 src/map/skill.c (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c old mode 100755 new mode 100644 -- cgit v1.2.3-70-g09d2 From b389ec3d1184bc0566e92d69fe0bd1250eae27fb Mon Sep 17 00:00:00 2001 From: Matej Pristak Date: Sun, 9 Mar 2014 18:59:43 +0100 Subject: fixing permission from commit 7dd4daf --- src/common/HPM.c | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 src/common/HPM.c (limited to 'src') diff --git a/src/common/HPM.c b/src/common/HPM.c old mode 100755 new mode 100644 -- cgit v1.2.3-70-g09d2