Jump to content
  • 0

Prof dispell


Question

2 answers to this question

Recommended Posts

Posted

/bo

hi can anyone help me how to remove dispell blocking by gtb. thanks a lot in advance.

To remove dispell without remove status changes blocking by gtb

In src/map/skill.c find

   case SA_DISPELL:
       if (flag&1 || (i = skill_get_splash(skill_id, skill_lv)) < 1)
       {
           clif_skill_nodamage(src,bl,skill_id,skill_lv,1);
           if((dstsd && (dstsd->class_&MAPID_UPPERMASK) == MAPID_SOUL_LINKER)
               || (tsc && tsc->data[sC_SPIRIT] && tsc->data[sC_SPIRIT]->val2 == SL_ROGUE) //Rogue's spirit defends againt dispel.
               || rnd()%100 >= 50+10*skill_lv
               || ( tsc && tsc->option&OPTION_MADOGEAR ) )//Mado Gear is immune to dispell according to bug report 49 [ind]
           {
               if (sd)
                   clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
               break;
           }
           if(status_isimmune(bl) || !tsc || !tsc->count)
               break;

Remove status_isimmune(bl)

      	 if(status_isimmune(bl) || !tsc || !tsc->count)

to

      	 if(!tsc || !tsc->count)

then recompile.

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...