Jump to content
  • 0

Disabling Hatred on Emperium?


Question

Posted (edited)

can anyone help me disabling the Hatred on Emperium?

PLEASE HELP!

i found script like this

and how can i implement it? HELP!

if(status_get_class(bl)==MOBID_EMPERIUM)
return;

the script of sg_hate on skill.c

case SG_HATE:
if (sd) {
clif_skill_nodamage(src,bl,skillid,skilllv,1);
if (!pc_set_hate_mob(sd, skilllv-1, bl))
clif_skill_fail(sd,skillid,0,0,0);
}
break;

Edited by bVersatile

2 answers to this question

Recommended Posts

Posted (edited)

src/map/battle.c

Find this code:

if(class_ == MOBID_EMPERIUM && flag&BF_SKILL)

Change it to this:

if(class_ == MOBID_EMPERIUM && flag&BF_SKILL) {
//Skill immunity.
switch (skill_num) {
#ifndef RENEWAL
case MO_TRIPLEATTACK:
#endif
case HW_GRAVITATION:
break;
case SG_SUN_WARM:
break;
case SG_MOON_WARM:
break;
case SG_STAR_WARM:
break;

default:
return 0;
}
}

Edited by Kyo
Posted

src/map/battle.c

Find this code:

if(class_ == MOBID_EMPERIUM && flag&BF_SKILL)

Change it to this:

if(class_ == MOBID_EMPERIUM && flag&BF_SKILL) {
//Skill immunity.
switch (skill_num) {
#ifndef RENEWAL
case MO_TRIPLEATTACK:
#endif
case HW_GRAVITATION:
break;
case SG_SUN_WARM:
break;
case SG_MOON_WARM:
break;
case SG_STAR_WARM:
break;

default:
return 0;
}
}

gonna try it thx for your help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...