Teleportauto_deadly but for pots not fly wings?

International

Moderator: Moderators

crashdmj
Noob
Noob
Posts: 11
Joined: 01 Aug 2013, 16:14
Noob?: Yes

Teleportauto_deadly but for pots not fly wings?

#1 Post by crashdmj »

Greetings,
Is there some way to make it so the next deadly hit from an agressor (you die) uses a potion of your choice instead of teleporting with a fly wing? The closest variable i found was the teleportAuto_deadly.

Edit: What I am trying to do:
So I am in a party with my FS healer bot. I want my character to check the SP of the bot. If the SP is lower than some amount, I want my character (not the bot) to use a pot if his HP is low (meaning the healer bot wouldn't be able to cast heal on my character). How is this possible? I started along the lines of using partyskill and target but I don't believe this would work. Thoughts?

Edit2: can't test it out presently but something along these lines for my main character for healing spell, still unsure how to do it with items:

Code: Select all

UseSelfSkill_SmartHeal 1

PartySkill Heal {
  lvl 10
  Target <Healer Bot Name>
  Target_sp < 10%
   IsSelfSkill 1
}