Code in source is original untouched.. Only item_proto is changed.. One change is range for arrows with used value1-value2 for magic attack and value3-value4 for melee attack + addon_type - 1.. Now I have this strange problem.. I dont know if is problem with addon_type or values in src.. Too late I test more option.. Just I want arrows like - Wooden Arrow Attack 10-20 and not Attack 10.. (Just add range like weapons) and add addon_type (-1)..
Server 1 - Rise of the Chosen - - Server 2 - Ascension of the Gods
Saturday (06.03) 19:00-21:00 CET: Double Boss Drop will be active for 2 Hours !
Sunday (07.03) 19:00-21:00 CET: Double Metin Drop will be active for 2 Hours !
Good luck, everyone!
Ahhhhh maybe is problem if I have in proto set value1-2 and value3-4? Because my game calculate dmg from arrows for all weapons.. + I have average bonus in arrrows (addon_type - 1).. Do you know how I can fix it? I can add new value in code for range.. But how can I fix average dmg? If I understand right, value3 is for magic attack and value4 for melee attack?
arrows damage taking from function CalcArrowDamage but if you using sword this should take from function CalcMeleeDamage, i dont think its connected, check and compare calcarrowdamage and calcmeleedamage function
This is function arrow iDam = number(pkBow->GetValue(3), pkBow->GetValue(4)) * 2 + pkArrow->GetValue(3); but its only count when you wear bow.