Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UPK_FILE = XComGame.upk
- ALIAS=DebugLog:19 2E <Class.XComOnlineEventMgr> 19 2E <Engine.GameEngine> 12 20 <Engine.Engine> 0A 00 <Engine.Engine.GetEngine.ReturnValue> 00 1C <Engine.Engine.GetEngine> 16 09 00 <Engine.GameEngine.OnlineEventManager> 00 01 <Engine.GameEngine.OnlineEventManager> FF 00 <NullRef> 00 1B <DevOnlineMsg>
- OBJECT = XGAbility_Targeted.GetHitChance : AUTO
- [REPLACEMENT_CODE]
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_kUnit = "> 38 56 01 <XGAbility.m_kUnit> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_kUnit.SafeGetCharacterName() = "> 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.SafeGetCharacterName.ReturnValue> 00 ( 1B <SafeGetCharacterName> 16 ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_bReactionFire = "> 38 54 01 <XGAbility.m_bReactionFire> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_bHasFlank = "> 38 54 01 <@m_bHasFlank> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_bHasOpenTarget = "> 38 54 01 <@m_bHasOpenTarget> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_bHasHeightAdvantage = "> 38 54 01 <@m_bHasHeightAdvantage> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_fDistanceToTarget = "> 38 55 01 <@m_fDistanceToTarget> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_iHitChance = "> 38 53 01 <@m_iHitChance> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_iCriticalChance = "> 38 53 01 <@m_iCriticalChance> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_vTargetLocation = "> 38 58 01 <@m_vTargetLocation> 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget() = "> 38 56 1B <GetPrimaryTarget> 16 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().SafeGetCharacterName() = "> 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.SafeGetCharacterName.ReturnValue> 00 ( 1B <SafeGetCharacterName> 16 ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_bInSmokeBomb = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_bInSmokeBomb> 00 ( 01 <XGUnitNativeBase.m_bInSmokeBomb> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_bInDenseSmoke = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_bInDenseSmoke> 00 ( 01 <XGUnitNativeBase.m_bInDenseSmoke> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_iCurrentCoverValue = "> 38 53 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_iCurrentCoverValue> 00 ( 01 <XGUnitNativeBase.m_iCurrentCoverValue> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_iBaseCoverValue = "> 38 53 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_iBaseCoverValue> 00 ( 01 <XGUnitNativeBase.m_iBaseCoverValue> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().IsFlankedBy(m_kUnit) = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.IsFlankedBy.ReturnValue> 00 ( 1B <IsFlankedBy> 01 <XGAbility.m_kUnit> 16 ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().IsMoving() = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.IsMoving.ReturnValue> 00 ( 1B <IsMoving> 16 ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_bCachedIsInCover = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_bCachedIsInCover> 00 ( 01 <XGUnitNativeBase.m_bCachedIsInCover> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().IsInCover() = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.IsInCover.ReturnValue> 00 ( 1B <IsInCover> 16 ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().LastCoverState = "> 38 52 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.LastCoverState> 00 ( 01 <XGUnitNativeBase.LastCoverState> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_eCoverState = "> 38 52 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_eCoverState> 00 ( 01 <XGUnitNativeBase.m_eCoverState> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().LastCoverTypeUsed = "> 38 52 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.LastCoverTypeUsed> 00 ( 01 <XGUnitNativeBase.LastCoverTypeUsed> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_bDashing = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_bDashing> 00 ( 01 <XGUnitNativeBase.m_bDashing> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().m_bSprinting = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_bSprinting> 00 ( 01 <XGUnitNativeBase.m_bSprinting> ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().HasAirEvadeBonus() = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.HasAirEvadeBonus.ReturnValue> 00 ( 1B <HasAirEvadeBonus> 16 ) 16 16
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: GetPrimaryTarget().HasNoCoverBonus() = "> 38 54 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.HasNoCoverBonus.ReturnValue> 00 ( 1B <HasNoCoverBonus> 16 ) 16 16
- 07 [@label_0x0019] 1B <HasProperty> 24 21 16
- 04 01 <@m_iHitChance>
- [#label_0x0019]
- 07 [@label_0x0058] 9A 1B <GetType> 16 2C 09 16
- 04 38 44 AB 38 3F 01 <@m_iHitChance> 12 20 <Class.XGTacticalGameCore> [@] <XGTacticalGameCoreNativeBase.UFO_PSI_LINK_SURVIVE> 00 ( 02 <XGTacticalGameCoreNativeBase.UFO_PSI_LINK_SURVIVE> ) 16
- [#label_0x0058]
- 07 [@label_0x0071] 72 01 <@m_kWeapon> 2A 16
- 04 01 <@m_iHitChance>
- [#label_0x0071]
- 07 [@label_0x008B] 72 1B <GetPrimaryTarget> 16 2A 16
- 04 01 <@m_iHitChance>
- [#label_0x008B]
- 0F 01 <@m_iHitChance_NonUnitTarget> 2C 00
- 07 [@label_0x02BD] 19 01 <@m_kWeapon> [@] <XGWeapon.HasProperty.ReturnValue> 00 ( 1B <HasProperty> 2C 02 16 )
- 07 [@label_0x02BD] 81 19 19 01 <XGAbility.m_kUnit> [@] <XGUnit.GetCharacter.ReturnValue> 00 ( 1B <GetCharacter> 16 ) [@] <XGCharacter.HasUpgrade.ReturnValue> 00 ( 1B <HasUpgrade> 2C 5E 16 ) 16
- 07 [@label_0x02BD] B1 E1 D8 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.GetLocation.ReturnValue> 00 ( 1B <GetLocation> 16 ) 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.GetLocation.ReturnValue> 00 ( 1B <GetLocation> 16 ) 16 16 AB 38 3F 12 20 <Class.XGTacticalGameCore> [@] <XGTacticalGameCoreNativeBase.HQASSAULT_MIN_DAYS> 00 ( 02 <XGTacticalGameCoreNativeBase.HQASSAULT_MIN_DAYS> ) 38 3F 2C 40 16 16
- A2 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 38 44 AB AF AC E1 D8 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.GetLocation.ReturnValue> 00 ( 1B <GetLocation> 16 ) 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.GetLocation.ReturnValue> 00 ( 1B <GetLocation> 16 ) 16 16 38 3F 2C 40 16 38 3F 12 20 <Class.XGTacticalGameCore> [@] <XGTacticalGameCoreNativeBase.HQASSAULT_MIN_DAYS> 00 ( 02 <XGTacticalGameCoreNativeBase.HQASSAULT_MIN_DAYS> ) 16 AC 38 3F 12 20 <Class.XGTacticalGameCore> [@] <XGTacticalGameCoreNativeBase.HQASSAULT_MAX_DAYS> 00 ( 02 <XGTacticalGameCoreNativeBase.HQASSAULT_MAX_DAYS> ) 38 3F 2C 0A 16 16 16
- A1 01 <@m_iHitChance_NonUnitTarget> 38 44 AB AF AC E1 D8 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.GetLocation.ReturnValue> 00 ( 1B <GetLocation> 16 ) 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.GetLocation.ReturnValue> 00 ( 1B <GetLocation> 16 ) 16 16 38 3F 2C 40 16 38 3F 12 20 <Class.XGTacticalGameCore> [@] <XGTacticalGameCoreNativeBase.HQASSAULT_MIN_DAYS> 00 ( 02 <XGTacticalGameCoreNativeBase.HQASSAULT_MIN_DAYS> ) 16 AC 38 3F 12 20 <Class.XGTacticalGameCore> [@] <XGTacticalGameCoreNativeBase.HQASSAULT_MAX_DAYS> 00 ( 02 <XGTacticalGameCoreNativeBase.HQASSAULT_MAX_DAYS> ) 38 3F 2C 0A 16 16 16
- [#label_0x02BD]
- 07 [@label_0x035E] 82 19 01 <@m_kWeapon> [@] <XGWeapon.HasProperty.ReturnValue> 00 ( 1B <HasProperty> 2C 05 16 ) 18 [@] ( 19 01 <@m_kWeapon> [@] <XGWeapon.HasProperty.ReturnValue> 00 ( 1B <HasProperty> 2C 0B 16 ) 16 )
- 07 [@label_0x035E] 97 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_iMovesActionsPerformed> 00 ( 01 <XGUnitNativeBase.m_iMovesActionsPerformed> ) 2C 00 16
- A2 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 2C 0A 16
- A1 01 <@m_iHitChance_NonUnitTarget> 2C 0A 16
- [#label_0x035E]
- 07 [@label_0x0489] 19 19 01 <XGAbility.m_kUnit> [@] <XGUnit.GetCharacter.ReturnValue> 00 ( 1B <GetCharacter> 16 ) [@] <XGCharacter.HasUpgrade.ReturnValue> 00 ( 1B <HasUpgrade> 2C 10 16 )
- 07 [@label_0x0489] 9A 38 3A 35 <XGTacticalGameCoreNativeBase.TCharacter.eClass> <XGTacticalGameCoreNativeBase.TCharacter> 00 00 19 19 01 <XGAbility.m_kUnit> [@] <XGUnit.GetCharacter.ReturnValue> 00 ( 1B <GetCharacter> 16 ) [@] <XGCharacter.m_kChar> 00 ( 01 <XGCharacter.m_kChar> ) 2C 01 16
- 07 [@label_0x0489] 99 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_iMovesActionsPerformed> 00 ( 01 <XGUnitNativeBase.m_iMovesActionsPerformed> ) 2C 01 16
- 07 [@label_0x0489] 84 81 19 01 <@m_kWeapon> [@] <XGWeapon.HasProperty.ReturnValue> 00 ( 1B <HasProperty> 2C 10 16 ) 16 18 [@] ( 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_bDoubleTapActivated> 00 ( 2D 01 <XGUnitNativeBase.m_bDoubleTapActivated> ) 16 )
- A1 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 2C 0A 16
- A2 01 <@m_iHitChance_NonUnitTarget> 2C 0A 16
- [#label_0x0489]
- 07 [@label_0x0518] 19 19 01 <XGAbility.m_kUnit> [@] <XGUnit.GetCharacter.ReturnValue> 00 ( 1B <GetCharacter> 16 ) [@] <XGCharacter.HasUpgrade.ReturnValue> 00 ( 1B <HasUpgrade> 2C 74 16 )
- 07 [@label_0x0518] 19 1B <GetPrimaryTarget> 16 [@] <XGUnit.IsFlying.ReturnValue> 00 ( 1B <IsFlying> 16 )
- A1 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 2C 0F 16
- A2 01 <@m_iHitChance_NonUnitTarget> 2C 0F 16
- [#label_0x0518]
- 07 [@label_0x05EE] 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.IsFlankedBy.ReturnValue> 00 ( 1B <IsFlankedBy> 01 <XGAbility.m_kUnit> 16 )
- 07 [@label_0x0599] 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_bInSmokeBomb> 00 ( 2D 01 <XGUnitNativeBase.m_bInDenseSmoke> )
- A2 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 2C 14 16
- A1 01 <@m_iHitChance_NonUnitTarget> 2C 14 16
- [#label_0x0599]
- 07 [@label_0x05EE] 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_bInSmokeBomb> 00 ( 2D 01 <XGUnitNativeBase.m_bInSmokeBomb> )
- A2 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 2C 14 16
- A1 01 <@m_iHitChance_NonUnitTarget> 2C 14 16
- [#label_0x05EE]
- 07 [@label_0x078C] 2D 01 <XGAbility.m_bReactionFire>
- 14 2D 01 <XGAbility.m_bReactionFire> 27
- //if (GetPrimaryTarget().IsMoving() && !GetPrimaryTarget().IsFlying())
- 07 [@label_A] 82 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.IsMoving.ReturnValue> 00 ( 1B <IsMoving> 16 ) 18 [@] ( 81 19 1B <GetPrimaryTarget> 16 [@] <XGUnit.IsFlying.ReturnValue> 00 ( 1B <IsFlying> 16 ) 16 16 )
- //if (GetPrimaryTarget().m_iBaseCoverValue != 0)
- 07 [@label_A] 9B 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_iBaseCoverValue> 00 ( 01 <XGUnitNativeBase.m_iBaseCoverValue> ) 25 16
- A1 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_iBaseCoverValue> 00 ( 01 <XGUnitNativeBase.m_iBaseCoverValue> ) 16
- A2 01 <@m_iHitChance_NonUnitTarget> 19 1B <GetPrimaryTarget> 16 [@] <XGUnitNativeBase.m_iBaseCoverValue> 00 ( 01 <XGUnitNativeBase.m_iBaseCoverValue> ) 16
- [#label_A]
- 0F 01 <@m_iHitChance> 1B <CalcHitChance> 16
- 0F 01 <@m_iHitChance> 1B <CalcHitModFromPerks> 01 <@m_iHitChance> 01 <@m_fDistanceToTarget> 01 <@m_bHasHeightAdvantage> 16
- 14 2D 01 <XGAbility.m_bReactionFire> 27
- A1 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 01 <@m_iHitChance_NonUnitTarget> 16
- 06 [@label_0x07FE]
- [#label_0x078C]
- 07 [@label_0x07FE] 9B 01 <@m_iHitChance_NonUnitTarget> 2C 00 16
- 0F 01 <@m_iHitChance> 1B <CalcHitChance> 16
- 0F 01 <@m_iHitChance> 1B <CalcHitModFromPerks> 01 <@m_iHitChance> 38 3F 2C 00 28 16
- A1 1A 2C 01 19 01 <XGAbility.m_kUnit> [@] <XGUnitNativeBase.m_aCurrentStats> 00 ( 01 <XGUnitNativeBase.m_aCurrentStats> ) 01 <@m_iHitChance_NonUnitTarget> 16
- [#label_0x07FE]
- 0F 01 <@m_iHitChance_NonUnitTarget> 2C 64
- <!DebugLog> 70 1F <%t "XGAbility_Targeted: m_iHitChance (adjusted) = "> 38 53 01 <@m_iHitChance> 16 16
- 04 01 <@m_iHitChance>
- 04 3A <.ReturnValue>
- 53
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement