[Suggestion] Marvel Avengers Alliance 2
Marvel Avengers Alliance 2
Marvel Avengers Alliance 2 Posted on: 02/18/2016 12:36am
Quote Post

Marvel Avengers Alliance 2 unity game


link>  https://play.google.com/store/apps/details?id=com.marvel.avengersalliance2_goo&hl=pt_BR


 
 I did damage hack, but opponents apply the same damage value, does anyone know how to make enemies return damage 0 ??

=============
local damage hack

MARVEL 2


DAMAGE   

LOCAL

.class private auto ansi beforefieldinit Disney.Maa2.Essex.CombatEngineStatePerformAction


  .method private hidebysig instance int32 CalculateDamageForAction (
  
  
     )

        IL_0000: ldarg.0
        IL_0001: ldfld class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject> Disney.Maa2.Essex.CombatEngineStatePerformAction::actionStack
        IL_0006: ldc.i4.0
        IL_0007: callvirt instance class Disney.Maa2.Essex.ActionQueueObject class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject>::get_Item(int32)
        IL_000c: callvirt instance class Disney.Maa2.Essex.ActionTargetObject Disney.Maa2.Essex.ActionQueueObject::get_Targets()
        IL_0011: callvirt instance class Disney.Maa2.Essex.Character Disney.Maa2.Essex.ActionTargetObject::get_Actor()
        IL_0016: callvirt instance class Disney.Maa2.Essex.IStatList Disney.Maa2.Essex.Character::get_StatList()
        IL_001b: ldstr "core_stats_Attack"
        IL_0020: callvirt instance class Disney.Maa2.Essex.EsxStat Disney.Maa2.Essex.IStatList::GetOrCreateStat(string)
        IL_0025: stloc.0
        IL_0026: ldloc.0
        IL_0027: callvirt instance float32 Disney.Maa2.Essex.EsxStat::GetCurrentValue()
        IL_002c: stloc.1
        IL_002d: ldarg.1
        IL_002e: callvirt instance class Disney.Maa2.Essex.IStatList Disney.Maa2.Essex.Character::get_StatList()
        IL_0033: ldstr "core_stats_Defense"
        IL_0038: callvirt instance class Disney.Maa2.Essex.EsxStat Disney.Maa2.Essex.IStatList::GetOrCreateStat(string)
        IL_003d: stloc.2
        IL_003e: ldloc.2
        IL_003f: callvirt instance float32 Disney.Maa2.Essex.EsxStat::GetCurrentValue()
        IL_0044: stloc.3
        IL_0045: ldarg.0
        IL_0046: ldarg.3
        IL_0047: call instance float32 Disney.Maa2.Essex.CombatEngineStatePerformAction::GetAttackResultMultiplier(valuetype Disney.Maa2.DataModels.AttackOutcomeType/Types)
        IL_004c: stloc.s V_4
        IL_004e: ldarg.0
        IL_004f: call instance class Disney.Maa2.Essex.ICombatRandom Disney.Maa2.Essex.CombatEngineStatePerformAction::get_CombatRandom()
        IL_0054: ldc.i4.3
        IL_0055: ldarg.2
        IL_0056: callvirt instance string Disney.Ultron.DataModelsCommon.DataComponent::GetUid()
        IL_005b: callvirt instance float32 Disney.Maa2.Essex.ICombatRandom::GetNext(valuetype Disney.Maa2.UserModels.CombatLogRandom/Types,  string)
        IL_0060: stloc.s V_5
        IL_0062: ldarg.2
        IL_0063: callvirt instance float32 Disney.Maa2.DataModels.ActionSequenceAttackComponent::get_DamageMax()
        IL_0068: ldarg.2
        IL_0069: callvirt instance float32 Disney.Maa2.DataModels.ActionSequenceAttackComponent::get_DamageMin()
        IL_006e: sub
        IL_006f: ldloc.s V_5
        IL_0071: mul
        IL_0072: ldarg.2
        IL_0073: callvirt instance float32 Disney.Maa2.DataModels.ActionSequenceAttackComponent::get_DamageMin()
        IL_0078: add
        IL_0079: stloc.s V_6
        IL_007b: ldloc.s V_6
        IL_007d: ldc.r4 1
        IL_0082: ldarg.0
        IL_0083: ldfld class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject> Disney.Maa2.Essex.CombatEngineStatePerformAction::actionStack
        IL_0088: ldc.i4.0
        IL_0089: callvirt instance class Disney.Maa2.Essex.ActionQueueObject class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject>::get_Item(int32)
        IL_008e: callvirt instance class Disney.Maa2.Essex.CombatAction Disney.Maa2.Essex.ActionQueueObject::get_Action()
        IL_0093: callvirt instance float32 Disney.Maa2.Essex.CombatAction::get_BaseDamageBonusPercent()
        IL_0098: add
        IL_0099: mul
        IL_009a: stloc.s V_6
        IL_009c: ldarg.0
        IL_009d: ldfld class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject> Disney.Maa2.Essex.CombatEngineStatePerformAction::actionStack
        IL_00a2: ldc.i4.0
        IL_00a3: callvirt instance class Disney.Maa2.Essex.ActionQueueObject class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject>::get_Item(int32)
        IL_00a8: callvirt instance class Disney.Maa2.Essex.CombatAction Disney.Maa2.Essex.ActionQueueObject::get_Action()
        IL_00ad: callvirt instance class Disney.Maa2.Essex.IStatList Disney.Maa2.Essex.CombatAction::get_StatList()
        IL_00b2: ldstr "hidden_stats_DamageModifier"
        IL_00b7: callvirt instance class Disney.Maa2.Essex.EsxStat Disney.Maa2.Essex.IStatList::GetOrCreateStat(string)
        IL_00bc: callvirt instance float32 Disney.Maa2.Essex.EsxStat::GetCurrentPercent()
        IL_00c1: stloc.s V_7
        IL_00c3: ldarg.1
        IL_00c4: callvirt instance class Disney.Maa2.Essex.IStatList Disney.Maa2.Essex.Character::get_StatList()
        IL_00c9: ldstr "hidden_stats_DamageModifier"
        IL_00ce: callvirt instance class Disney.Maa2.Essex.EsxStat Disney.Maa2.Essex.IStatList::GetOrCreateStat(string)
        IL_00d3: callvirt instance float32 Disney.Maa2.Essex.EsxStat::GetCurrentPercent()
        IL_00d8: stloc.s V_8
        IL_00da: ldarg.0
        IL_00db: ldfld class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject> Disney.Maa2.Essex.CombatEngineStatePerformAction::actionStack
        IL_00e0: ldc.i4.0
        IL_00e1: callvirt instance class Disney.Maa2.Essex.ActionQueueObject class [mscorlib]System.Collections.Generic.List`1<class Disney.Maa2.Essex.ActionQueueObject>::get_Item(int32)
        IL_00e6: callvirt instance class Disney.Maa2.Essex.ActionTargetObject Disney.Maa2.Essex.ActionQueueObject::get_Targets()
        IL_00eb: callvirt instance class Disney.Maa2.Essex.Character Disney.Maa2.Essex.ActionTargetObject::get_Actor()
        IL_00f0: callvirt instance float32 Disney.Maa2.Essex.Character::GetActionDamageMultiplier()
        IL_00f5: stloc.s V_9
        IL_00f7: ldloc.s V_4
        IL_00f9: ldloc.s V_9
        IL_00fb: mul
        IL_00fc: ldloc.s V_6
        IL_00fe: mul
        IL_00ff: ldloc.1
        IL_0100: mul
        IL_0101: ldloc.s V_7
        IL_0103: mul
        IL_0104: ldloc.s V_8
        IL_0106: mul
        IL_0107: ldloc.3
        IL_0108: div
        IL_0109: stloc.s V_10
        IL_010b: ldloc.s V_10
        IL_010d: conv.r8
        IL_010e: call float64 [mscorlib]System.Math::Round(float64)
        IL_0113: conv.i4
        IL_0114: stloc.s V_11
        IL_0116: ldloc.s V_11
        IL_0118: brtrue IL_012c

        IL_011d: ldloc.s V_4
        IL_011f: ldc.r4 0.0
        IL_0124: beq IL_012c

        IL_0129: ldc.i4.1
        IL_012a: stloc.s V_11

        IL_012c: ldloc.s V_11
        IL_012e: ret
    }

RE: Marvel Avengers Alliance 2 Posted on: 04/19/2016 5:09pm
Quote Post

I don't know how to apply 0 values to enemy only. You may struggle especially when both you and opponent are using the same character.

What I do know works is boosting your team's SPEED attribute with ISO-8's and putting together a team with +initiative/speed buffs that will ensure you get the first turn.

Equip AoE for each character to clear out on turn 1.

RE: Marvel Avengers Alliance 2 Posted on: 04/19/2016 8:18pm
Quote Post
Never let a computer tell me shit.

its hard to say without careful examination, but presumably there is a member "team" in the Actor class. You could probably throw away some code to check that member and then drop a conditional on it. like 
if(actor.team == Actor.BADDIES){
damage = 0;
}else{
damage = 999;
}

another option would be to look into the getTargets() method and see how the AI makes the IFF determination, then bend that methodology to your will.




I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"

RE: Marvel Avengers Alliance 2 Posted on: 03/26/2017 2:48pm
Quote Post

This game is closed, we cant play anymore :(