• 0
Sign in to follow this  
Rizta

Minor sources edits

Question

Hi!

Im new at source and dont want to mess everything up so, i would ask for someone more experienced than me where i can:

1. modifiy skill venom splasher to be casted em Boss monster? (or every monster with status immune mode)

2. give weapon element to skills like Shield Chain and Shield Boomerang.

3. increase the damage of critical hits, preferencially with specifiecd weapons if possible.

4. give a damage penalty to a skill if character have much aspd. (more aspd , less damage)

This is the current formula of skill that i desired apply the 4. item

Spoiler
				//Blitz-beat Damage
				if(!sd || !(skill = pc_checkskill(sd,HT_STEELCROW)))
					skill = 0;
				md.damage = (sstatus->int_ / 1 + skill * 5 + 70) * 4.5;
				if(mflag > 1) //Autocasted Blitz
					nk |= NK_SPLASHSPLIT;
				if (skill_id == SN_FALCONASSAULT) {
					//Div fix of Blitzbeat
					DAMAGE_DIV_FIX2(md.damage, skill_get_num(HT_BLITZBEAT, 5));
					//Falcon Assault Modifier
					md.damage = md.damage * (sstatus->int_ / 1.5 + sstatus-> dex / 10 + 120 + 80 * skill_lv) / 90;
				}
			}
			break;

 

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
On 1/22/2019 at 6:03 PM, Rizta said:

3. increase the damage of critical hits, preferencially with specifiecd weapons if possible.

This can be done with just itembonus...especially Specific weapons...

bCritAtkRate from item_bonus.txt

in the item's script section.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this