Hello,
Got stuck with a new issue.
I'm currently botting a mage in a certain map where sometimes only one lvl 10 bolt kill the monster, and other times, no, but just a few 200-300 more damage would finish the job. Until this moment, i'm just using the same skill block with maxUses set to 2, but it's a waste of cast time AND sp, and since there's no slave priest (oficial server, too risky), SP is always a issue.
I've searched around in this forum and other ones and, since being an old user, I could remind of a similar problem in the old oficial bRO support site (deactivated) with a monk launching spirituals spheres upon enchanted peach trees. The monk sometimes killed the tree with a lvl 5 throw, other times not, needing an aditional lvl 1 throw. Im sure it was solved with a macro, but theres no way of finding that tread again.
Some people told me to use the 'previousDamage' skill config, something like this:
attackSkillSlot Cold Bolt {
lvl 10
dist 8
sp >= 10%
stopWhenHit 1
inLockOnly 1
notInTown 1
monsters High Orc
maxUses 1
}
attackSkillSlot Cold Bolt {
lvl 3
dist 8
sp >= 10%
stopWhenHit 1
inLockOnly 1
notInTown 1
previousDamage <= 11077
monsters High Orc
maxUses 1
}
But it only activates the lvl 10 bolt.
Is previousDamage purely a 'phisical' config? Damage done with bare hands or melee skills?
If someone had similar issue, I would like to know how it was solved. Should I go for macros?
Thanks in advance.
attackSkill slot = 2 diferent skill lvls for same monster
Moderator: Moderators
-
- Noob
- Posts: 14
- Joined: 25 Jun 2008, 19:48
- Noob?: Yes
-
- Noob
- Posts: 14
- Joined: 25 Jun 2008, 19:48
- Noob?: Yes
Re: attackSkill slot = 2 diferent skill lvls for same monster
Still accepting ideas or sollution. Im trying to solve it through a macro.
automacro SureKill {
console ?
exclusive 1
priority 0
run-once 1
call {
log $.lastMsg
$damage = $.lastMatch11
log $damage
$target = $.lastMatch7
log $target
#14 MG_COLDBOLT Cold Bolt
#do sm $target Y
if ($damage < 11077) goto Recast
if ($damage >= 11077) goto End
:Recast
do sm 62 $target 5
goto End
:End
release SureKill
}
}
The console message when using the skill:
Você usou Cold Bolt (nv. 10) no monstro Goat (0) - Dano: 9000
The console condition wich I wanted to trigger the macro (help here!):
/Você usou Cold Bolt (nv. 10) no monstro Goat ((.*)) - Dano: (.*)/i
So, in that way, I could get the monster number and the damage through $.lastMastch.
Its impossible to use such console condition? If it is, how to solve this? Really needing ideas.
ps.: topic may be moved to macros section.
automacro SureKill {
console ?
exclusive 1
priority 0
run-once 1
call {
log $.lastMsg
$damage = $.lastMatch11
log $damage
$target = $.lastMatch7
log $target
#14 MG_COLDBOLT Cold Bolt
#do sm $target Y
if ($damage < 11077) goto Recast
if ($damage >= 11077) goto End
:Recast
do sm 62 $target 5
goto End
:End
release SureKill
}
}
The console message when using the skill:
Você usou Cold Bolt (nv. 10) no monstro Goat (0) - Dano: 9000
The console condition wich I wanted to trigger the macro (help here!):
/Você usou Cold Bolt (nv. 10) no monstro Goat ((.*)) - Dano: (.*)/i
So, in that way, I could get the monster number and the damage through $.lastMastch.
Its impossible to use such console condition? If it is, how to solve this? Really needing ideas.
ps.: topic may be moved to macros section.
-
- Human
- Posts: 22
- Joined: 07 Jan 2010, 09:47
- Noob?: No
Re: attackSkill slot = 2 diferent skill lvls for same monster
Code: Select all
attackSkillSlot Cold Bolt {
lvl 10
dist 8
sp >= 10%
stopWhenHit 1
inLockOnly 1
notInTown 1
monsters High Orc
maxUses 1
}
attackSkillSlot Cold Bolt {
lvl 3
dist 8
sp >= 10%
stopWhenHit 1
inLockOnly 1
notInTown 1
target_deltaHp < 5000?
monsters High Orc
maxUses 1
}
Forum Brasil
www.openkore-brasil.com.br
www.openkore-brasil.com.br
-
- Noob
- Posts: 14
- Joined: 25 Jun 2008, 19:48
- Noob?: Yes
Re: attackSkill slot = 2 diferent skill lvls for same monster
Is this target_deltaHp working for you? I remember it had problems in older kore version, but what now? I'm using 2.0.7
From what I understood from the manual, the corret code should be target_deltaHp < -6000
Could someone post test results too?
From what I understood from the manual, the corret code should be target_deltaHp < -6000
Could someone post test results too?