i tried to add a new passive weapon mastery which grants Attackrate/Damage/Defense/FHR by following this guide viewtopic.php?f=4&t=60552&hilit=new+passive+mastery.
I made some changes by not adding the aura to the item itself, but to a charm in my inventory. The aura only works if stat X = 2.
This works by putting a point into the passive (+1) and equipping the item (also +1).
Now im getting a silly problem. When i put a point into the passive and equip the weapon (spear) everything works fine. When i unequip the weapon, stats are still available until i refresh the aura or re-enter the game.
My calc for this is the following:
Code: Select all
(stat('2hstart'.accr) == 2) ? (skill('Spear Mastery'.blvl) * par5) : 0
The silly part here is. If i change the 0 to a 1:
Code: Select all
(stat('2hstart'.accr) == 2) ? (skill('Spear Mastery'.blvl) * par5) : 1
Would like to know if it's a known bug that "0" doesn't work and if someone maybe know how to fix this (if it's even possible to fix).
Thanks in advance.
Greetings