Jump to content

Recommended Posts

Hello there.

It's there on forum some topic about c++ function to check max bonuses on items ? I mind,if a player have 30 sword defence to any item,game kick him out,sistem must check if a bonus is more than bonus set in item_attr,that's for moders protection :) 

If not,someone have a function for that ? :D 

Sorry for my eng :D

Thank you.

Link to comment
Share on other sites

  • Premium

you can check with a query on the item table.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • Premium
1 hour ago, WeedHex said:

Bonus: Avarage damage.

It's not on item_attr. If i have a weapon with 55% Avarage damage your check what does?

I got max dm/dh setup on source on two variables, its reads both variables, compares with the bonus on item. If higher then max, changes bonus

 

2 hours ago, emanuel said:

The code c++ bro :D.. 

 

Tuesday or so when im out of work i can send you a link containing it.

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.