Magical research (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Script
{{Script
|cat=magic
|cat=magic,training
|fe=Genie,StormFront
|fe=Genie,StormFront
|auth=[[User:RY4NPW|Padhg]]
|auth=[[User:RY4NPW|Padhg]]
Line 8: Line 8:


==Notes==
==Notes==
*The script will cast GAF at the highest multiple of 10 magic ranks you can cast it at based on {{com|DISCERN}}. If you want to cast it higher or at a specific amount, just cast it manually before you run the script.
*The script will cast Gauge Flow (GAF) at the highest multiple of 10 mana you can cast it at based on {{com|DISCERN}}. If you want to cast GAF at a specific mana amount (or with cambrinth) then you should cast it manually before running this script.
*You can chain magics together (from {{com|RESEARCH}} {{tt|LIST}}) to research more than one topic.
*You can chain magics together (from {{com|RESEARCH}} {{tt|LIST}}) to research more than one topic.
*You can {{com|PERCEIVE}} (Moon Mages use {{com|PERCEIVE}} {{tt|MANA}}) every 61 seconds to train [[Attunement skill|Attunement]] while researching other magics.
*You can {{com|PERCEIVE}} (Moon Mages use {{com|PERCEIVE}} {{tt|MANA}}) every 61 seconds to train [[Attunement skill|Attunement]] while researching other magics, making researching STREAM unnecessary.


==Usage==
==Usage==
.research <magic> ...
.research <magic1> <magic2> ...


e.g. .research fundamental utility fundamental augmentation warding
e.g. .research fundamental utility fundamental augmentation warding
Line 19: Line 19:
==Changelog==
==Changelog==
*1/11/2016: Initial version
*1/11/2016: Initial version
*10/10/2016: Added slashes for StormFront support.
*1/5/2017: Added matchwait timeouts to prevent script hangs.


==Script==
==Script==
Line 24: Line 26:
if_1 goto discern
if_1 goto discern
echo What would you like to research? (use RESEARCH LIST to see your options)
echo What would you like to research? (use RESEARCH LIST to see your options)
echo Usage: .research fundamental utility fundamental augmentation warding
echo Usage: .research utility fundamental fundamental augmentation warding
goto quit
goto quit


discern:
discern-pause:
pause
pause
match discern ...wait
discern:
match discern-pause ...wait
matchre castat100 for a total of 1\d\d streams\.
matchre castat90 for a total of 9\d streams\.
matchre castat100 /for a total of 1\d\d streams\./
matchre castat80 for a total of 8\d streams\.
matchre castat90 /for a total of 9\d streams\./
matchre castat70 for a total of 7\d streams\.
matchre castat80 /for a total of 8\d streams\./
matchre castat60 for a total of 6\d streams\.
matchre castat70 /for a total of 7\d streams\./
matchre castat50 for a total of 5\d streams\.
matchre castat60 /for a total of 6\d streams\./
matchre castat40 for a total of 4\d streams\.
matchre castat50 /for a total of 5\d streams\./
matchre castat30 for a total of 3\d streams\.
matchre castat40 /for a total of 4\d streams\./
matchre castat20 for a total of 2\d streams\.
matchre castat30 /for a total of 3\d streams\./
matchre castat10 for a total of 1\d streams\.
matchre castat20 /for a total of 2\d streams\./
matchre castatmin for a total of \d streams\.
matchre castat10 /for a total of 1\d streams\./
matchre castatmin /for a total of \d streams\./
put discern gaf
put discern gaf
matchwait
matchwait 15
goto discern-pause


castat100:
castat100:
Line 88: Line 92:
goto research
goto research


research:
research-pause:
pause
pause
research:
match research However, there is still more to learn
match research However, there is still more to learn
match gaf You require some special means
match gaf You require some special means
match gaf Your eyes briefly darken.
match gaf Your eyes briefly darken.
match nextmagic Breakthrough!
match nextmagic Breakthrough!
match research-pause ...wait
match error Usage: RESEARCH
match error Usage: RESEARCH
put research %1 300
put research %1 300
matchwait
matchwait 305
goto research


nextmagic:
nextmagic:
Line 103: Line 110:
goto quit
goto quit


gaf-pause:
pause
gaf:
gaf:
# cast gauge flow
match gaf-pause Roundtime
match gaf-pause ...wait
match cast You feel fully prepared to cast your spell.
match cast fully prepared the Gauge Flow spell
put prep gaf %prep-mana
put prep gaf %prep-mana
matchwait 30
waitfor You feel fully prepared to cast your spell.
goto gaf-pause
# wait 2 more seconds

pause 2
cast:
pause
put cast
put cast
goto research
goto research

Latest revision as of 13:57, 5 January 2017

Magical research (script)
Category magic,training
Front-end Genie,StormFront
Author Padhg


This script uses Gauge Flow to train the specified magic skills.

Notes

  • The script will cast Gauge Flow (GAF) at the highest multiple of 10 mana you can cast it at based on DISCERN. If you want to cast GAF at a specific mana amount (or with cambrinth) then you should cast it manually before running this script.
  • You can chain magics together (from RESEARCH LIST) to research more than one topic.
  • You can PERCEIVE (Moon Mages use PERCEIVE MANA) every 61 seconds to train Attunement while researching other magics, making researching STREAM unnecessary.

Usage

.research <magic1> <magic2> ...

e.g. .research fundamental utility fundamental augmentation warding

Changelog

  • 1/11/2016: Initial version
  • 10/10/2016: Added slashes for StormFront support.
  • 1/5/2017: Added matchwait timeouts to prevent script hangs.

Script

if_1 goto discern
echo What would you like to research? (use RESEARCH LIST to see your options)
echo Usage: .research utility fundamental fundamental augmentation warding
goto quit

discern-pause:
	pause
discern:
	match discern-pause ...wait
	matchre castat100 /for a total of 1\d\d streams\./
	matchre castat90 /for a total of 9\d streams\./
	matchre castat80 /for a total of 8\d streams\./
	matchre castat70 /for a total of 7\d streams\./
	matchre castat60 /for a total of 6\d streams\./
	matchre castat50 /for a total of 5\d streams\./
	matchre castat40 /for a total of 4\d streams\./
	matchre castat30 /for a total of 3\d streams\./
	matchre castat20 /for a total of 2\d streams\./
	matchre castat10 /for a total of 1\d streams\./
	matchre castatmin /for a total of \d streams\./
	put discern gaf
	matchwait 15
	goto discern-pause

castat100:
	setvariable prep-mana 100
	goto research

castat90:
	setvariable prep-mana 90
	goto research

castat80:
	setvariable prep-mana 80
	goto research

castat70:
	setvariable prep-mana 70
	goto research

castat60:
	setvariable prep-mana 60
	goto research

castat50:
	setvariable prep-mana 50
	goto research

castat40:
	setvariable prep-mana 40
	goto research

castat30:
	setvariable prep-mana 30
	goto research

castat20:
	setvariable prep-mana 20
	goto research

castat10:
	setvariable prep-mana 10
	goto research

castatmin:
	setvariable prep-mana 5
	goto research

research-pause:
	pause
research:
	match research However, there is still more to learn
	match gaf You require some special means
	match gaf Your eyes briefly darken.
	match nextmagic Breakthrough!
	match research-pause ...wait
	match error Usage: RESEARCH
	put research %1 300
	matchwait 305
	goto research

nextmagic:
	shift
	if_1 goto research
	goto quit

gaf-pause:
	pause
gaf:
	# cast gauge flow
	match gaf-pause Roundtime
	match gaf-pause ...wait
	match cast You feel fully prepared to cast your spell.
	match cast fully prepared the Gauge Flow spell
	put prep gaf %prep-mana
	matchwait 30
	goto gaf-pause

cast:
	pause
	put cast
	goto research

error:
	echo %1 is not a valid research option.

quit:
	exit