Rezz *KS* (script)

From Elanthipedia
Revision as of 09:43, 16 July 2016 by KASHNA (talk | contribs) (added a backdoor to push the script forward via use of the "gtg" phrase.)
Jump to navigation Jump to search
Rezz *KS* (script)
Category Cleric,Utility
Front-end StormFront
Author Kashna

What This Script Does

It prompts to ask you for how much mana you wish to cast/infuse rezz. This script will only harness/infuse, it does not use cambrinth.

  1. Prompts you for the amount of mana you wish to prepare/infuse the spell for
  2. Casts rezz
  3. Rolls through the harness/infuse sequence until the first spirit is located
  4. If mana drops below 25% while infusing the spell it pauses for 30 seconds to regenerate mana
  5. After the spirit is found, the person's memories are topped off
  6. It then infuses rezz once more, until the first spirit is found again (which is usually immediate, but not necessarily)
  7. Then casts Soul Bonding on the target
  8. It also whispers the target to let them know of the impending rezz (See the "Brace yourself!" statement below and modify (or delete it) if you wish.
  9. As a built-in health-check, it then LOOKS at the target and prompts you to type YES if you want it to continue
  10. Once confirmed, it GESTUREs at the target to complete the rezz
  11. If the script freezes (it sometimes does on the very first infusion), just type GTG to push it forward!

How To Use Script

  1. Type ".rezz NAME" (i.e. .Rezz Kashna)
  2. After receiving the first prompt, type "10 mana"

Rezz (Script)

echo **************************************
echo
echo ***  If the script hangs, type GTG
echo ***  to push it to the next act
echo
echo **************************************
echo
echo ***  How much mana would you like to use?
echo ***              ( # mana )
echo
echo **************************************
match Cinco 5 mana
match Seis 6 mana
match Siete 7 mana
match Ocho 8 mana
match Nueve 9 mana
match Diez 10 mana
match Once 11 mana
match Doce 12 mana
match Trece 13 mana
match Catorce 14 mana
match Quince 15 mana
match Dieciseis 16 mana
match Diecisiete 17 mana
match Dieciocho 18 mana
match Diecinueve 19 mana
match Veinte 20 mana
match Veintiuno 21 mana
match Veintidos 22 mana
match Veintitres 23 mana
match Veinticuatro 24 mana
match Veinticinco 25 mana
match Veintiseis 26 mana
match Veintisiete 27 mana
match Veinteocho 28 mana
match Veintenueve 29 mana
match Treinta 30 mana
matchwait

Prep:
put prep rezz %M
waitfor You feel fully prepared to cast
put cast
goto WaitForRezzHarn

WaitForRezzHarn:
pause 8
goto RezzHarn

RezzHarn:
put harn %M
match RezzHarn ...wait
match RezzInfuse Roundtime
match RezzInfuse gtg
matchwait

RezzInfuse:
put infuse rezz %M
match Rejuv sense the spirit of
match ManaCheck you are unable to make it out clearly
match ManaCheck have enough harnessed mana to infuse
match RezzInfuse ...wait
match ManaCheck gtg
matchwait

Rejuv:
put prep rejuv 10
put charg my wristc 10
pause 4
put invoke my wristc
waitfor You feel fully prepared to cast
put cast %1
match Rejuv black nimbus
match Rejuv blue nimbus
match Rejuv violet nimbus
match Rejuv red nimbus
match Rejuv pink nimbus
match Rejuv orange nimbus
match Rejuv yellow nimbus
match Rejuv golden nimbus
match Rezz2 silver nimbus
matchwait

Rezz2:
RezzHarn2:
put harn %M
match RezzHarn2 ...wait
match RezzInfuse2 Roundtime
match RezzInfuse2 gtg
matchwait

RezzInfuse2:
put infuse rezz %M
match RezzHarn2 you are unable to make it out clearly
match RezzHarn2 have enough harnessed mana to infuse
match SoulBond sense the spirit of
match RezzInfuse2 ...wait
match RezzHarn2 gtg
matchwait


SoulBond:
put prep soul bond
pause 4
put whisper %1 Brace yourself!  The transition back from the void can be quite jolting.
waitfor You feel fully prepared to cast
put cast %1
goto HealthCheck

HealthCheck:
pause 1
put look %1
pause 1
echo **********************************************
echo
echo ***  Can the body hold life? (No bleeders allowed!)
echo ***  ( YES to continue )
echo
echo **********************************************
waitfor Yes
goto Gesture

Gesture:
pause 1
put gesture %1
Exit

ManaCheck:
put mana
match RezzHarn more than a quarter strength
match RezzHarn just under a third
match RezzHarn roughly a third
match RezzHarn bit above a third
match RezzHarn rather more than a third
match RezzHarn between half and one third
match RezzHarn considerably less than half
match RezzHarn somewhat less than half your
match RezzHarn a small bit less than half your normal attunement
match RezzHarn around half your normal attunement
match RezzHarn slightly more than half your normal attunement
match RezzHarn more than half your normal attunement
match RezzHarn rather more than half your normal attunement
match RezzHarn more than half but under two-thirds your normal attunement
match RezzHarn just under two-thirds your normal attunement
match RezzHarn around two-thirds your normal attunement
match RezzHarn more than two-thirds your normal attunement
match RezzHarn more than two-thirds but less than three quarters of your normal attunement
match RezzHarn just under three-quarters of your normal attunement
match RezzHarn roughly three quarters of your normal attunement
match RezzHarn more than three quarters your normal attunement
match RezzHarn a mostly intact attunement
match RezzHarn a significantly intact attunement
match RezzHarn a good attunement
match RezzHarn a quite good attunement 
match RezzHarn a high attunement
match RezzHarn a very high attunement
match RezzHarn a nearly complete attunement
match RezzHarn a complete attunement
match WaitForMana harness messages
matchwait

WaitForMana:
echo
echo
echo ****************************************
echo ***  Mana getting low, resuming rezz in 30 seconds
echo ****************************************
echo
pause 30
goto ManaCheck


Cinco:
setvariable M 5
goto Prep

Seis:
setvariable M 6
goto Prep

Siete:
setvariable M 7
goto Prep

Ocho:
setvariable M 8
goto Prep

Nueve:
setvariable M 9
goto Prep

Diez:
setvariable M 10
goto Prep

Once:
setvariable M 11
goto Prep

Doce:
setvariable M 12
goto Prep

Trece:
setvariable M 13
goto Prep

Catorce:
setvariable M 14
goto Prep

Quince:
setvariable M 15
goto Prep

Dieciseis:
setvariable M 16
goto Prep

Diecisiete:
setvariable M 17
goto Prep

Dieciocho:
setvariable M 18
goto Prep

Diecinueve:
setvariable M 19
goto Prep

Veinte:
setvariable M 20
goto Prep

Veintiuno:
setvariable M 21
goto Prep

Veintidos:
setvariable M 22
goto Prep

Veintitres:
setvariable M 23
goto Prep

Veinticuatro:
setvariable M 24
goto Prep

Veinticinco:
setvariable M 25
goto Prep

Veintiseis:
setvariable M 26
goto Prep

Veintisiete:
setvariable M 27
goto Prep

Veinteocho:
setvariable M 28
goto Prep

Veintenueve:
setvariable M 29
goto Prep

Treinta:
setvariable M 30
goto Prep