I'm trying to do some manual pulling with my toon.
I'd like to pull with my toon (tap a monster), run back, then have group attack monster and have my toon join in. The only thing I personally wanna do is run and tap.
This is my attempt
Code:
[Custom]
CustomCombatTotal=6
CustomRestTotal=2
CustomCombat1=/if (${AssistAt} == 100 && ${Me.GroupAssistTarget.ID} != 0) /melee reset
CustomCombat2=/if (${AssistAt} == 100 && ${Me.GroupAssistTarget.ID} != 0) /varset AssistPC MAIN_ASSIST_NAME
CustomCombat4=/if (${AssistAt} == 100 && ${Me.GroupAssistTarget.ID} != 0) /varset AssistAt ${Me.GroupAssistTarget.PctHPs} - 3
CustomCombat3=/if (${AssistAt} == 100 && ${Me.GroupAssistTarget.ID} != 0) /varset AttackRange 0
CustomCombat5=/if (${AttackRange} == 0 && ${Spawn[MAIN_ASSIST_NAME].Distance3D} <= 50) /varset AttackRange 150
CustomCombat6=/echo ${AssistAt} ${AttackRange} ${Me.GroupAssistTarget}
CustomRest1=/if (${AssistAt} != 100) /varset AssistPC ${Me.CleanName}
CustomRest2=/if (${AssistAt} != 100) /varset AssistAt 100
In order to get this to work, I commented out line's 125 and 126
Code:
|/if (${Target.ID} && ${Target.Distance}>100 && ${SpawnCount[group ${AssistPC}]} && ${XTargetRadiusList}||!${Me.XTarget}||!${TarID} && ${Me.XTarget}<${AddCount}) /call Event_ClearTargetData
|/if (${Target.ID} && ${Target.Distance}>100 && !${SpawnCount[group ${AssistPC}]} && ${XTargetRadiusList}||!${Me.XTarget}||!${TarID} && ${Me.XTarget}<${AddCount}) /squelch /tar clear
It would be better to just hook into the Pulling variable. I'll see if the variable is generated when the Pulling section is included, but disabled.
Currently, I have 2 issues
Issue 1: it spams while in melee until the monster gets tapped
Issue 2: This doesn't work ${Me.GroupAssistTarget.PctHPs} - 3. The -3 is dropped.
If anyone could provide some advice, I'd much appreciate it ^)^.
I want to pull manually because I've had very bad experiences with auto pulling, heh.
edit
Ok, I've done some updates
At Sub Event_ClearTargetData (line 1570), change the following line
Code:
/if (${ClearTargetDataAlias.Equal[NULL]}||!${ClearTargetDataAlias.Length}) /return
to
Code:
/if (${Me.CleanName.Equal[${GroupPuller}]}||${ClearTargetDataAlias.Equal[NULL]}||!${ClearTargetDataAlias.Length}) /return
do not comment out the 2 lines I had above, just add that line instead
next, for custom, you want this
Code:
[Custom]
CustomCombatTotal=13
CustomRestTotal=5
CustomCombat1=/if (!${Pulled} && ((${Me.XTarget}||${Me.CombatState.Equal[COMBAT]}) && ${DoPull})) /varset Pulled TRUE
CustomCombat2=/if (${DoPull} && ${Pulled}) /varset AssistAt 0
CustomCombat3=/if (${DoPull} && ${Pulled}) /varset AssistPC ${GroupMainAssist}
CustomCombat4=/if (${DoPull} && ${Pulled}) /varset AttackRange 0
CustomCombat5=/if (${DoPull} && ${Pulled}) /target myself
CustomCombat6=/if (${DoPull} && ${Pulled}) /varset CombatTwist 5
CustomCombat7=/if (${DoPull} && ${Pulled}) /twist 5
CustomCombat8=/if (${DoPull} && ${Pulled}) /varset DoPull FALSE
CustomCombat9=/if (${AttackRange} == 0 && ${Spawn[${GroupMainAssist}].Standing}) /varset Pulled FALSE
CustomCombat10=/if (${AttackRange} == 0 && !${Pulled}) /varset AssistAt 97
CustomCombat11=/if (${AttackRange} == 0 && !${Pulled}) /varset CombatTwist 1 2 4 5 8
CustomCombat12=/if (${AttackRange} == 0 && !${Pulled}) /twist 1 2 4 5 8
CustomCombat13=/if (${AttackRange} == 0 && !${Pulled}) /varset AttackRange 150
CustomRest1=/if (!${Defined[DoPull]}) /declare Pulled bool outer FALSE
CustomRest2=/if (!${Defined[DoPull]}) /declare DoPull bool outer FALSE
CustomRest3=/if (!${DoPull}) /varset AssistAt 100
CustomRest4=/if (!${DoPull}) /varset AssistPC ${Me.CleanName}
CustomRest5=/if (!${DoPull}) /varset DoPull TRUE
This is set up for a bard. I switch between combat songs and pulling songs.
You also want this under assist
The only problem with this is that when you click a mob, attack will turn on. If you use AssistType 3, it'll stay on the target (won't turn off attack..). I'm still tinkering with this to try and make it so that it'll only attack when you want to attack, rather than whenever you click on a target.
This does require that you use roles and that you have your group members properly marked. It also uses xtarget.
Also, your assist needs to be sitting when out of combat
Code:
[Custom]
CustomCombatTotal=0
CustomRestTotal=1
CustomCombat1=
CustomRest1=/if (${Me.Standing} && !${MoveTo.Moving} && !${Stick.Active}) /sit
Tank has same custom on it.
Here is caster if you're curious
Code:
[Custom]
CustomCombatTotal=1
CustomRestTotal=1
CustomCombat1=/if (${Me.Standing} && !${Me.Casting} && !${Melee.Engage}) /sit
CustomRest1=/if (${Me.Standing} && !${Me.Casting} && !${MoveTo.Moving} && !${Stick.Active}) /sit
I do this instead because the Mana section doesn't work so well. Sometimes they sit, sometimes they don't, lol.
It'd be nice to add a manual pulling option to the Pulling section, heh.