Jump to content

Question average 100% and ...


Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • 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
Share on other sites

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 13

      Metin2 Closed Beta Content (2003-2004)

    2. 25

      [SRC] Metin2 on LINUX - The Old Metin2 Project

    3. 2

      United/Club/Midgard serverfiles?

    4. 13

      Metin2 Closed Beta Content (2003-2004)

    5. 13

      Metin2 Closed Beta Content (2003-2004)

  • Recently Browsing

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

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.