Error while compiling FirearmModifier: Argument 4: cannot convert from 'float' to 'bool' | Line: 655, Pos: 124
anyone else getting this?
Error while compiling FirearmModifier: Argument 4: cannot convert from 'float' to 'bool' | Line: 655, Pos: 124
anyone else getting this?
yup, unmaintained plugin, we have to get someone to fix it, the dev is afk for years
scalbox often fixes plugins and he's just posted this one, it won't let me link his discord though so you will have to search for it
line 693 from
int adjustedBaseMag = UnityEngine.Mathf.CeilToInt(ProjectileWeaponMod.Mult(projectile, (x => x.magazineCapacity), (y => y.scalar), 1f) * baseMag);to
int adjustedBaseMag = UnityEngine.Mathf.CeilToInt(ProjectileWeaponMod.Mult(projectile, (x => x.magazineCapacity), (y => y.scalar)) * baseMag);
just below that change line 705 in the same manner, remove ", 1f"