Jump to content

Recommended Posts

hi, trying to port the damage system from int to long long but after all its not working.
the damage shows correctly ingame but gets not applied as damage. 

things i already changes:
 

battle_hit
battle_melee_attack
GetMobAttackRange (it has damage base)
CalcBattleDamage
CalcMagicDamageWithValue
CalcMagicDamage
iERSrc
iARSrc
attacker_dx
victim_dx
CalcAttBonus
iReduceDamagePct
point bonuses increased by iatk
Item_GetDamage
pdamMin
pdamMax
CalcMeleeDamage
iDam
iAtk
iDamMin
iDamMax
iPureAtk
iPureDam
iDist
iGap
iPercent
fAR
iDef
battle_hit
CalcArrowDamage
BlueDragon_Damage
blue dragon idam stuff
iPower
ProfileDamage
Damage
UpdateAggrPointEx
ChangeVictimByAggro
GetSkillPower
SendDamagePacket
iRet
total_dam
dam
reflectDamage
iCriticalPct
iPenetratePct
pct
iCurHP
iDamageToSP
iDamageSPPart
add_dam
iMostDam
FuncSplashDamage
packet_damage_info
and min max utilities
in libthecore


Problem: Dmg shows correctly ingame, but the damage didnt went through, so i deal 0 damage for the server.
Anyone has an Idea what i'm missing?

Link to comment
https://metin2.dev/topic/30278-damage-from-int-to-long-long/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.