Code: Select all
/echo ${FindItem[Time's Antithesis].Timer}Moderator: MacroQuest Developers
Code: Select all
/echo ${FindItem[Time's Antithesis].Timer}
Code: Select all
/echo ${FindItem[Serpent of Vindication].Timer}
That is true, but its no "big" deal, because this item have NO recast timePennington01 wrote:This returns a 25 at all times before durring and after cast using the latest zip (MQ2-20051215b.zip). Thanks for the heads up this has been driving me crazy the last few weeks. The last zip that my slowstick worked was the 11-18 zip if that is any help.Code: Select all
/echo ${FindItem[Serpent of Vindication].Timer}
Code: Select all
/if ( ${FindItem[Serpent of Vindication].ID} ) {
/call Cast "Serpent of Vindication" item 15s
} else {
/call Cast "slow spell you want to use" gem1 15s
}
rswiders wrote:Try checking for...
when it hits 0 totalseconds you can recast... but ill look at adding a TimerReady which will shortcircuit this type of check.Code: Select all
/if ( !${FindItem[Hammer of Delusions].Timer.TotalSeconds} && ${FindItem[Hammer of Delusions].ID} ) {

Code: Select all
Sub DebuffCommon(int a, int i)
.
.
.
/if (!${RDPause} && !${${DebuffID[${i}]}Immune.Find[|${Spawn[${MobList[${a}]}].CleanName}|]} && !${Me.Casting.ID} && !${WaitTimer} && (${Spawn[${MobList[${a}]}].Distance}<${Spell[${DebuffID[${i}]}].Range} || !${Spell[${DebuffID[${i}]}].Range}) && ${Spawn[${MobList[${a}]}].LineOfSight} && (${WhichNuke}==${DebuffSpellSet${i}} || !${DebuffSpellSet${i}}) && ((${Me.PctMana}>${DebuffMana${i}} && !${Select[${DebuffGem${i}},item,alt]} && (!${SitTimer} || ${Me.Gem[${DebuffSpell${i}}]} || ${Me.Mount.ID})) || ${Me.AltAbilityReady[${DebuffSpell${i}}]} || (${FindItem[${DebuffSpell${i}}].ID} && !${FindItem[${DebuffSpell${i}}].Timer})) && ((${DoDebuffs} && !${SpellType${i}}) || (${DoDoTs} && ${SpellType${i}}==1) || (${DoManaTaps} && ${SpellType${i}}==3 && (${Spawn[${MobList[${a}]}].Class.CanCast} || ${Zone.ID}>=300))) && ${DebuffArray[${a},${i}]}<=${Macro.RunTime} && ${MobList[${a}]} && ${Spawn[${MobList[${a}]}].Standing} && (!${Me.Song[Gift of Mana].ID} || !${GoMFlag}) && (${NearestSpawn[npc named].ID}==${MobList[${a}]} || !${DebuffNamedOnly${i}})) /call DebuffStuff ${a} ${i}
.
/returnCode: Select all
(${FindItem[${DebuffSpell${i}}].ID} && !${FindItem[${DebuffSpell${i}}].Timer})Code: Select all
(${FindItem[${DebuffSpell${i}}].ID})
Code: Select all
case Timer:
if(pItem->Item->TimerID)
{
Dest.DWord=(GetItemTimer(pItem)+5)/6;
Dest.Type=pTicksType;
return true;
}
[color=red] if (pItem->Item->Clicky.SpellID!=-1)
{
Dest.DWord=0; // insta-clicky
Dest.Type=pTicksType;
return true;
}[/color]
Code: Select all
/echo ${FindItem[Serpent of Vindication].Timer}