I understand. I looked and found dsAttackPC,cs script. For instance, if you added weapon focus as a trait, and specifically had a PC with the Long sword weapon focus trait it would seem you have know what weapon the PC is using and then, providing it is a long sword, grant him +1 to hit an+1 attack damage. So as I understand it you have modify the above script to achieve that trait.
How do you read the cs files? Can you modify them in the tool kit?