I'm trying to fix the perk 'Ninja' for my mod Simple Bug Fixes. It reads as thus: Trained as a shadow warrior, your ranged sneak attacks do 2.5x normal damage and your melee sneak attacks do 4x normal damage.
However it is not applying any bonus to 2H melee weapons and only the partial bonus to Unarmed. I know what I need to do to fix it, however doing it properly is what I'm getting hung up on.
Keeping everything contained within the same perk condition subset like this must clearly mean 'AND', essentially what this is saying is 'if the player does NOT have Ninja 2 AND the weapon is NOT 1H Melee AND the weapon is NOT 2H Melee, add this much to sneak attack' (this would be the lower amount that the perk can get): https://i.imgur.com/GYHVS89.png
However, when we're talking about the main part of the perk, here's where it gets confusing: https://i.imgur.com/7GXztp7.png
If it's supposed to mean 'the player does NOT have Ninja 2 AND the weapon is 1H Melee, add this much to sneak attack'' then wouldn't they be within the same perk condition like the previous example instead of separate ones? It seems to be saying 'The user is using a one handed weapon OR doesn't have Ninja 2.'
But maybe both of these structures mean 'AND' and it's just another way of doing it. So if that's the case, how do you do an 'OR'?
Very confusing. If anyone knows please respond.