Macro that puts skill ring on while fighting and life ring when not fighting.
Also takes ring out in protection zone
Variables
[macro]700 {lifering}
PeZe:=Status.InPZ()
Battle:=Self.Attacking()
swring:=Misc.ItemCountEx(!AtRingBP!)
coAS:=Self.Inventory.Ring()
!swring!>=1 [sword]
!Battle!==1 [pz0]
!coAS!<>!AtRingF!
Self.Equip.Ring(!AtRingBP!)
exit()
{pz0}
!PeZe!<>1 [pz1]
!coAS!<>3089
Self.Equip.Ring(3052)
exit()
{pz1}
Self.UnEquip.Ring(0)
exit()
exit()
{sword}
!PeZe!<>1 [pz2]
!coAS!<>3089
Self.Equip.Ring(3052)
exit()
{pz2}
Self.UnEquip.Ring(0)
exit()
[/macro]
Also takes ring out in protection zone
Variables
Code:
AtRingBP=3091 (3091 sword ring in BP)
AtRingF=3094 (3094 sword ring on finger)
[macro]700 {lifering}
PeZe:=Status.InPZ()
Battle:=Self.Attacking()
swring:=Misc.ItemCountEx(!AtRingBP!)
coAS:=Self.Inventory.Ring()
!swring!>=1 [sword]
!Battle!==1 [pz0]
!coAS!<>!AtRingF!
Self.Equip.Ring(!AtRingBP!)
exit()
{pz0}
!PeZe!<>1 [pz1]
!coAS!<>3089
Self.Equip.Ring(3052)
exit()
{pz1}
Self.UnEquip.Ring(0)
exit()
exit()
{sword}
!PeZe!<>1 [pz2]
!coAS!<>3089
Self.Equip.Ring(3052)
exit()
{pz2}
Self.UnEquip.Ring(0)
exit()
[/macro]