Jump to content
  • Create New...
  • 0

Question average 100% and ...



  • 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

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);
	iNormalHitBonus = -2 * iSkillBonus + number(1, 5);

For item bonuses search in char_item.cpp


and replace this

if (item2->GetAttributeCount() < 4)

with this

if (item2->GetAttributeCount() < 5)

Good luck.

Link to comment
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

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.