Myth script snippets

bob_the_builder

Well-Known Member
Hello,

Getting Myths for Coercer and Inquisitor today and just wanted to see if anyone has made changes to add Myth. Just checking here before I re-invent the wheel and code them myself.

So, if you have done the snippets for the Coercer clicky on MT and using the Inquisitor weapon for group cures can you post. If not no big deal, I'll post mine when/after I add them if they arent here first.

Thanks in adv.

Bob
 

bob_the_builder

Well-Known Member
So maybe I need a little help with Coercer. Tried this didn't work


Code:
eq2execute /Target ${Actor[pc,ExactName,${MainTankPC}].ID}
wait 12
Me.Equipment[ExactName,Eye of the Siren]:Use
wait 12
Never targeted MT. I placed this in the Buff_Routine inside the "if !${InitialBuffsDone}"

Any help?

Bob
 

Valerian

ISX Specialist
So maybe I need a little help with Coercer. Tried this didn't work


Code:
eq2execute /Target ${Actor[pc,ExactName,${MainTankPC}].ID}
wait 12
Me.Equipment[ExactName,Eye of the Siren]:Use
wait 12
Never targeted MT. I placed this in the Buff_Routine inside the "if !${InitialBuffsDone}"

Any help?

Bob
yeah. you don't want to use the eq2 target command. if anything, you'd want to use the isxeq2 target command. try this code snippet instead:

Code:
Actor[pc,ExactName,${MainTankPC}]:DoTarget
wait 12 ${Target.ID}==${Actor[pc,ExactName,${MainTankPC}].ID}
Me.Equipment[ExactName,Eye of the Siren]:Use
wait 12
 

bob_the_builder

Well-Known Member
Thanks Val. In case anyone else needs:

In the UI file

Code:
  <Commandcheckbox Name='Mythical'>
		<Visible>1</Visible>
		<X>10</X>
		<Y>290</Y>
		<Width>30%</Width>
		<Height>20</Height>
		<Text>Use Mythical on MT</Text>
		<AutoTooltip>Used for Mythical on MT</AutoTooltip>
		<OnLeftClick>
			if ${This.Checked}
			{
				Script[EQ2Bot].Variable[Mythical]:Set[TRUE]
				LavishSettings[EQ2Bot].FindSet[Character].FindSet[${Me.SubClass}]:AddSetting["Mythical",TRUE]
Script[EQ2Bot].VariableScope.EQ2Bot:Save_Settings
			}
			else
			{
				Script[EQ2Bot].Variable[Mythical]:Set[FALSE]
				LavishSettings[EQ2Bot].FindSet[Character].FindSet[${Me.SubClass}]:AddSetting["Mythical",FALSE]
Script[EQ2Bot].VariableScope.EQ2Bot:Save_Settings
			}
		</OnLeftClick>
		<Data>${LavishSettings[EQ2Bot].FindSet[Character].FindSet[${Me.SubClass}].FindSetting[Mythical]}</Data>
	</Commandcheckbox>
In the function Class_Declaration() for the class file

Code:
declare Mythical bool script FALSE
	Mythical:Set[${CharacterSet.FindSet[${Me.SubClass}].FindSetting[Mythical,FALSE]}]
In function Buff_Routine for the class file

Code:
;;; Cast Myth on MT
	if ${Mythical} && !${Me.Maintained[Siren's Stare](exists)}
	{
		Actor[pc,ExactName,${MainTankPC}]:DoTarget
		wait 12 ${Target.ID}==${Actor[pc,ExactName,${MainTankPC}].ID}
		Me.Equipment[ExactName,Eye of the Siren]:Use
		wait 12	
	}
 

bob_the_builder

Well-Known Member
Changed Inquisitor to allow for Mythical for cures:

Code:
function CureGroupMember(int gMember)
{
	declare tmpcure int local 0

	if !${Me.Group[${gMember}].ToActor(exists)} || ${Me.Group[${gMember}].ToActor.IsDead} || !${Me.Group[${gMember}].IsAfflicted} || ${Me.Group[${gMember}].ToActor.Distance}>${Me.Ability[${SpellType[210]}].Range}
		return

	while ${Me.Group[${gMember}].IsAfflicted} && ${CureMode} && ${tmpcure:Inc}<6 && ${Me.Group[${gMember}].ToActor(exists)} && !${Me.Group[${gMember}].ToActor.IsDead}
	{
		if ${Me.Group[${gMember}].Arcane}>0 || ${Me.Group[${gMember}].Noxious}>0 || ${Me.Group[${gMember}].Elemental}>0 || ${Me.Group[${gMember}].Trauma}>0
		{
			if ${Me.Equipment[${Penitent's Absolution}](exists)} && ${Me.Equipment[${Penitent's Absolution}].IsReady}
				Me.Equipment[ExactName,Penitent's Absolution]:Use
			else
			{ 
				call CastSpellRange 210 0 0 0 ${Me.Group[${gMember}].ID}
				wait 2
			}	
		}
	}
}
 

Kuma

Well-Known Member
Thank you for posting these scripts up Bob. I have been working on the Coercer one and had a work around for the Inquisitor. With the little bit I know and what I have tried this helped me out.
 
Top Bottom