Jump to content
  • 0
ThyroDree

help me SG Soul link modif.

Question

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

13 answers to this question

Recommended Posts

  • 0

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: 10
If 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 bonus
Now 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 by pan

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

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 

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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.

 

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
Answer this question...

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

×
×
  • Create New...

Important Information

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