tele when your char gets hit...
Posted: 28 Jun 2015, 22:28
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...
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...