MMOMinion
Buff checks - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: SkillManager Profiles (https://www.mmominion.com/forumdisplay.php?fid=105)
+---- Thread: Buff checks (/showthread.php?tid=10335)

Pages: 1 2


Buff checks - Naejin - 01-04-2015

Is the comma formatting properly adding an "or" check? Every profile I have with Protect spams it, even if applied. If I use dev tool to id the buff and remove the other from skill editor, it works properly. This is, of course, not a suitable answer. Anyone help me out?

e.g.

Missing Buffs(1+2, 3) | 146,147 (with or without space between comma and second buff doesn't change anything


RE: Buff checks - sebbs - 01-04-2015

(01-04-2015, 04:48 PM)Naejin Wrote:  Is the comma formatting properly adding an "or" check? Every profile I have with Protect spams it, even if applied. If I use dev tool to id the buff and remove the other from skill editor, it works properly. This is, of course, not a suitable answer. Anyone help me out?

e.g.

Missing Buffs(1+a2, 3) | 146,147 (with or without space between comma and second buff doesn't change anything

146+147


RE: Buff checks - Naejin - 01-04-2015

So, the addition sign is an or operator? What about and checks?


RE: Buff checks - Leon - 01-04-2015

If I recall it right.

Comma = or
Addition Sign = and


RE: Buff checks - sebbs - 01-04-2015

(01-04-2015, 05:01 PM)Leon Wrote:  If I recall it right.

Comma = or
Addition Sign = and


sounds right to me


RE: Buff checks - Naejin - 01-04-2015

(11-16-2013, 08:42 PM)Cichard Wrote:  
(11-16-2013, 01:04 PM)lolm8 Wrote:  I believe you just put the debuff IDs separated by a , (comma).

thats , = or not and

This was the only reference I found. Its quite old. After playing around some more, it seems that the (+) is acting as an OR argument after all. I suspect the comma is acting as part of the id, and not as an operator?


RE: Buff checks - Cichard - 01-05-2015

123,345 would be OR
123+345 would be AND


RE: Buff checks - Naejin - 01-05-2015

Can you then explain the issue that I am having? It is only properly reapplying Protect with the + in place. The comma just puts it in a loop. To test, I used food buff with protect id that was currently applied with the + operator. With both buffs on, the bot did nothing. When either buff was clicked off (and one remained) the bot did nothing. When I remove both, bot applies protect. This is in the has buff category, obviously.

Maybe I'm missing something, but it doesn't add up. If that was an AND operator, then it would try to reapply Protect after clicking one (or the other) buff off. Thoughts?

Just using the + (as an OR) works in this case. I am just trying to get a better understanding for future use. Thanks!


RE: Buff checks - Cichard - 01-05-2015

since there is two different buff ids from the same spell id at different levels protect is a tricky skill. You can simply have 2 protects in your skill profile have one be used when character is below the level they get the upgraded version of protect and the 2nd to only be used after the level you get the upgraded version of the buff. Then use a single buff id for each version of the spell.


RE: Buff checks - sebbs - 01-05-2015

it is basicly saying

if you are missing 146 or 147 cast spell. (,)

If you are missing 146 and 147 cast spell. (+)

since your always missing a spell 146 or 147 it always casts the spell.