basically id like to change equipment every time my target monster is stunned
i tried putting target_whenStatusActive on the autoequip block but it just switch
immediately to the other weapon.
if it can't be done on the config.txt please tell me how to detect the target monster's
abnormal status using macro if possible. ive search every where but i haven't found
what ive been looking for. PLEASE HELP
MONSTER STATUS [Please Dont ignore]
Moderator: Moderators
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: MONSTER STATUS [Please Dont ignore]
is
attackEquip_rightHand
not empty?
because every attack ( except skill ) will switch back to attackEquip_rightHand
attackEquip_rightHand
not empty?
because every attack ( except skill ) will switch back to attackEquip_rightHand
Re: MONSTER STATUS [Please Dont ignore]
yes it's empty. but im planning to fill this up. for i want to change back to my previous weaponc4c1n6kr3m1 wrote:is
attackEquip_rightHand
not empty?
because every attack ( except skill ) will switch back to attackEquip_rightHand
if my target is no longer stunned. is that possible?.
yes sir ive already check this page.. although it seems possible to check the monster condition using the equipAuto block, but adding target_whenStatusActive dosent seem to work. and i dont really know how to use checkMonsterCondition or what it is for. so ive tried adding it on the equipAuto block and making a block it self like4epT wrote:read this:
http://openkore.com/index.php/EquipAuto
checkMonsterCondition Stun {
monsters
equip_rightHand
}
and yes, it both failed me.
also, is there a way to check for abnormal status on monster using macro?. as it would probably easier to achieve my overall goal using macro?.
thank you for your response guys.. i thought my post will just be ignored.
Re: MONSTER STATUS [Please Dont ignore]
Firstly, if you want to check it when is inactive... why are you checking when is active ?
target_whenStatusActive
http://openkore.com/index.php/Target_whenStatusActive
target_whenStatusActive
no longer = target_whenStatusInactiveyes it's empty. but im planning to fill this up. for i want to change back to my previous weapon
if my target is no longer stunned. is that possible?.
http://openkore.com/index.php/Target_whenStatusActive
http://irowiki.org/wiki/Status_EffectsExample
Equip a a +4 Shoes of Health and a Robust Clip.
equipAuto {
shoes +4 Shoes [Zombie] [1]
leftAccessory Clip [Muka] [1]
target High Orc
target_whenStatusInactive Poison, Freezing, Hallucination, Stun
}
Learn rules
Re: MONSTER STATUS [Please Dont ignore]
thankz a lot guys. it finally worked.. the problem is how the status is spelled..
as its supposed to be Stunned NOT Stun
another question guys..
can i check the value of other stat like Critical in the equipAuto block..?
like the how you do with hp, sp and weight.
i tried adding
Critical < 100
but it dosent seem to work..
oh.. and ive already tried using the eval function on macro
eval ($::char->{critical} < 100)
it works just fine.. but it would hinder my equipAuto
as its supposed to be Stunned NOT Stun
another question guys..
can i check the value of other stat like Critical in the equipAuto block..?
like the how you do with hp, sp and weight.
i tried adding
Critical < 100
but it dosent seem to work..
oh.. and ive already tried using the eval function on macro
eval ($::char->{critical} < 100)
it works just fine.. but it would hinder my equipAuto
Re: MONSTER STATUS [Please Dont ignore]
nops.lizette2 wrote:can i check the value of other stat like Critical in the equipAuto block..?
#PS : Yes. openkore is source code. Just read about perl.
Learn rules
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: MONSTER STATUS [Please Dont ignore]
you can use eval by editing sub checkSelfCondition at misc.pm, learn how it work than add this line
Code: Select all
if ($config{$prefix . "_eval"}) {
return 0 unless eval $config{$prefix . "_eval"};
}