staff_discipline.xml
<abilities>
<ability>
<isSkillBonus>true</isSkillBonus>
<name>Staff Discipline</name>
<key>staff_discipline</key>
<skill>Staffs</skill>
<icon>staff_discipline</icon>
<description>
For each level of Staffs gain:
[p]+1% damage with staffs.
[p]+1 staff mastery, enabling you to wield higher-level staffs effectively.
[p]Your staff mastery: {{stat -> key:StaffsWeaponMastery, showDescription:false, showPlus:false}}
</description>
<type>passive</type>
<subType>0_Basic Passives</subType>
<passiveInfo>
<modifiers>
<modifiers>
<type>Damage</type>
<amount>0.01</amount>
<multiplier>Staffs</multiplier>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Staff</params>
</params>
</requirements>
</requirements>
</modifiers>
<modifiers>
<type>StaffsWeaponMastery</type>
<amount>1.0</amount>
<multiplier>Staffs</multiplier>
</modifiers>
</modifiers>
</passiveInfo>
<unlockInfo>
<autoUnlock>0</autoUnlock>
</unlockInfo>
</ability>
</abilities>