use potion at cetain hp

International

Moderator: Moderators

eddyhakim
Noob
Noob
Posts: 1
Joined: 07 Oct 2010, 03:31
Noob?: Yes

use potion at cetain hp

#1 Post by eddyhakim »

hey guys,need your help
could anyone correct this?

Code: Select all

useSelf_item {
    hp < 30%
    sp
    homunculus_hp
    homunculus_sp
    homunculus_dead
    onAction
    whenStatusActive
    whenStatusInactive
    whenFollowing
    spirit
    aggressives
    monsters
    notMonsters
    stopWhenHit 0
    inLockOnly 0
    notWhileSitting 0
    notInTown 0
    timeout
    disabled 0
    inInventory
    manualAI 0


    useSelf_item Novice Potion {
    hp < 30%
Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: use potion at cetain hp

#2 Post by Mushroom »

When you open { you have to close it }.
useSelf_item Novice Potion {
hp < 30%
}
Quit.