Basic Combat Script
Posted: Sat Aug 05, 2006 6:16 am
This is a work in progress.
Currently only set up for a necro and a shammy.
Looking for feedback and possible additions to it.
I would like to be able to create camp point for them to return to once mob is dead, and have them go to that point, or within 15 units of it.
At the time of posting it is untested.
Updated again, will test when I get time later today. It should work now, but I'm not fully sure of it.
Currently only set up for a necro and a shammy.
Looking for feedback and possible additions to it.
I would like to be able to create camp point for them to return to once mob is dead, and have them go to that point, or within 15 units of it.
At the time of posting it is untested.
Code: Select all
;basic combat script
#include spell_routines.inc
variable string GrpLdr=${GroupMember.Leader}
variable string CurMobFull
function main()
{
AddTrigger woreoff "Your @p1@ spell has worn off of @p2@"
echo Basic Combat Script Running
;if ${GroupMember.Leader.Name.Equal[${Me.Name}]}
relay all target ${Target.ID}
CurMobFull:Set[${Target.ID}]
echo ${CurMobFull}
wait 3
if ${Me.Pet(exists)}
EQExecute /pet attack
call dots
EQExecute /attack on
stick 15
while "${Target.Name.Equal[${CurMobFull}]}"
{
if ${QueuedCommands}
ExecuteQueued
wait 5
}
}
function dots()
{
if ${Me.Class.ShortName.Equal[SHM]}
{
;slow
call Cast "Drowsey" 2
wait 2
;dot
call Cast "Sicken" 2
}
if ${Me.Class.ShortName.Equal[NEC]}
{
;Snare
call Cast "Clinging Darkness" 2
wait 2
;dot
call Cast "Poison Bolt" 2
}
}
function woreoff(string Line,... params)
{
if ${Me.PctMana}>40 && ${Target}==${CurMobFull} && ${Target.PctHPs}>30
call Cast "@p1@"
}
function atexit()
{
echo Basic Combat Script Closed
}