Needed to GM bushido on a new character so I whipped this up really quick to work on a thrower with a wolf spider. However it should work on any kind of dexxer with a poison weapon.
Since lightning strike does periodic damage, it monitors the spider's health and wont perform lightning strike when it is under 90% which with successive hits is not just safety but also a grace period to regenerate your mana while it regens it's health. This script doesn't take into consideration LMC, it works in conjunction with the flat 10MP cost for Confidence (used to get from 40-50) and lightning strike.
Easy setup. Buy 40 Bushi, get a wolf spider, input the wolf spider's ID and start it up.
Also as a safety precaution, when something is breaking (Your weapon hopefully) it will disarm you so you don't break your weapon.