Class CombatManager
java.lang.Object
zombie.CombatManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic floatstatic floatstatic final floatfinal ObjectPool<HitInfo> static final intstatic final intstatic final floatstatic final intstatic final floatstatic final floatstatic floatstatic floatstatic final floatstatic final intstatic intstatic final float -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyDamage(BodyPart bodyPart, float float0) voidapplyDamage(IsoGameCharacter character, float float0) floatapplyGlobalDamageReductionMultipliers(HandWeapon weapon, float float0) floatapplyOneHandedPenalty(IsoGameCharacter character, HandWeapon weapon, float float0) floatapplyPlayerReceivedDamageModifier(IsoGameCharacter character, float float0) floatapplyWeaponLevelDamageModifier(IsoGameCharacter character, float float0) voidattackCollisionCheck(IsoGameCharacter character0, HandWeapon weapon, SwipeStatePlayer swipeStatePlayer, AttackType attackType) voidcalculateAttackVars(IsoLivingCharacter livingCharacter) floatcalculateDamageToVehicle(IsoGameCharacter var1, float float0, float float1, int int0) voidcalculateHitInfoList(IsoGameCharacter character) voidcalcValidTargets(IsoLivingCharacter livingCharacter, HandWeapon weapon, PZArrayList<HitInfo> pZArrayList0, PZArrayList<HitInfo> pZArrayList1) static booleancheckPVP(IsoGameCharacter character, IsoMovingObject movingObject) static floatgetAimDelayPenalty(float float4, float float0, float float2, float float1) static floatgetAimDelayPenaltySightless(float float1, float float0) static Vector3getBoneWorldPos(IsoMovingObject movingObject, String string, Vector3 vector) static floatgetDistanceModifier(float float0, float float1, float float2, boolean var3) static floatgetDistanceModifierSightless(float float0, boolean boolean0) static CombatManagerstatic floatgetMoodlesPenalty(IsoGameCharacter character, float float0) static floatgetMovePenalty(IsoGameCharacter character, float float1) static floatgetPainPenalty(IsoGameCharacter character) getWeapon(IsoGameCharacter character) static floatgetWeatherPenalty(IsoGameCharacter character, HandWeapon weapon, IsoGridSquare square, float float1) voidhighlightTarget(IsoGameCharacter character, Color color, float float0) booleanhitIsoGridSquare(IsoGridSquare square, Vector3f vector3f) booleanisProneTargetBetter(IsoGameCharacter character, HitInfo hitInfo0, HitInfo hitInfo1) voidpostUpdate(boolean var1) voidpressedAttack(IsoPlayer player) intprocessHit(HandWeapon weapon, IsoGameCharacter character, IsoZombie zombie0) voidprocessInstantExplosion(IsoGameCharacter character, IsoTrap trap) voidprocessMaintenanceCheck(IsoGameCharacter character, HandWeapon weapon, IsoObject object) voidreleaseBallisticsTargets(IsoGameCharacter character) voidvoidReset()voidsplash(IsoMovingObject movingObject, HandWeapon weapon, IsoGameCharacter character1) voidupdate(boolean var1) voidupdateReticle(IsoPlayer player)
-
Field Details
-
hitInfoPool
-
GlobalMeleeDamageReductionMultiplier
public static final float GlobalMeleeDamageReductionMultiplier- See Also:
-
OptimalRangeToHitMaximumBonus
public static final float OptimalRangeToHitMaximumBonus- See Also:
-
LowLightThreshold
public static final float LowLightThreshold- See Also:
-
LowLightToHitMaximumPenalty
public static final int LowLightToHitMaximumPenalty- See Also:
-
PointBlankDistance
public static final float PointBlankDistance- See Also:
-
PostShotAimingDelayRecoilModifier
public static float PostShotAimingDelayRecoilModifier -
PostShotAimingDelayAimingModifier
public static float PostShotAimingDelayAimingModifier -
StrengthLevelOffset
public static final int StrengthLevelOffset- See Also:
-
FirearmRecoilMuscleStrainModifier
public static float FirearmRecoilMuscleStrainModifier -
StrengthLevelMuscleStrainModifier
public static final float StrengthLevelMuscleStrainModifier- See Also:
-
TwoHandedWeaponMuscleStrainModifier
public static final float TwoHandedWeaponMuscleStrainModifier- See Also:
-
BallisticsControllerDistanceThreshold
public static float BallisticsControllerDistanceThreshold -
ISOCURSOR
public static final int ISOCURSOR- See Also:
-
ISORETICLE
public static final int ISORETICLE- See Also:
-
targetReticleMode
public static int targetReticleMode
-
-
Method Details
-
getInstance
-
calculateDamageToVehicle
-
getWeapon
-
splash
-
processMaintenanceCheck
public void processMaintenanceCheck(IsoGameCharacter character, HandWeapon weapon, IsoObject object) -
attackCollisionCheck
public void attackCollisionCheck(IsoGameCharacter character0, HandWeapon weapon, SwipeStatePlayer swipeStatePlayer, AttackType attackType) -
releaseBallisticsTargets
-
applyDamage
-
applyDamage
-
calculateAttackVars
-
calcValidTargets
public void calcValidTargets(IsoLivingCharacter livingCharacter, HandWeapon weapon, PZArrayList<HitInfo> pZArrayList0, PZArrayList<HitInfo> pZArrayList1) -
isProneTargetBetter
-
checkPVP
-
renderlast
public void renderlast() -
calculateHitInfoList
-
getBoneWorldPos
-
getDistanceModifierSightless
public static float getDistanceModifierSightless(float float0, boolean boolean0) -
getAimDelayPenaltySightless
public static float getAimDelayPenaltySightless(float float1, float float0) -
getDistanceModifier
public static float getDistanceModifier(float float0, float float1, float float2, boolean var3) -
getMovePenalty
-
getAimDelayPenalty
public static float getAimDelayPenalty(float float4, float float0, float float2, float float1) -
getMoodlesPenalty
-
getWeatherPenalty
public static float getWeatherPenalty(IsoGameCharacter character, HandWeapon weapon, IsoGridSquare square, float float1) -
getPainPenalty
-
Reset
public void Reset() -
processHit
-
highlightTarget
-
pressedAttack
-
update
public void update(boolean var1) -
postUpdate
public void postUpdate(boolean var1) -
updateReticle
-
hitIsoGridSquare
-
processInstantExplosion
-
applyGlobalDamageReductionMultipliers
-
applyWeaponLevelDamageModifier
-
applyPlayerReceivedDamageModifier
-
applyOneHandedPenalty
-