Jump to content
  • 0

Dispel chance thru gtb


Sergardo

Question


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  148
  • Reputation:   0
  • Joined:  03/06/15
  • Last Seen:  

hi how can bypass dispel by chance even if with gtb

case SA_DISPELL:
        if (flag&1 || (i = skill_get_splash(skill_id, skill_lv)) < 1) {
            if (sd && dstsd && !map_flag_vs(sd->bl.m) && (!sd->duel_group || sd->duel_group != dstsd->duel_group) && (!sd->status.party_id || sd->status.party_id != dstsd->status.party_id))
                break; // Outside PvP it should only affect party members and no skill fail message
            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)
            {
                if (sd)
                    clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
                break;
            }
            if(status_isimmune(bl))
                break;

            //Remove bonus_script by Dispell
            if (dstsd)
                pc_bonus_script_clear(dstsd,BSF_REM_ON_DISPELL);

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

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.

×
×
  • Create New...