Jump to content
Forgot your email address? ×
×
×
  • Create New...
  • 0

Question average 100% and ...


Yuui

Question

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0
  • Premium

Next time, use Questions and Answers forum, please.

I think you want to change hit damage bonus on items. You can do that by editing file item_addon.cpp

// SKILL BONUS:
int iSkillBonus = MINMAX(-30, (int) (gauss_random(0, 5) + 0.5f), 30);

// HIT BONUS (based on skill bonus)
int iNormalHitBonus = 0;
if (abs(iSkillBonus) <= 20)
	iNormalHitBonus = -2 * iSkillBonus + abs(number(-8, 8) + number(-8, 8)) + number(1, 4);
else
	iNormalHitBonus = -2 * iSkillBonus + number(1, 5);

For item bonuses search in char_item.cpp

case USE_ADD_ATTRIBUTE :

and replace this

if (item2->GetAttributeCount() < 4)

with this

if (item2->GetAttributeCount() < 5)

Good luck.

Link to comment

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

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.