Jump to content
  • 0

item attack value always returns values for +0 weapon


takbardzo

Question

i wanted to do some editing in Item_GetDamage function in battle.cpp, but I realized that the min/max damage values are always returned as if the item was +0:

 

spacer.pngspacer.png

 

code:

 

pkItem->GetOwner()->ChatPacket(CHAT_TYPE_INFO, "vnum %d min_att %d max_att %d", pkItem->GetVnum(), pkItem->GetValue(3), pkItem->GetValue(4));

 

any ideas? damage is calculated correctly when attacking monsters

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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


  • Activity

    1. 43

      Upgraded Reference (TMP4 Base) By Ulthar

    2. 2

      TXT File To Lower Case [Phaselis Map Works]

    3. 43

      Upgraded Reference (TMP4 Base) By Ulthar

    4. 43

      Upgraded Reference (TMP4 Base) By Ulthar

    5. 5

      Official Environment Effect Options [REVERSED]

    6. 1

      4 Alternatives Open Source to Trello

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