I have sort of an idea of how to do this, but I need some help to get the exact code right. I'm creating a variable-based skill point system in my game. What I can't figure out is how to increase a character's attack power if they're using a particular weapon. Like in the image below, I want the character to be stronger with swords, but only with swords. I know that I need to do something involving wTypeId, but I'm not sure how to use it to create the conditional.

