Support Priest - Not using some skills while monsters attack

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
warriorroah
Noob
Noob
Posts: 3
Joined: 17 Sep 2013, 21:24
Noob?: Yes

Support Priest - Not using some skills while monsters attack

#1 Post by warriorroah »

Hello everyone, first of all, forgive my bad english and the fact i made this post in the wrong section (This one is the correct one i suppose)

What i'm trying to do is to configure the self skills and party skill of a support archbishop so it doesn't use them when itself or the party is under attack. For example, If the party is under attack from one or two monsters, it will not try to use angelus, assumptio or magnificat.
It did work before but suddenly it doesnt work anymore.
Right now i have it configured like this:

Code: Select all

##########################################
#############Self Skills##################
##########################################

useSelf_skill Heal {
	lvl 10
	hp < 80%
	sp > 10%
}
 
useSelf_skill Increase AGI {
	lvl 10
	sp > 10%
	whenStatusInactive Increase AGI
}
 
useSelf_skill Blessing {
	lvl 10
	sp > 10%
	whenStatusInactive Blessing
}
 
useSelf_skill Angelus {
	lvl 10
	sp > 10%
	whenStatusInactive Angelus
	aggressives < 1
}

useSelf_skill Assumptio {
	lvl 10
	sp > 20%
	whenStatusInactive Assumptio
	aggressives < 1
}

useSelf_skill Magnificat {
	lvl 5
	sp > 45
	whenStatusInactive Magnificat
	aggressives < 1
}

##########################################
############Party Skills##################
##########################################

partySkill Heal {
	lvl 10
	target_hp < 80%
	sp > 10 %
}

partySkill Blessing {
	lvl 10
	sp > 64
	target_whenStatusInactive Blessing
}

partySkill Increase AGI {
	lvl 10
	sp > 45
	target_whenStatusInactive Increase AGI
}

partySkill Resurrection {
	lvl 4
	target_dead 1
}

partySkill Assumptio {
	lvl 10
	sp > 20 %
	target_whenStatusInactive Assumptio
	target_Aggressives < 1
	target_timeout 98
}
I tried using the following:
stopWhenHit 1 <-It will stop trying to use the skill while being hit, but after that it never uses it again, i don't know why.
aggressives < 1 <- my problem is that it counts aggressives attacking the bot itself and not the party so it uses the self skills aniway causing the master to die
target_Agressives < 1 <-i didn't see it working but maybe it just me, the bot tries to use the party skill aniway ignoring the amount of mob on the target
partyAgressives < 1 <- is listed in the self condition category of the wiki, but if i use it the skill doesnt work.(i'm doing something wrong probably)



Thanks for the help

xlr82xs
Developers
Developers
Posts: 51
Joined: 04 Sep 2013, 19:54
Noob?: No

Re: Support Priest - Not using some skills while monsters attack

#2 Post by xlr82xs »

target_aggressives <range>
Only use the block to cast a skill when the amount of monsters who attempted to hit the corresponding actor matches the specified range.

Noone has bothered to change it to targetAggressives yet, and it is case sensitive.

Also, you could probably just use the "fs slave" config from http://forums.openkore.com/viewtopic.php?f=55&t=139596

Locked