help to change a code - HonorBound
game link> https://apps.facebook.com/honorbound/?fb_source=search&ref=ts&fref=ts
I'm trying to do damage to this game works great, more enemies also apply the same damage on me, has some way to resolve this?
see the code below.
code:
//05
IL_0000: ldarg.3
//7B ?? ?? ?? ??
IL_0001: ldfld float64 AbilityComponent::Value
//0A
IL_0006: stloc.0
//05
IL_0007: ldarg.3
//7B ?? ?? ?? ??
IL_0008: ldfld string AbilityComponent::ValueType
//72 ?? ?? ?? ??
IL_000d: ldstr "percent"
//28 ?? ?? ?? ??
IL_0012: call bool [mscorlib]System.String::op_Equality(string, string)
//39 ?? ?? ?? ??
IL_0017: brfalse IL_0026
//23 ?? ?? ?? ?? ?? ?? ?? ??
IL_001c: ldc.r8 1
//0A
IL_0025: stloc.0
//03
IL_0026: ldarg.1
//05
IL_0027: ldarg.3
//04
IL_0028: ldarg.2
//6F ?? ?? ?? ??
IL_0029: callvirt instance float64 Slot::DoAbilityRoll(class AbilityComponent, class Slot)
//0B
IL_002e: stloc.1
//7E ?? ?? ?? ??
IL_002f: ldsfld bool GameConstants::DO_RESISTANCE_CHECK
//39 ?? ?? ?? ??
IL_0034: brfalse IL_0093
//05
IL_0039: ldarg.3
//7B ?? ?? ?? ??
IL_003a: ldfld string AbilityComponent::Type
//72 ?? ?? ?? ??
IL_003f: ldstr "heal"
//28 ?? ?? ?? ??
IL_0044: call bool [mscorlib]System.String::op_Inequality(string, string)
//39 ?? ?? ?? ??
IL_0049: brfalse IL_0093
//0E ??
IL_004e: ldarg.s aud
//04
IL_0050: ldarg.2
//05
IL_0051: ldarg.3
//7B ?? ?? ?? ??
IL_0052: ldfld string AbilityComponent::DamageType
//05
IL_0057: ldarg.3
//7B ?? ?? ?? ??
IL_0058: ldfld string AbilityComponent::ResistanceCurve
//6F ?? ?? ?? ??
IL_005d: callvirt instance float32 Slot::CalculateResistanceAgainstDamageType(string, string)
//7D ?? ?? ?? ??
IL_0062: stfld float32 AbilityUseDetails::DamageResistedPercentage
//22 ?? ?? ?? ??
IL_0067: ldc.r4 -1
//07
IL_006c: ldloc.1
//6B
IL_006d: conv.r4
//5A
IL_006e: mul
//0E ??
IL_006f: ldarg.s aud
//7B ?? ?? ?? ??
IL_0071: ldfld float32 AbilityUseDetails::DamageResistedPercentage
//5A
IL_0076: mul
//0C
IL_0077: stloc.2
//07
IL_0078: ldloc.1
//08
IL_0079: ldloc.2
//6C
IL_007a: conv.r8
//58
IL_007b: add
//0B
IL_007c: stloc.1
//0E ??
IL_007d: ldarg.s aud
//7B ?? ?? ?? ??
IL_007f: ldfld float32 AbilityUseDetails::DamageResistedPercentage
//28 ?? ?? ?? ??
IL_0084: call float32 [UnityEngine]UnityEngine.Mathf::Abs(float32)
//22 ?? ?? ?? ??
IL_0089: ldc.r4 0.5
//44 ?? ?? ?? ??
IL_008e: blt.un IL_0093
//07
IL_0093: ldloc.1
//0D
IL_0094: stloc.3
//05
IL_0095: ldarg.3
//7B ?? ?? ?? ??
IL_0096: ldfld string AbilityComponent::ValueType
//72 ?? ?? ?? ??
IL_009b: ldstr "percent"
//28 ?? ?? ?? ??
IL_00a0: call bool [mscorlib]System.String::op_Inequality(string, string)
//39 ?? ?? ?? ??
IL_00a5: brfalse IL_0134
//05
IL_00aa: ldarg.3
//7B ?? ?? ?? ??
IL_00ab: ldfld string AbilityComponent::Type
//72 ?? ?? ?? ??
IL_00b0: ldstr "damage"
//28 ?? ?? ?? ??
IL_00b5: call bool [mscorlib]System.String::op_Equality(string, string)
//3A ?? ?? ?? ??
IL_00ba: brtrue IL_00d4
//05
IL_00bf: ldarg.3
//7B ?? ?? ?? ??
IL_00c0: ldfld string AbilityComponent::Type
//72 ?? ?? ?? ??
IL_00c5: ldstr "basic"
//28 ?? ?? ?? ??
IL_00ca: call bool [mscorlib]System.String::op_Equality(string, string)
//39 ?? ?? ?? ??
IL_00cf: brfalse IL_0134
//04
IL_00d4: ldarg.2
//09
IL_00d5: ldloc.3
//05
IL_00d6: ldarg.3
//03
IL_00d7: ldarg.1
//6F ?? ?? ?? ??
IL_00d8: callvirt instance class StatisticsComponent Slot::get_Stats()
//7B ?? ?? ?? ??
IL_00dd: ldfld string StatisticsComponent::Affinity
//6F ?? ?? ?? ??
IL_00e2: callvirt instance float64 Slot::ApplyWards(float64, class AbilityComponent, string)
//0D
IL_00e7: stloc.3
//09
IL_00e8: ldloc.3
//23 ?? ?? ?? ?? ?? ?? ?? ??
IL_00e9: ldc.r8 0.0
//41 ?? ?? ?? ??
IL_00f2: bge.un IL_0106
//23 ?? ?? ?? ?? ?? ?? ?? ??
IL_00f7: ldc.r8 0.0
//0D
IL_0100: stloc.3
//38 ?? ?? ?? ??
IL_0101: br IL_0134
//09
IL_0106: ldloc.3
//23 ?? ?? ?? ?? ?? ?? ?? ??
IL_0107: ldc.r8 1
//04
IL_0110: ldarg.2
//03
IL_0111: ldarg.1
//05
IL_0112: ldarg.3
//6F ?? ?? ?? ??
IL_0113: callvirt instance float64 Slot::GetDefenderMitigationValue(class Slot, class AbilityComponent)
//59
IL_0118: sub
//5A
IL_0119: mul
//0D
IL_011a: stloc.3
//09
IL_011b: ldloc.3
//23 ?? ?? ?? ?? ?? ?? ?? ??
IL_011c: ldc.r8 0.0
//41 ?? ?? ?? ??
IL_0125: bge.un IL_0134
//23 ?? ?? ?? ?? ?? ?? ?? ??
IL_012a: ldc.r8 0.0
//0D
IL_0133: stloc.3
//09
IL_0134: ldloc.3
//06
IL_0135: ldloc.0
//5A
IL_0136: mul
//28 ?? ?? ?? ??
IL_0137: call float64 [mscorlib]System.Math::Floor(float64)
//69
IL_013c: conv.i4
//13 ??
IL_013d: stloc.s V_4
//04
IL_013f: ldarg.2
//11 ??
IL_0140: ldloc.s V_4
//6C
IL_0142: conv.r8
//03
IL_0143: ldarg.1
//6F ?? ?? ?? ??
IL_0144: callvirt instance float64 Slot::ApplyDamageRampBuffs(float64, class Slot)
//69
IL_0149: conv.i4
//13 ??
IL_014a: stloc.s V_4
//11 ??
IL_014c: ldloc.s V_4
//2A
IL_014e: ret
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