r7501 | pRO | party skill and whenstatusinactive

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
Arukas
Human
Human
Posts: 24
Joined: 01 Sep 2008, 02:11
Noob?: Yes

r7501 | pRO | party skill and whenstatusinactive

#1 Post by Arukas »

party skill potion pitcher on homunculus is not properly working

Code: Select all

partySkill Potion Pitcher {
    lvl 5
    homunculus 1
    whenStatusInactive Petrifying, Petrified, Frozen, Stunned, Sleeping
    homunculus_sp < 10%
    inInventory Blue Potion
}

partySkill Potion Pitcher {
    lvl 4
    homunculus 1
    whenStatusInactive Petrifying, Petrified, Frozen, Stunned, Sleeping
    homunculus_hp < 99%
    inInventory White Potion
}
doesn't do pitcher on homunculus

as well as the status inactive when Petrifying, Petrified, Frozen, Stunned, Sleeping not working properly...

Code: Select all

useSelf_item White Slim Potion {
    hp <= 95%
    inInventory White Slim Potion
    whenStatusInactive Petrified, Frozen, Stunned, Sleeping
}
when i got those status effects the bot shouldn't do anything, but instead it keeps on doing cannot use item.

Image

as you can see frozen it there on my status by in the code

Code: Select all

whenStatusInactive Petrified, Frozen, Stunned, Sleeping
i placed when status inactive.... it shouldn't been you failed to use item... the bot should ignore using the item because the character is frozen.

TruFlip1011
Moderators
Moderators
Posts: 39
Joined: 16 Sep 2010, 21:56
Noob?: No
Location: West Palm Beach Fl
Contact:

Re: r7501 | pRO | party skill and whenstatusinactive

#2 Post by TruFlip1011 »

whenStatusInactive Petrifying, Petrified, Frozen, Stunned, Sleeping
whenStatusInactive??
why use a potion if you're not Petrified, Frozen, Stunned, Sleeping??

try:

Code: Select all

whenStatusActive Petrifying, Petrified, Frozen, Stunned, Sleeping
TruFlip
"Live life to the fullest. Regret none."

Image

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: r7501 | pRO | party skill and whenstatusinactive

#3 Post by Technology »

TruFlip1011 wrote:
whenStatusInactive Petrifying, Petrified, Frozen, Stunned, Sleeping
whenStatusInactive??
why use a potion if you're not Petrified, Frozen, Stunned, Sleeping??

try:

Code: Select all

whenStatusActive Petrifying, Petrified, Frozen, Stunned, Sleeping
Thats not what he means...
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

TruFlip1011
Moderators
Moderators
Posts: 39
Joined: 16 Sep 2010, 21:56
Noob?: No
Location: West Palm Beach Fl
Contact:

Re: r7501 | pRO | party skill and whenstatusinactive

#4 Post by TruFlip1011 »

what did he mean?
TruFlip
"Live life to the fullest. Regret none."

Image

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: r7501 | pRO | party skill and whenstatusinactive

#5 Post by Technology »

TruFlip1011 wrote:what did he mean?
He doesn't want the bot to use the item when he is in such status.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

TruFlip1011
Moderators
Moderators
Posts: 39
Joined: 16 Sep 2010, 21:56
Noob?: No
Location: West Palm Beach Fl
Contact:

Re: r7501 | pRO | party skill and whenstatusinactive

#6 Post by TruFlip1011 »

Then why make a config for it/?
openkore doesnt automatically use potion anyways..?
TruFlip
"Live life to the fullest. Regret none."

Image

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: r7501 | pRO | party skill and whenstatusinactive

#7 Post by Technology »

As for the homun specific part of the problem, this doesn't exist:

Code: Select all

homunculus 1
it should be:

Code: Select all

target @homunculus
Its not a bug, its your fault.


Then for the second part of the report.
TruFlip1011 wrote:Then why make a config for it/?
openkore doesnt automatically use potion anyways..?
Kore will attempt to use the item even when its in a status where it can't.
Kore doesn't know when it can't use an item, that is why he configured the block like this.

Bottomline is, his config makes perfect sense.
Please don't ask any more questions if you don't intend to solve the bug...
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

Locked