ThyroDree 3 Posted December 24, 2013 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 Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 24, 2013 (edited) Most of these changes are database related and the others could be made with a simple script, but as you requested in source support I'll post them as source modifications, except for those that can be made altering databases. Regarding those db changes: Open dbreskill_tree.conf and search for: SG_DEVIL: 10 SG_FRIEND: 3 SG_KNOWLEDGE: 10 SG_FUSION: { MaxLevel: 1 SG_KNOWLEDGE: 9 }Add just below it: WZ_VERMILION: 10 LK_PARRYING: 10If you want to add any pre-requisites just use the following format:skill_name: {MaxLevel: max_skill_lvlskill_name1: min_lvlskill_name2: min_lvl}Now open srcmapbattle.c and search for:if( src != target ) { // Don't reflect your own damage (Grand Cross)Add above it: 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 bonusNow open srcmapstatus.c and search for: 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; } }Add below it: if( index == JOB_STAR_GLADIATOR || index == JOB_STAR_GLADIATOR2 ) bstatus->flee2 += 10;Save and build and it should work c: Happy holidays @EDIT Tested mods in-game now they're working Edited December 24, 2013 by pan Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted December 24, 2013 damage won't work and parrying and LOV didn't show now i can see the skill LOv and Parrying but Parrying Skill Can't Use ( 100% Damage Still not working please help how can i add edit Skill require db, make parrying require books too, to make parrying work? Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 24, 2013 Sorry I had made some mistakes in my last snippets, they're correct now... Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted December 25, 2013 wont work increase damage to Boss type and Holy 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 Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 25, 2013 It is working you must have forgotten to rebuild your server after redoing those changes, if you want I made a diff so you can activate those changes "automatically" http://pastebin.com/Eya2XN52 Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted December 26, 2013 done one more problem the parrying skill cant be used by sg Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 26, 2013 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: Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted December 27, 2013 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: how can i change it? Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted December 27, 2013 on your skill_require_db.txt search for LK_PARRYING. // SkillID,HPCost,MaxHPTrigger,SPCost,HPRateCost,SPRateCost,ZenyCost,RequiredWeapons,RequiredAmmoTypes,RequiredAmmoAmount,RequiredState, // 356, 0, 0, 50, 0, 0, 0, 3, 0, 0, none, change the bold part with this weapon type of your choice: 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 Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted December 27, 2013 if i changed 356, 0, 0, 50, 0, 0, 0, 3, 0, 0, none, to 356, 0, 0, 50, 0, 0, 0, 15, 0, 0, none, parrying on Lord Knight still work with Blades? Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted December 27, 2013 maybe but you can also do something like 356, 0, 0, 50, 0, 0, 0, 2:3, 0, 0, none, that means 2: One-handed swords 3: Two-handed swords Quote Share this post Link to post Share on other sites
0 Begin 11 Posted May 26, 2018 Hello @pan I followed your guide but I am getting this error: 'class_c': is not a member of 'map_session_data' Can you help me fix this? Thank you. Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted May 28, 2018 this thread from 2013 lol @Begin Quote Share this post Link to post Share on other sites
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
Share this post
Link to post
Share on other sites