small change to Monk

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
2 posts Page 1 of 1
Altastic
Posts:4
Joined:06 Nov 2018, 22:01
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable


Hey Kaminaris,

Thanks for this addon. I kept getting error messages displayed when using the 8.0.1 version in the chat window. It was complaining about not having the ChiWave on the action bar. Thing is, I wasn't talented in ChiWave so the error was legit :) but I didn't want it to bark. So, I added a talent check in both the WindwalkerAOE and WindwalkerSingleTarget functions on lines 194 and 216. I changed

"if cooldown[WW.ChiWave].ready..." to "if talents[WW.ChiWave] and cooldown[WW.ChiWave].ready..." on both. This got rid of the error spam in the chat windows.

Just wanted to pass this along in case you wanted to update it. Thanks again for the addon.

Also I did modify the. file for brewmaster on the older version. If I get my changes there to work with all of the new functions you put in, I'll pass along if you are interested
Altastic
Posts:4
Joined:06 Nov 2018, 22:01
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable


Disregard, just read you caught this already.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
2 posts Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany