Jump to content

damage from int to long long


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
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.