target_deltaHp initial attack

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

Message
Author
lazylionsby
Noob
Noob
Posts: 6
Joined: 08 Nov 2011, 05:57
Noob?: Yes

target_deltaHp initial attack

#1 Post by lazylionsby »

What I'm trying to achieve is to use Double Strafing as an initial attack only :

Code: Select all

attackSkillSlot Double Strafing {
        lvl 10
        dist 20
        sp >= 95%
        target_deltaHp > -1000
        maxUses 1
        whenStatusInactive Silenced,Action Delay
}
but it uses normal attack first before DS-ing :

Code: Select all

You are now attacking Monster Harpy (0)
Encounter Monster : Harpy
[ 96/ 96] You attack Monster Harpy (0) (Dmg: 669) (Delay: 180ms)
You are casting Double Strafing on Monster Harpy (0) (Delay: 0ms)
[ 96/ 93] You use Double Strafing (Lv: 10) on Monster Harpy (0) (Dmg: 2622) (Delay: 180ms)
You are now: Action Delay (Duration: 0.1s)
You are no longer: Action Delay
[ 96/ 93] You attack Monster Harpy (0) (Dmg: 633) (Delay: 180ms)
[ 96/ 93] You attack Monster Harpy (0) (Dmg: 669) (Delay: 180ms)
Does openkore assign target_deltaHp value of monster AFTER attacking it? If seems to be the case
Last edited by lazylionsby on 08 Nov 2011, 07:46, edited 1 time in total.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: target_deltaHp in attackSkillSlot block

#2 Post by EternalHarvest »

What happens without target_deltaHp, is there normal attack before first DS as well?

lazylionsby
Noob
Noob
Posts: 6
Joined: 08 Nov 2011, 05:57
Noob?: Yes

Re: target_deltaHp in attackSkillSlot block

#3 Post by lazylionsby »

Yes, DS works normally without target_deltaHp, but when my SP goes higher than 95% during combat, it executes DS in a wasteful way such as this :

Code: Select all

You are now attacking Monster Harpy (0)
Encounter Monster : Harpy
[ 95/ 94] You use Blitz Beat on Monster Harpy (0) (Dmg: 880) (Delay: 180ms)
You are now: Action Delay (Duration: 1s)
[ 95/ 94] You attack Monster Harpy (0) (Dmg: 647) (Delay: 180ms)
[ 95/ 94] You attack Monster Harpy (0) (Dmg: 635) (Delay: 180ms)
[ 95/ 94] You attack Monster Harpy (0) (Dmg: 652) (Delay: 180ms)
You are no longer: Action Delay
[ 95/ 94] You attack Monster Harpy (0) (Dmg: 669) (Delay: 180ms)
[ 95/ 96] Monster Harpy (0) attacks you (Dmg: Miss!) (Delay: 672ms)
You are casting Double Strafing on Monster Harpy (0) (Delay: 0ms)
[ 95/ 93] You use Double Strafing (Lv: 10) on Monster Harpy (0) (Dmg: 2464) (Delay: 180ms

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: target_deltaHp initial attack

#4 Post by EternalHarvest »

deltaHp condition used to always fail when deltaHp was undefined. Should be fixed in r7864, now deltaHp is initially set to 0 as was documented.

lazylionsby
Noob
Noob
Posts: 6
Joined: 08 Nov 2011, 05:57
Noob?: Yes

Re: target_deltaHp initial attack

#5 Post by lazylionsby »

It's fixed :) Thanks alot !! :)

Post Reply