I use a Mage as a slave...
attackSkillSlot Fire Bolt {
lvl 5
sp > 30
notInTown 1
stopWhenHit 1
maxUses 1
monsters Wolf, Horn, Yoyo, Bigfoot, Caramel, Dustiness, Argos, Flora
target_hp < 75% ===> When I use this condition it stops attacking
}
Apparently openkore is not recognizing the Hp of the monsters, this '' condition '' is bugged in Re: Start?
RE: Start RO: attackSkillSlot==> target_hp doesn't work
Moderators: Moderators, Documentation Writers
-
- Plain Yogurt
- Posts: 61
- Joined: 31 Jan 2017, 10:18
- Noob?: Yes
- Location: Mars
- Contact:
Re: RE: Start RO: attackSkillSlot==> target_hp doesn't work
it doesn't have any target set. write
Code: Select all
attackSkillSlot Fire Bolt {
lvl 5
sp > 30
notInTown 1
stopWhenHit 1
maxUses 1
monsters Wolf, Horn, Yoyo, Bigfoot, Caramel, Dustiness, Argos, Flora
target (name of target)
target_hp < 75% ===> When I use this condition it stops attacking
}
Re: RE: Start RO: attackSkillSlot==> target_hp doesn't work
target(name of target) only works with "partySkill", not with "attackSkillSlot"troypogs777 wrote:it doesn't have any target set. writeCode: Select all
attackSkillSlot Fire Bolt { lvl 5 sp > 30 notInTown 1 stopWhenHit 1 maxUses 1 monsters Wolf, Horn, Yoyo, Bigfoot, Caramel, Dustiness, Argos, Flora target (name of target) target_hp < 75% ===> When I use this condition it stops attacking }
I already used openkore in iRO a long time ago and it worked correctly target_hp on monsters but here in Re: Start I can not figure out what I'm doing wrong.
Re: RE: Start RO: attackSkillSlot==> target_hp doesn't work
target_hp/sp works for actors that actually have their hp/sp bars displayed. E.g. players. So this condition would work well with partySkill.
Monsters normally don't have an hp/sp bar.
Use target_deltaHp instead so openkore can intelligently guess the monster's hp.
attackSkillSlot's previousDamage condition might also work for your purpose.
Monsters normally don't have an hp/sp bar.
Use target_deltaHp instead so openkore can intelligently guess the monster's hp.
attackSkillSlot's previousDamage condition might also work for your purpose.
Whatever...
Re: RE: Start RO: attackSkillSlot==> target_hp doesn't work
target_deltaHp is not working either.(I had tried it before)hakore wrote:target_hp/sp works for actors that actually have their hp/sp bars displayed. E.g. players. So this condition would work well with partySkill.
Monsters normally don't have an hp/sp bar.
Use target_deltaHp instead so openkore can intelligently guess the monster's hp.
attackSkillSlot's previousDamage condition might also work for your purpose.
However previousDamage is working perfectly
thanks!