Hello friends,
how can i add Balaced to two handed melee weapons and remove it from throwing?

Thanks for your help.
 
You can make a new base class for two-handed weapons Take a look at BaseRanged script and find this bit of code in BaseWeapon:

Code:
if (Core.ML && this is BaseRanged && ((BaseRanged)this).Balanced)
                list.Add(1072792); // Balanced

You can also make them custom two-handed weapons that carry the property, might be easier and require less Distro modification
 
You can make a new base class for two-handed weapons Take a look at BaseRanged script and find this bit of code in BaseWeapon:

Code:
if (Core.ML && this is BaseRanged && ((BaseRanged)this).Balanced)
                list.Add(1072792); // Balanced

You can also make them custom two-handed weapons that carry the property, might be easier and require less Distro modification
Two Handed Weapon is...? BaseTwoHanded?
 
He is talking about BaseWeapon.cs

Search for the line(s) of code he provided in that.
yeah, but, now what i must do?
something like this: ?

Code:
if (Core.ML && this is BaseRanged && ((BaseRanged)this).Balanced)
list.Add(1072792); // Balanced
if (Core.ML && this is BaseTwoHanded && ((BaseTwoHanded)this).Balanced)
list.Add(1072792); // Balanced
 
Last edited:
  1. if (Core.ML && this is BaseTwoHanded && ((BaseTwoHanded)this).Balanced)
  2. list.Add(1072792); // Balanced

Yes in BaseWeapon you would need that portion, and your BaseTwoHanded.cs would reflect that property as well. [See how its expressed in BaseRanged as an example.]
 
Back