Skip to content

Commit

Permalink
Merge pull request #262 from Baalberith6/master
Browse files Browse the repository at this point in the history
MH_LIGHT_OF_REGENE resetting intimacy to 0.25% and checking for 0.75% when used (instead of 25% and 75%)
  • Loading branch information
MishimaHaruna committed Mar 10, 2014
2 parents 1d12bb1 + b389ec3 commit c5e458c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file modified src/common/HPM.c
100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions src/map/skill.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c5e458c

Please sign in to comment.