Rezz *KS* (script)

From Elanthipedia
Revision as of 22:05, 30 July 2016 by KASHNA (talk | contribs) (added support for up to the new max of 50 mana / also added shorthand to allow 1-line entry to begin the entire thing and bypass the mana prompt via ".Rezz NAME #MANA")
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> <MANA>" (i.e. ".Rezz Kashna 20")
  2. If you just type ".rezz <NAME>", you'll receive a prompt, respond with "20 mana" or however much you wish to use.

Rezz (Script)

goto Mana%2
Mana:
echo **********************************
echo
echo ***  If the script hangs, type GTG
echo ***  to push it to the next act
echo ***  To start this script via shorthand:
echo ***     .REZZ <PERSON> <MANA>
echo
echo **********************************
echo
echo ***  How much mana would you like to use?
echo ***              ( # mana )
echo
echo **********************************
match mana5 5 mana
match mana6 6 mana
match mana7 7 mana
match mana8 8 mana
match mana9 9 mana
match mana10 10 mana
match mana11 11 mana
match mana12 12 mana
match mana13 13 mana
match mana14 14 mana
match mana15 15 mana
match mana16 16 mana
match mana17 17 mana
match mana18 18 mana
match mana19 19 mana
match mana20 20 mana
match mana21 21 mana
match mana22 22 mana
match mana23 23 mana
match mana24 24 mana
match mana25 25 mana
match mana26 26 mana
match mana27 27 mana
match mana28 28 mana
match mana29 29 mana
match mana30 30 mana
match mana31 31 mana
match mana32 32 mana
match mana33 33 mana
match mana34 34 mana
match mana35 35 mana
match mana36 36 mana
match mana37 37 mana
match mana38 38 mana
match mana39 39 mana
match mana40 40 mana
match mana41 41 mana
match mana42 42 mana
match mana43 43 mana
match mana44 44 mana
match mana45 45 mana
match mana46 46 mana
match mana47 47 mana
match mana48 48 mana
match mana49 49 mana
match mana50 50 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 ManaCheck no 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
match Rezz2 gtg
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 **********************************************
match Gesture Yes
match Gesture gtg
matchwait

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 very 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


Mana5:
setvariable M 5
goto Prep

Mana6:
setvariable M 6
goto Prep

Mana7:
setvariable M 7
goto Prep

Mana8:
setvariable M 8
goto Prep

Mana9:
setvariable M 9
goto Prep

Mana10:
setvariable M 10
goto Prep

Mana11:
setvariable M 11
goto Prep

Mana12:
setvariable M 12
goto Prep

Mana13:
setvariable M 13
goto Prep

Mana14:
setvariable M 14
goto Prep

Mana15:
setvariable M 15
goto Prep

Mana16:
setvariable M 16
goto Prep

Mana17:
setvariable M 17
goto Prep

Mana18:
setvariable M 18
goto Prep

Mana19:
setvariable M 19
goto Prep

Mana20:
setvariable M 20
goto Prep

Mana21:
setvariable M 21
goto Prep

Mana22:
setvariable M 22
goto Prep

Mana23:
setvariable M 23
goto Prep

Mana24:
setvariable M 24
goto Prep

Mana25:
setvariable M 25
goto Prep

Mana26:
setvariable M 26
goto Prep

Mana27:
setvariable M 27
goto Prep

Mana28:
setvariable M 28
goto Prep

Mana29:
setvariable M 29
goto Prep

Mana30:
setvariable M 30
goto Prep

Mana31:
setvariable M 31
goto Prep

Mana32:
setvariable M 32
goto Prep

Mana33:
setvariable M 33
goto Prep

Mana34:
setvariable M 34
goto Prep

Mana35:
setvariable M 35
goto Prep

Mana36:
setvariable M 36
goto Prep

Mana37:
setvariable M 37
goto Prep

Mana38:
setvariable M 38
goto Prep

Mana39:
setvariable M 39
goto Prep

Mana40:
setvariable M 40
goto Prep

Mana41:
setvariable M 41
goto Prep

Mana42:
setvariable M 42
goto Prep

Mana43:
setvariable M 43
goto Prep

Mana44:
setvariable M 44
goto Prep

Mana45:
setvariable M 45
goto Prep

Mana46:
setvariable M 46
goto Prep

Mana47:
setvariable M 47
goto Prep

Mana48:
setvariable M 48
goto Prep

Mana49:
setvariable M 49
goto Prep

Mana50:
setvariable M 50
goto Prep