Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Buffs3=Skin of the Reptile|MA
Buffs4=Skin of the Reptile|Pet
Buffs5=Mammoth's Strength|Melee
Buffs6=Mammoth's Strength|Pet
Sub WriteBuffsPet
/if (!${Select[${Me.Class.ShortName},SHM,SHD,ENC,BST,MAG,NEC,DRU]} || !${Me.Pet.ID} || ${WriteBuffsPetTimer} || !${Redguides}) /return
/if (${DebugBuffs}) /echo DEBUGBUFFS WriteBuffPet Enter
| If its a group spell cast on mercs OR PETS- owner
/if ((${MainAssistType.Equal[Mercenary]} || ${MainAssistType.Equal[Pet]}) && ${Spell[${Buffs[${i}]}].TargetType.Find[group]}) {
/if (${MainAssistType.Equal[Pet]}) {
/varset MATargetID ${Spawn[${MainAssistType} ${MainAssist}].Master.ID}
} else {
/varset MATargetID ${Spawn[${MainAssistType} ${MainAssist}].Owner.ID}
}
} else {
/varset MATargetID ${Spawn[${MainAssistType} ${MainAssist}].ID}
}
/if (${DebugBuffs}) /echo DEBUGBUFFS CheckBuffs: MA Buff /call CastWhat "${Buffs[${i}]}" ${MATargetID} Buffs
| Check if toon is within spell range and cast buff
/if (${Spawn[${IniIDList.Arg[${k},|]}].Distance}<=${SpellRange} && !${IniBuffTimer${PBTimerID}}) {
| Group buff cast on owner in case of Pet/Mercenary
/if ((${Spawn[${IniIDList.Arg[${k},|]}].Type.Equal[Pet]} || ${Spawn[${IniIDList.Arg[${k},|]}].Type.Equal[Mercenary]}) && ${Spell[${Buffs[${i}]}].TargetType.Find[group]}) {
/if (${Spawn[${IniIDList.Arg[${k},|]}].Type.Equal[Pet]}) {
/call CastWhat "${Buffs[${i}]}" ${Spawn[${IniIDList.Arg[${k},|]}].Master.ID} Buffs
} else {
/call CastWhat "${Buffs[${i}]}" ${Spawn[${IniIDList.Arg[${k},|]}].Owner.ID} Buffs
}
} else {
/call CastWhat "${Buffs[${i}]}" ${IniIDList.Arg[${k},|]} Buffs
}
/if (${DebugBuffs}) /echo DEBUGBUFFS CheckBuffs IniBuffCheck 7: /call CastWhat "${Buffs[${i}]}" ${IniIDList.Arg[${k},|]} Buffs
