Well, why did that doesn’t work:
while True:
arts = hero.findByType("artillery")
for art in arts:
if art.target == hero:
if hero.isReady("heart-shield"):
hero.heartShield()
else:
hero.shield()
