Merge pull request #244 from RagnarokNova/patch-1
Light of Regene fixes: * Light of Regene doesn't affect the master * Wrong intimacy set, should be 25100 instead of 251.
This commit is contained in:
commit
a9a8e9e96f
@ -10170,8 +10170,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
|
||||
break;
|
||||
case MH_LIGHT_OF_REGENE: //self
|
||||
if(hd) {
|
||||
struct block_list *s_bl = battle_get_master(src);
|
||||
if(s_bl) sc_start(src, s_bl, type, 100, skill_lv, skill_get_time(skill_id, skill_lv));
|
||||
sc_start2(src, src, type, 100, skill_lv, hd->homunculus.level, skill_get_time(skill_id, skill_lv));
|
||||
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
|
||||
skill_blockhomun_start(hd, skill_id, skill_get_cooldown(skill_id, skill_lv));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user