PDA

View Full Version : Empath Healdown script for SF?



HSB
06-23-2009, 10:14 AM
Does anyone have an empath healdown script that works for StormFront? At the moment my lich is inoperative, so I'd be looking for a regular Wizard-style script. I wrote one that seemed like it should work, but I popped my nerves left and right, and it didn't do what it was supposed to. So... does anyone know of one that works?

Bhuryn
06-23-2009, 11:08 AM
If you don't get one by tonight I'll post the one I used. It'll actually hit your nerves but it works well enough that I's never been a problem.

HSB
06-24-2009, 09:45 AM
Annnd... I got lich working again, so if anyone has one of THOSE, that would work, too. Bueller?

Smythe
06-24-2009, 08:22 PM
Isn't dis part o' da standard Lich repository?


# REQUIRED: Wizard, or Lich v3.38+ in StormFront
# This is a script for Empaths that will heal all of their wounds and/or scars (heals only the Empath, not a target). Takes into account mana cost based on wound/scar rank, current mana, cast roundtime, any RT, etc., etc..
wound_hash = { 'leye' => 'left eye', 'reye' => 'right eye', 'rhand' => 'right hand', 'lhand' => 'left hand', 'larm' => 'left arm', 'rarm' => 'right arm', 'rleg' => 'right leg', 'lleg' => 'left leg', 'abs' => 'abdomen', 'nerves' => 'nerves', 'chest' => 'chest', 'back' => 'back', 'head' => 'head', 'neck' => 'neck' }

spell = 0

cost = 0

wound_hash.each { |chk,area|
if area =~ /hand|arm|leg/ then spell = 1102; cost = 7
elsif area =~ /nerve/ then spell = 1103; cost = 8
elsif area =~ /head|neck/ then spell = 1104; cost = 9
elsif area =~ /eye|ab|chest|back/ then spell = 1105; cost = 10 end
while Wounds.send(chk) > 0
if Wounds.send(chk) < 2 then cost = spell.to_s.slice(/[0-9][0-9]$/).to_i end
wait_until('Waiting on mana...') { mana(cost) }; fput "prep #{spell}"; fput "cure #{area}"; sleep 3; waitrt?
end
}

wound_hash.each { |chk,area|
if area =~ /hand|arm|leg/ then spell = 1111; cost = 14
elsif area =~ /nerve/ then spell = 1112; cost = 15
elsif area =~ /head|neck/ then spell = 1113; cost = 16
elsif area =~ /eye|ab|chest|back/ then spell = 1114; cost = 17 end
while Scars.send(chk) > 0
if Scars.send(chk) < 2 then cost = spell.to_s.slice(/[0-9][0-9]$/).to_i end
wait_until('Waiting on mana...') { mana(cost) }; fput "prep #{spell}"; fput "cure #{area}"; sleep 3; waitrt?
end
}

- Smythe

eeky
07-24-2009, 09:08 PM
this works in sf? Tried and it didn't for me.