A forum for reporting bugs NOT related to custom plugins.
Moderator: MacroQuest Developers
-
PeteSampras
- a snow griffon

- Posts: 322
- Joined: Sat Dec 15, 2007 8:56 pm
Post
by PeteSampras » Mon Mar 24, 2014 11:08 pm
.
Last edited by
PeteSampras on Thu Mar 27, 2014 12:21 am, edited 1 time in total.
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Tue Mar 25, 2014 1:58 am
PeteSampras wrote:The songs can land on the long duration, but the long duration cannot land on the song. Thus why i added this line of code:
Code: Select all
if (!(tmpSpell->Level[7]==255?0:tmpSpell->Level[7]) && (!(pSpell->Attrib[1]==58)||!(pSpell->DurationWindow==1))) {
However, AAs cant always land on a disc if there is stacking issues or if the AA itself is counted as a disc and uses the combatability window like for ber/war and ranger trueshot line.
So in words, what does that line actually check? Why do you only check attrib[1]? Aren't there other illusions in slots2-12?
-
PeteSampras
- a snow griffon

- Posts: 322
- Joined: Sat Dec 15, 2007 8:56 pm
Post
by PeteSampras » Tue Mar 25, 2014 7:51 am
.
Last edited by
PeteSampras on Thu Mar 27, 2014 12:22 am, edited 1 time in total.
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Tue Mar 25, 2014 11:49 am
Btw, there are illusions using slots other than 1.
-
warlock45
- a grimling bloodguard

- Posts: 881
- Joined: Sat Oct 06, 2007 8:32 pm
Post
by warlock45 » Tue Mar 25, 2014 12:53 pm
I think that's why he had the qualifier of "illusion that had a conflict"
Its always the kids that sufer when the grownups fight! =p
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Tue Mar 25, 2014 5:28 pm
so your saying...
!(tmpSpell->Level[7]==255?0:tmpSpell->Level[7]) checks if its a bard song (this will not work for spells that are multi-classed that include bards)
!(pSpell->Attrib[1]==58) checks if it is an illusion
!(pSpell->DurationWindow==1) checks if it is ???
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Tue Mar 25, 2014 5:30 pm
warlock45 wrote:I think that's why he had the qualifier of "illusion that had a conflict"
Its always the kids that sufer when the grownups fight! =p
And I was pointing out that "yet to see" is not a good way to determine how to code something. Check to make sure all the data fits your test (when possible) or it will fail and you will have to make changes over and over again.
-
PeteSampras
- a snow griffon

- Posts: 322
- Joined: Sat Dec 15, 2007 8:56 pm
Post
by PeteSampras » Tue Mar 25, 2014 6:10 pm
.
Last edited by
PeteSampras on Thu Mar 27, 2014 12:22 am, edited 1 time in total.
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Tue Mar 25, 2014 6:21 pm
rswiders wrote:so your saying...
!(tmpSpell->Level[7]==255?0:tmpSpell->Level[7]) checks if its a bard song (this will not work for spells that are multi-classed that include bards)
!(pSpell->Attrib[1]==58) checks if it is an illusion
!(pSpell->DurationWindow==1) checks if it is ???
Pete, your still writing obscure code and not answering what each part is trying to do. Since I know parts are wrong, I'm just trying to understand what each part of the check is responsible for so that it can be included properly.
-
PeteSampras
- a snow griffon

- Posts: 322
- Joined: Sat Dec 15, 2007 8:56 pm
Post
by PeteSampras » Tue Mar 25, 2014 6:32 pm
.
Last edited by
PeteSampras on Thu Mar 27, 2014 12:22 am, edited 1 time in total.
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Tue Mar 25, 2014 6:35 pm
There aren't bard songs that are multiclass. There are aa/disciplines shared by classes and will show the minimum level for a bard to use. Check out Fearless Discipline (#4587).
And thanks for answering the questions. I appreciate it.
-
PeteSampras
- a snow griffon

- Posts: 322
- Joined: Sat Dec 15, 2007 8:56 pm
Post
by PeteSampras » Tue Mar 25, 2014 7:14 pm
.
Last edited by
PeteSampras on Thu Mar 27, 2014 12:22 am, edited 1 time in total.
-
demonstar55
- a snow griffon

- Posts: 314
- Joined: Fri Nov 28, 2008 6:31 am
Post
by demonstar55 » Tue Mar 25, 2014 7:39 pm
Discs are buffs that have their own special window.
-
mystikule
- a snow griffon

- Posts: 353
- Joined: Sat Jul 17, 2004 9:23 pm
Post
by mystikule » Tue Dec 01, 2015 7:08 pm
Sorry for dragging up an old post...
I'm slowly in the process of rewriting my old macros and am trying to figure out the best method for performing a heal over time check now that they appear in the song window.
${Spell[Holy Elixir].Stacks} always returns true, but ${Spell[Holy Elixir].StacksWith[Supernal Elixir]} returns false. Should this be the case or should I be doing this an entirely different way?
Thank you in advance.
....off topic a bit, but I just realized that with hots moved to the song window, is there any way to even know if someone else has a hot on them? This seems detrimental to hot healing....
[quote="fearless"]A macro is not psychic.[/quote]