Jump to content
  • 0

RK DragonBreath Fire/Water


Question

Posted

Hello, I would like to know if anyone can help me, I would like to change the 'DragonBreath' ability formula to use the following modifiers:

Size/Race/Atk in which it shouldn't since it has no weapon and equip atk however it should also get reductions.

Thank you very much who can help!

7 answers to this question

Recommended Posts

  • 0
Posted

you can edit them

here
src/map/battle.c

 

case RK_DRAGONBREATH:
		case RK_DRAGONBREATH_WATER:
			{
				int damagevalue = (sstatus->hp / 50 + status_get_max_sp(src) / 4) * skill_lv;

				if(status_get_lv(src) > 100)
					damagevalue = damagevalue * status_get_lv(src) / 150;
				if(sd)
					damagevalue = damagevalue * (100 + 5 * (pc_checkskill(sd,RK_DRAGONTRAINING) - 1)) / 100;
				ATK_ADD(wd.damage, wd.damage2, damagevalue);
#ifdef RENEWAL
				ATK_ADD(wd.weaponAtk, wd.weaponAtk2, damagevalue);
#endif
				wd.flag |= BF_LONG;
			}
			break;

 

  • 0
Posted
14 hours ago, Nikky said:

you can edit them

here
src/map/battle.c

 


case RK_DRAGONBREATH:
		case RK_DRAGONBREATH_WATER:
			{
				int damagevalue = (sstatus->hp / 50 + status_get_max_sp(src) / 4) * skill_lv;

				if(status_get_lv(src) > 100)
					damagevalue = damagevalue * status_get_lv(src) / 150;
				if(sd)
					damagevalue = damagevalue * (100 + 5 * (pc_checkskill(sd,RK_DRAGONTRAINING) - 1)) / 100;
				ATK_ADD(wd.damage, wd.damage2, damagevalue);
#ifdef RENEWAL
				ATK_ADD(wd.weaponAtk, wd.weaponAtk2, damagevalue);
#endif
				wd.flag |= BF_LONG;
			}
			break;

 

 

 

How do I remove the effect of racial damage?

  • 0
Posted

Can't you just define that in skill_db?

// 0x08 - Skill ignores caster's % damage cards (misc type always ignores)
// 0x10 - Skill ignores elemental adjustments
// 0x20 - Skill ignores target's defense (misc type always ignores)
// 0x40 - Skill ignores target's flee (magic type always ignores)

// 0x80 - Skill ignores target's def cards

  • 0
Posted
5 hours ago, Playtester said:

Can't you just define that in skill_db?

// 0x08 - Skill ignores caster's % damage cards (misc type always ignores)
// 0x10 - Skill ignores elemental adjustments
// 0x20 - Skill ignores target's defense (misc type always ignores)
// 0x40 - Skill ignores target's flee (magic type always ignores)

// 0x80 - Skill ignores target's def cards

 

But what I want is to remove damage increase in races, humanoid race type, using KVM weapons for example.

  • 0
Posted
1 hour ago, Playtester said:

// 0x08 - Skill ignores caster's % damage cards (misc type always ignores)

And this mode doesn't work?

 

2008,9,6,2,3,0x42,1:1:1:2:2:2:3:3:4:4,10,1,no,0,0x40000,0,weapon,0,0x0,    RK_DRAGONBREATH,Dragon Breath

 

like?

2008,9,6,2,3,0x50,1:1:1:2:2:2:3:3:4:4,10,1,no,0,0x40000,0,weapon,0,0x0,    RK_DRAGONBREATH,Dragon Breath

 

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...