ThyroDree
New member
Star Gladiator - Allowing to use Lvl 10 Lord of Vermillion, Lvl 10 Parrying. Increase damage on Boss monster and Holy monster by 100%. perfect dodge + 10
WZ_VERMILION: 10 LK_PARRYING: 10
skill_name: {MaxLevel: max_skill_lvlskill_name1: min_lvlskill_name2: min_lvl}
if( src != target ) { // Don't reflect your own damage (Grand Cross)
if( target->type == BL_MOB && ( (pc->jobid2mapid(JOB_STAR_GLADIATOR)) == ((TBL_PC*)src)->class_ || (pc->jobid2mapid(JOB_STAR_GLADIATOR2)) == ((TBL_PC*)src)->class_) && (((TBL_MOB*)target)->state.boss || ((TBL_MOB*)target)->db->status.def_ele == ELE_HOLY) ) wd.damage += wd.damage; // 100% damage bonus
for(i=0;i<(int)sd->status.job_level && i<MAX_LEVEL;i++){ if(!status->job_bonus[index][i]) continue; switch(status->job_bonus[index][i]) { case 1: bstatus->str++; break; case 2: bstatus->agi++; break; case 3: bstatus->vit++; break; case 4: bstatus->int_++; break; case 5: bstatus->dex++; break; case 6: bstatus->luk++; break; } }
if( index == JOB_STAR_GLADIATOR || index == JOB_STAR_GLADIATOR2 ) bstatus->flee2 += 10;
if( target->type == BL_MOB && ( (pc->jobid2mapid(JOB_STAR_GLADIATOR)) == ((TBL_PC*)src)->class_ || (pc->jobid2mapid(JOB_STAR_GLADIATOR2)) == ((TBL_PC*)src)->class_) && (((TBL_MOB*)target)->state.boss || ((TBL_MOB*)target)->db->status.def_ele == ELE_HOLY) ) wd.damage += wd.damage; // 100% damage bonus
how can i change it?To use parrying you need to be "wearing" a two-handed sword (http://irowiki.org/wiki/Parry), you need to change the requisites of this skill or it won't work with any class that can't use this kind of weapon c:
change the bold part with this weapon type of your choice:// SkillID,HPCost,MaxHPTrigger,SPCost,HPRateCost,SPRateCost,ZenyCost,RequiredWeapons,RequiredAmmoTypes,RequiredAmmoAmount,RequiredState,
// 356, 0, 0, 50, 0, 0, 0, 3, 0, 0, none,
For weapons, the types are:
0: bare fist
1: Daggers
2: One-handed swords
3: Two-handed swords
4: One-handed spears
5: Two-handed spears
6: One-handed axes
7: Two-handed axes
8: Maces
9: Unused
10: Staves
11: Bows
12: Knuckles
13: Musical Instruments
14: Whips
15: Books
16: Katars
17: Revolvers
18: Rifles
19: Gatling guns
20: Shotguns
21: Grenade launchers
22: Fuuma Shurikens
that means356, 0, 0, 50, 0, 0, 0, 2:3, 0, 0, none,
We use essential cookies to make this site work, and optional cookies to enhance your experience.