Help with passive skills

Hy there... I was trying to create some passive skill by using victor engine which raise atk if the character has a specific weapon equipped like a sword.

I already done with this line:
<passive state: 997>
true
</passive state>

And putting in the requested weapon in that passive skill.
I tried, but the result is this... my character... from 211 atk has already reached 221 even though I give it the required weapon. Can you guys help me out? How can I perform this type of problem, please?
Moved to: RGSSx Script Support

The above request is for VX Ace
Thanks Shaz

Original thread: https://forums.rpgmakerweb.com/threads/help-with-passive-skills.138463/