Moderator: MacroQuest Developers
try this. start the macro as you normally do. before your start to do any kind of pulling typeI gather the group, start the script with ma as target, shammy will summon pet and buff but wont get into the combat loop or show exp whenever mob is killed. I start manually slow malo dd etc on the shammy with script running and all of a sudden it starts. I cant figure out what starts it, Ive tried loads of ways so I know how to do next time but its impossible hehe. BUT when its running, it runs and runs :)
Code: Select all
/assist on Code: Select all
/declare SpellGrpBuff[3] string outer
/varset SpellGrpBuff[1] "Blessing of Replenishment"
/varset SpellGrpBuff[2] "Focus of the Seventh"
/varset SpellGrpBuff[3] "Talisman of Alacrity"
| /varset SpellGrpBuff[4] "Talisman of the Wrulan"
| /varset SpellGrpBuff[5] "Talisman of the Boar"Code: Select all
/if (${Target.PctHPs}<=${CombatAt} && ${Target.ID}==${TargetArray[4]}) Code: Select all
/echo ${Target.PctHPs}Code: Select all
/echo ${Target.ID}Code: Select all
/echo ${TargetArray[4]}Code: Select all
${Target.PctHPs}<=${CombatAt} && ${Target.ID}==${TargetArray[4]}Sub GetTarget
/assist ${M_Assist}
/delay 3
/if (${Target.Type.Equal[NPC]}) /if (${Target.Distance}<=${AssistAt} && ${Target.ID}!=${TargetArray[4]} && ${Target.PctHPs}<=${CombatAt}) {
/echo I got a new target
/varset TargetArray[1] ${Target.CleanName}
(color text dont work in code so I made a quote.)Sub Slow
/if (${Target.PctHPs}<=${CombatAt} && ${Target.ID}==${TargetArray[4]}) {
/echo Gonna Slow the mob
/if (${Me.CurrentMana}<${Spell[${SpellSlow}].Mana}) {
/echo Shid ! I don't have mana to Malo %T
} else {
:Slow_Loop
Code: Select all
/if (${Group[${i}].Class.Name.Equal[Cleric]} || ${Group[${i}].Class.Name.Equal[Druid]} || ${Group[${i}].Class.Name.Equal[Wizard]} || ${Group[${i}].Class.Name.Equal[Magician]} || ${Group[${i}].Class.Name.Equal[Necromancer]} || ${Group[${i}].Class.Name.Equal[Enchanter]}) /if (${Group[${i}].PctHPs}<=${CasterHeals}) {