For everything NOT server specific support. Do NOT ask for connectivity help here!.
Moderator: Moderators
-
class1c
- Human

- Posts: 34
- Joined: 30 Jun 2012, 03:49
- Noob?: Yes
#1
Post
by class1c »
I'm wondering how I can switch to Phen accessory when I use Spirit Absorb on a monster to get SP back, then switch back to a Glove after.
I tried this but it didn't work:
Code: Select all
equipAuto Clip [Phen] [1] {
def Glove
monsters
skills Spiritual Sphere Absorption
weight 0
whileSitting 0
onTeleport 0
hp
sp
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 0
disabled 0
inInventory
}
-
Daedalus
- Plain Yogurt

- Posts: 73
- Joined: 09 Nov 2010, 16:20
- Noob?: No
#2
Post
by Daedalus »
Easy to do via macro.
When "You are casting" = switch to phen
When "You use" = switch to glove
You can make it more accurate via regexps.
-
ever_boy_
- Developers

- Posts: 308
- Joined: 06 Jul 2012, 13:44
- Noob?: No
#3
Post
by ever_boy_ »
You can do this using a macro, but I think it's a waste. You should keep your macros file as thin as possible.
Besides, you are doing it wrong:
http://www.openkore.com/index.php/EquipAuto
Try this:
Code: Select all
equipAuto {
leftAccessory Clip [Card Phen] [1]
rightAccessory (could also put the clip here, your choice)
sp < X (define minimu sp here)
onAction skill_use
inLockOnly 1
}
Probably you should choose either 'sp' or 'onAction', not both.