Skip to content

Instantly share code, notes, and snippets.

@marfillaster
Created May 23, 2012 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marfillaster/2773050 to your computer and use it in GitHub Desktop.
Save marfillaster/2773050 to your computer and use it in GitHub Desktop.
Priest supported party
#auth slave to send chat command to master
auth slavename 1

#auth master to send chat command to slave
auth mastername 1
#config_master
route_step 10
#config_priest_slave
attackAuto 0
attackAuto_party 2
attackDistance 1
attackDistanceAuto 1
attackMaxDistance 5
attackUseWeapon 0

follow 1
followTarget mastername
followDistanceMax 8
followDistanceMin 4
followLostStep 12
followBot 0

itemsTakeAuto 0
itemsTakeAuto_party 0
itemsGatherAuto 0
route_step 15

sellAuto 0

storageAuto 0

attackSkillSlot Lex Aeterna {
	sp > 50
	target_whenStatusInactive Lex Aeterna
	timeout 3
}

partySkill Blessing {
	sp > 64
	target_whenStatusInactive Blessing
	target_aggressives > 0
	timeout 1
}

partySkill Blessing {
	sp > 64
	target_whenStatusActive Cursed
	timeout 1
}

partySkill Status Recovery {
	sp > 64
	target_whenStatusActive Frozen
	timeout 1
}

partySkill Impositio Manus {
	sp > 64
	notInTown 1
	target_whenStatusInactive Impositio Manus
	target_aggressives > 0
	minCastTime 3
}

partySkill Kyrie Eleison {
	sp > 64
	target_whenStatusInactive Kyrie Eleison
	minCastTime 2
	target_aggressives > 0
	timeout 10
}

partySkill Increase AGI {
	sp > 64
	hp > 100
	target_whenStatusInactive Increase AGI
	target_whenStatusActive Kyrie Eleison
	timeout 1.6
}

partySkill Heal {
	sp > 30
	target_hp < 90%
	minCastTime 1
}

useSelf_skill Kyrie Eleison {
	sp > 64
	whenStatusInactive Kyrie Eleison
	aggressives > 0
	minCastTime 2
	timeout 10
}

useSelf_skill Blessing {
	sp > 64
	whenStatusInactive Blessing
	minCastTime 1
	whenStatusActive Kyrie Eleison
}

useSelf_skill Increase AGI {
	sp > 64
	hp > 100
	whenStatusInactive Increase AGI
	timeout 1.6
}

useSelf_skill Heal {
	sp > 30
	hp < 90%
	minCastTime 1
}
#macros_master
automacro Mag {
	player "slavename" 8 # double quotes are important
	sp < 50%
	status not Magnificat
	
	call {
		do pm slavename mag
	}
	
	timeout 5
}

automacro Gloria {
	player "slavename" 8 # double quotes are important
	hook attack_start
	status not Gloria
	
	call {
		do pm slavename gma 
	}	
	
	timeout 2
}
#macros_priest_slave
automacro Gloria {
	console /^\(From: mastername.*?gma/i
	call {
		do ss 75
	}
}

automacro WaitForMe {
	console /^I lost my master/
	call {
		do pm mastername sit
		do pm mastername where
		release FoundYah
	}
	
	timeout 5
}

automacro Rendezvous {
	console /^\(From: mastername.*?\((.*?)\).*?(\d+), (\d+)/i
	call {
	    log Move to $.lastMatch1 $.lastMatch2 $.lastMatch3
		do move $.lastMatch1 $.lastMatch2 $.lastMatch3
	}
}

automacro FoundYah {
	console /^Found my master/
	call {
		do pm mastername stand
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment