From 38f5d29a0c87788ce841a56e9fadb8eb3b802579 Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 12 Aug 2021 20:55:37 +0100 Subject: [PATCH] Add missing property for min throw distance percent --- Generator/Models/Output/Difficulty/Difficulty.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Generator/Models/Output/Difficulty/Difficulty.cs b/Generator/Models/Output/Difficulty/Difficulty.cs index b4e8c6a..487b8ed 100644 --- a/Generator/Models/Output/Difficulty/Difficulty.cs +++ b/Generator/Models/Output/Difficulty/Difficulty.cs @@ -409,7 +409,7 @@ public class Grenade { - public Grenade(int dELTA_NEXT_ATTEMPT_FROM_COVER, int dELTA_NEXT_ATTEMPT, int mIN_DIST_NOT_TO_THROW, int nEAR_DELTA_THROW_TIME_SEC, int mIN_THROW_GRENADE_DIST, int mIN_THROW_GRENADE_DIST_SQRT, int mIN_DIST_NOT_TO_THROW_SQR, int rUN_AWAY, int rUN_AWAY_SQR, int aDD_GRENADE_AS_DANGER, int aDD_GRENADE_AS_DANGER_SQR, int cHANCE_TO_NOTIFY_ENEMY_GR_100, double grenadePerMeter, int rEQUEST_DIST_MUST_THROW_SQRT, int rEQUEST_DIST_MUST_THROW, int bEWARE_TYPE, int sHOOT_TO_SMOKE_CHANCE_100, int cHANCE_RUN_FLASHED_100, int mAX_FLASHED_DIST_TO_SHOOT, int mAX_FLASHED_DIST_TO_SHOOT_SQRT, double fLASH_GRENADE_TIME_COEF, int sIZE_SPOTTED_COEF, int bE_ATTENTION_COEF, int tIME_SHOOT_TO_FLASH, int cLOSE_TO_SMOKE_TO_SHOOT, int cLOSE_TO_SMOKE_TO_SHOOT_SQRT, int cLOSE_TO_SMOKE_TIME_DELTA, int sMOKE_CHECK_DELTA, double dELTA_GRENADE_START_TIME, int aMBUSH_IF_SMOKE_IN_ZONE_100, int aMBUSH_IF_SMOKE_RETURN_TO_ATTACK_SEC, bool nO_RUN_FROM_AI_GRENADES, double mAX_THROW_POWER, double grenadePrecision, bool sTOP_WHEN_THROW_GRENADE, double wAIT_TIME_TURN_AWAY, int sMOKE_SUPPRESS_DELTA, int dAMAGE_GRENADE_SUPPRESS_DELTA, int sTUN_SUPPRESS_DELTA, bool cHEAT_START_GRENADE_PLACE, bool cAN_THROW_STRAIGHT_CONTACT, int sTRAIGHT_CONTACT_DELTA_SEC, int aNG_TYPE) + public Grenade(int dELTA_NEXT_ATTEMPT_FROM_COVER, int dELTA_NEXT_ATTEMPT, int mIN_DIST_NOT_TO_THROW, int nEAR_DELTA_THROW_TIME_SEC, int mIN_THROW_GRENADE_DIST, int mIN_THROW_GRENADE_DIST_SQRT, int mIN_DIST_NOT_TO_THROW_SQR, int rUN_AWAY, int rUN_AWAY_SQR, int aDD_GRENADE_AS_DANGER, int aDD_GRENADE_AS_DANGER_SQR, int cHANCE_TO_NOTIFY_ENEMY_GR_100, double grenadePerMeter, int rEQUEST_DIST_MUST_THROW_SQRT, int rEQUEST_DIST_MUST_THROW, int bEWARE_TYPE, int sHOOT_TO_SMOKE_CHANCE_100, int cHANCE_RUN_FLASHED_100, int mAX_FLASHED_DIST_TO_SHOOT, int mAX_FLASHED_DIST_TO_SHOOT_SQRT, double fLASH_GRENADE_TIME_COEF, int sIZE_SPOTTED_COEF, int bE_ATTENTION_COEF, int tIME_SHOOT_TO_FLASH, int cLOSE_TO_SMOKE_TO_SHOOT, int cLOSE_TO_SMOKE_TO_SHOOT_SQRT, int cLOSE_TO_SMOKE_TIME_DELTA, int sMOKE_CHECK_DELTA, double dELTA_GRENADE_START_TIME, int aMBUSH_IF_SMOKE_IN_ZONE_100, int aMBUSH_IF_SMOKE_RETURN_TO_ATTACK_SEC, bool nO_RUN_FROM_AI_GRENADES, double mAX_THROW_POWER, double grenadePrecision, bool sTOP_WHEN_THROW_GRENADE, double wAIT_TIME_TURN_AWAY, int sMOKE_SUPPRESS_DELTA, int dAMAGE_GRENADE_SUPPRESS_DELTA, int sTUN_SUPPRESS_DELTA, bool cHEAT_START_GRENADE_PLACE, bool cAN_THROW_STRAIGHT_CONTACT, int sTRAIGHT_CONTACT_DELTA_SEC, int aNG_TYPE, double mIN_THROW_DIST_PERCENT_0_1) { DELTA_NEXT_ATTEMPT_FROM_COVER = dELTA_NEXT_ATTEMPT_FROM_COVER; DELTA_NEXT_ATTEMPT = dELTA_NEXT_ATTEMPT; @@ -454,6 +454,7 @@ CAN_THROW_STRAIGHT_CONTACT = cAN_THROW_STRAIGHT_CONTACT; STRAIGHT_CONTACT_DELTA_SEC = sTRAIGHT_CONTACT_DELTA_SEC; ANG_TYPE = aNG_TYPE; + MIN_THROW_DIST_PERCENT_0_1 = mIN_THROW_DIST_PERCENT_0_1; } public int DELTA_NEXT_ATTEMPT_FROM_COVER { get; set; }