so ive been researching on how to make a command activate when the char gets hit once i am trying to use this code:
doCommand c @jump {
hp - 1%
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
amuletType
aggressives
monsters
notMonsters
monstersCount
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout
disabled 0
inInventory
inCart
inMap ordeal_1-2
manualAI 0
}
so here is where my problem comes in... there is no way to set an "on hit" condition here... anyone who can point me in the right direction with this would be immensely helpful...
tele when your char gets hit...
Moderator: Moderators
Re: tele when your char gets hit...
try to set this, when it get hit more than 10 damage it will fly
teleportAuto_maxDmg 10
teleportAuto_maxDmg 10
Re: tele when your char gets hit...
i think it will only work when you have flywing or teleportlvl1 im trying to use @jump command since its a private server... figured it will make it more natural on scripts if i use it instead of flywing/tele but im gonna try thanks...holo01 wrote:try to set this, when it get hit more than 10 damage it will fly
teleportAuto_maxDmg 10
Re: tele when your char gets hit...
Inappropriated condition :
hp (conditions) (value)
Read the macro plugin.
You can do something like :
http://www.openkore.com/index.php/Telep ... xDmgInLock
set this for 1. Then when some monster hits you with 1 dmg, you'll tele. :O
syntax :hp - 1%
hp (conditions) (value)
Read the macro plugin.
You can do something like :
http://www.openkore.com/index.php/Telep ... xDmgInLock
set this for 1. Then when some monster hits you with 1 dmg, you'll tele. :O
Learn rules