summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatej Pristak <matej.pristak@gmail.com>2014-03-08 23:44:31 +0100
committerMatej Pristak <matej.pristak@gmail.com>2014-03-08 23:44:31 +0100
commit0a617fce62a512e648d898cadad62756f1db56c8 (patch)
treed204108e9d0acb23dd7f365931b56a46d2830976
parent7dd4dafae93c8560cb3e2dd78b9806f36f3ee0ca (diff)
downloadhercules-0a617fce62a512e648d898cadad62756f1db56c8.tar.gz
hercules-0a617fce62a512e648d898cadad62756f1db56c8.tar.bz2
hercules-0a617fce62a512e648d898cadad62756f1db56c8.tar.xz
hercules-0a617fce62a512e648d898cadad62756f1db56c8.zip
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.
-rwxr-xr-x[-rw-r--r--]src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 72b59aab7..8750695ae 100644..100755
--- 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