Jump to content
Sign in to follow this  
Vanquiser

Star Gladiator [Custom Soullink Effect]

Recommended Posts

Custom Soul link Effect

Star Gladiator - Allowing to use Lvl 8 Lord of Vermillion, Lvl 5 Parrying. Increase damage on Boss monster and Holy monster by 100%. perfect dodge + 10



Open src/map/status.c and find:

 

 

 
          case SC_RAISINGDRAGON:
sce->val2 = st->max_hp / 100;// Officially tested its 1%hp drain. [Jobbie]
break;

 

 

Add Below
 

 

case SC_SOULLINK:
// Custom Star Gladiator Soullink effect
if( (sd->class_&MAPID_UPPERMASK) == MAPID_STAR_GLADIATOR )
pc->skill(sd, WZ_VERMILION, 8, 0);
                    pc->skill(sd, LK_PARRYING, 5, 0);
break;

 

 

Find:

 

 

case ITEMID_ORC_LOAD_CARD:
clif->sc_end(&sd->bl, sd->bl.id, SELF, SI_MVPCARD_ORCLORD);
break;
}
}
break;

Add below:

 

case SC_SOULLINK:
//  Custom Star Gladiator Soullink effect
if(/* pc->checkskill(sd, KN_CHARGEATK) && */(sd->class_&MAPID_UPPERMASK) == MAPID_STAR_GLADIATOR)

                    pc->skill(sd, WZ_VERMILION, 0, 0);
                    pc->skill(sd, LK_PARRYING, 0, 0);
break;

Find:

 

 if(sc->data[sC_SIEGFRIED]){
i = sc->data[sC_SIEGFRIED]->val2;
sd->subele[ELE_WATER] += i;
sd->subele[ELE_EARTH] += i;
sd->subele[ELE_FIRE] += i;
sd->subele[ELE_WIND] += i;
sd->subele[ELE_POISON] += i;
sd->subele[ELE_HOLY] += i;
sd->subele[ELE_DARK] += i;
sd->subele[ELE_GHOST] += i;
sd->subele[ELE_UNDEAD] += i;
}

 

 

Add Below

 

 

 
if(sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_STAR) {
sd->right_weapon.addrace[RC_BOSS] += 100;
sd->left_weapon.addrace[RC_BOSS] += 100;
sd->right_weapon.addele[ELE_HOLY] += 100;
sd->left_weapon.addele[ELE_HOLY] += 100;
}

 

 

Find:

 

 

 if(sc->data[sC__UNLUCKY])
flee2 -= flee2 * sc->data[sC__UNLUCKY]->val2 / 100;
 
return (short)cap_value(flee2,10,SHRT_MAX);
}

Add Below:
 

 

if(sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_STAR)
 flee2 += 10;


 

For the parrying, u just need to change your parrying in db/(pre/re)/skill_require_db.txt

Find:

356,0,0,50,0,0,0,3,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //LK_PARRYING#


And replace with:

356,0,0,50,0,0,0,2:3,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //LK_PARRYING#



Just Sharing :))

1503863_676458982386248_371982294_n.jpg

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.