The Transformers at Hogwarts
Chapter 27 Analyzing the Illuminating Curse
Chapter 27 Analyzing the Illuminating Curse
But then the ancient magic text books that Allen found poured cold water on him.
He had already thought that the magic world's research results on runes would be relatively poor, but he didn't expect it to be so bad. In a dictionary of runes, there are only more than 200 ancient runes with completely definite meanings, and the others are just guesses. What means.
And when Allen compared the runes he recorded with these [-] runes, he found that the glyphs of many runes were very similar to those he recorded, but there were not small differences in details.
Allen firmly believed that the glyphs of the runes on the light curtain he saw were correct, which meant that many of the more than 200 ancient runes whose meanings had been determined were wrongly written, which made him a little discouraged.
But Allen's biggest advantage is that he can sit still. He hugged a bunch of books related to ancient runes to confirm each other, and finally achieved some results.
He chose the simplest ancient magic text of the illuminating spell for analysis.
There are only 26 ancient rune key-value pairs (hereafter referred to as the key-value pair key and value value) of the Illuminating Curse, and the value of four key-value pairs is empty, half of which are due to Allen's efforts The meaning of the ancient rune key-value pair was analyzed, including three key-value pairs with empty values.
He looked at the parsed key-value pairs and fell into deep thought.
The first three he noticed were the meanings of the key of the key-value pair whose value is empty, meaning: rotation speed, trajectory, and number of cycles.
Among them, the "rotational speed" made him feel as if he had seen it somewhere before, with an inexplicable sense of familiarity.
The Illumination Spell is one of the most proficient magics Allen has mastered. When casting it, he can quickly clear his mind, thinking of a ball of light blooming at the tip of his wand, and then use the wand to make the corresponding wand action, saying Say the incantation with the correct tone, this is the standard casting process of an illumination spell.
"Standard casting process" Allen chanted these words unconsciously.Suddenly, he had a flash of inspiration and realized that he had seen the keyword "rotation" somewhere.
He quickly found out his "Standard Spells, Elementary", turned to the part of Chapter 1 Lighting Spells, and found what he wanted at the end of the first part of this chapter:
Mr. Hobbes Black (1629-1721) improved the Illumination Charm in 1644, the improved Illumination Charm light ball can be rotated and dimmed at the tip of the wand.
Allen stared at the word "rotation", but his heart was full of turmoil.
The Illumination Spell is the simplest of all magic spells. Beginners can master it with simple practice. The wizards almost tapped the potential of this spell when they invented it, so there is only this improvement in the textbook Record.Although this improvement is included in the textbook, it is not mentioned at all in the standard casting process in the second part.
Allen remembered that Professor Flitwick mentioned this part in class, and briefly introduced a non-standard casting process - when casting the lighting spell, imagine that the light ball rotates at the tip of his wand and changes in light and dark, and suggests that students can After class, try this non-standard casting process by yourself.But Allen didn't take it seriously at the time.
Allen pulled out his wand numbly, and cast the Illumination Charm according to a non-standard procedure. Sure enough, a flickering and slowly rotating ball of light appeared on the tip of the wand.
"No wonder this thing didn't enter the standard casting process, it's really flashy!" Alan thought with a little breakdown in his heart. "Those who can think of this must have nothing to do!"
When I recorded the ancient rune key-value pair of the Illuminating Curse, I must have cast it according to the standard process, so the value corresponding to the "rotation speed" key was empty, because I didn't have this "rotation" in my mind when I released it. idea.Allen thought very positively.
It seems that my guess at the time was correct. Sure enough, when I release the magic, my thoughts will be converted into key-value pairs composed of ancient runes and sent out.Allen was a little happy.
Then the meaning of the last unparsed key whose value is empty is obvious: "whether the light or dark changes!"
Allen thought about this conclusion, and felt a sense of familiarity in his heart again: Why is the process of casting the lighting spell so much like calling a computer function, and it is a function with 26 input parameters. The spell is the function name, and the thoughts in his head That is, each input parameter, if there is no corresponding idea in the head, it will be empty.
A computer function is a piece of program or code that can be directly referenced by another piece of program or code.It looks convoluted, but it’s actually easy to understand. For example, you create a function called "addition within 10". This function has two input parameters a and b. The realization of the function is c=a+b, and then c The results are displayed in a pop-up window.When you call this function, you input a=1 and b=1, and the final result is a pop-up window on the interface, the content is c=2.This is the simplest function.
The same is true for the lighting spell. When you call the function of the lighting spell, you can call the light ball on the tip of the wand by inputting the required parameters. However, you can also input some agreed parameters that are not required to achieve different effects.Just like the two parameters of "rotation speed" and "whether light and dark change", you will not fail if you don't pass the lighting spell, and you can achieve different effects after you pass it.
In order to verify his idea, Allen cast the Illumination Charm again. This time he only imagined the ball of light spinning on the tip of the wand when he released it. Sure enough, he summoned a ball of light spinning on the tip of the wand; The ball of light flickered on and off the tip of the wand and released the Illumination Charm, and sure enough, a ball of light flickering on and off the tip of the wand was summoned.
It turns out that the improvement of the spell in the textbook is the discovery of a new usage of the spell!
Allen turned his attention to the key translation of the remaining two empty key-value pairs: "trajectory" and "number of cycles".
Alan's heart suddenly beat violently, and he suddenly realized the function and practical significance of these two keys. If he develops the function of these two keys, it means that his understanding of the Illuminating Curse is final again. Improve.
This must be in the textbook!This discovery by myself is obviously much more practical than that improved by Black!I don't know how much bonus the Ministry of Magic will give me!Allen thought happily.
However, the most urgent task is to discover the functions of these two keys. There are too many people in the library, so it will definitely not work.Allen thought secretly.
Then Allen returned all the borrowed books, and rushed to the abandoned girls' bathroom where he stayed yesterday without looking back.
"Ladies toilet! Your emperor is back!"
(End of this chapter)
But then the ancient magic text books that Allen found poured cold water on him.
He had already thought that the magic world's research results on runes would be relatively poor, but he didn't expect it to be so bad. In a dictionary of runes, there are only more than 200 ancient runes with completely definite meanings, and the others are just guesses. What means.
And when Allen compared the runes he recorded with these [-] runes, he found that the glyphs of many runes were very similar to those he recorded, but there were not small differences in details.
Allen firmly believed that the glyphs of the runes on the light curtain he saw were correct, which meant that many of the more than 200 ancient runes whose meanings had been determined were wrongly written, which made him a little discouraged.
But Allen's biggest advantage is that he can sit still. He hugged a bunch of books related to ancient runes to confirm each other, and finally achieved some results.
He chose the simplest ancient magic text of the illuminating spell for analysis.
There are only 26 ancient rune key-value pairs (hereafter referred to as the key-value pair key and value value) of the Illuminating Curse, and the value of four key-value pairs is empty, half of which are due to Allen's efforts The meaning of the ancient rune key-value pair was analyzed, including three key-value pairs with empty values.
He looked at the parsed key-value pairs and fell into deep thought.
The first three he noticed were the meanings of the key of the key-value pair whose value is empty, meaning: rotation speed, trajectory, and number of cycles.
Among them, the "rotational speed" made him feel as if he had seen it somewhere before, with an inexplicable sense of familiarity.
The Illumination Spell is one of the most proficient magics Allen has mastered. When casting it, he can quickly clear his mind, thinking of a ball of light blooming at the tip of his wand, and then use the wand to make the corresponding wand action, saying Say the incantation with the correct tone, this is the standard casting process of an illumination spell.
"Standard casting process" Allen chanted these words unconsciously.Suddenly, he had a flash of inspiration and realized that he had seen the keyword "rotation" somewhere.
He quickly found out his "Standard Spells, Elementary", turned to the part of Chapter 1 Lighting Spells, and found what he wanted at the end of the first part of this chapter:
Mr. Hobbes Black (1629-1721) improved the Illumination Charm in 1644, the improved Illumination Charm light ball can be rotated and dimmed at the tip of the wand.
Allen stared at the word "rotation", but his heart was full of turmoil.
The Illumination Spell is the simplest of all magic spells. Beginners can master it with simple practice. The wizards almost tapped the potential of this spell when they invented it, so there is only this improvement in the textbook Record.Although this improvement is included in the textbook, it is not mentioned at all in the standard casting process in the second part.
Allen remembered that Professor Flitwick mentioned this part in class, and briefly introduced a non-standard casting process - when casting the lighting spell, imagine that the light ball rotates at the tip of his wand and changes in light and dark, and suggests that students can After class, try this non-standard casting process by yourself.But Allen didn't take it seriously at the time.
Allen pulled out his wand numbly, and cast the Illumination Charm according to a non-standard procedure. Sure enough, a flickering and slowly rotating ball of light appeared on the tip of the wand.
"No wonder this thing didn't enter the standard casting process, it's really flashy!" Alan thought with a little breakdown in his heart. "Those who can think of this must have nothing to do!"
When I recorded the ancient rune key-value pair of the Illuminating Curse, I must have cast it according to the standard process, so the value corresponding to the "rotation speed" key was empty, because I didn't have this "rotation" in my mind when I released it. idea.Allen thought very positively.
It seems that my guess at the time was correct. Sure enough, when I release the magic, my thoughts will be converted into key-value pairs composed of ancient runes and sent out.Allen was a little happy.
Then the meaning of the last unparsed key whose value is empty is obvious: "whether the light or dark changes!"
Allen thought about this conclusion, and felt a sense of familiarity in his heart again: Why is the process of casting the lighting spell so much like calling a computer function, and it is a function with 26 input parameters. The spell is the function name, and the thoughts in his head That is, each input parameter, if there is no corresponding idea in the head, it will be empty.
A computer function is a piece of program or code that can be directly referenced by another piece of program or code.It looks convoluted, but it’s actually easy to understand. For example, you create a function called "addition within 10". This function has two input parameters a and b. The realization of the function is c=a+b, and then c The results are displayed in a pop-up window.When you call this function, you input a=1 and b=1, and the final result is a pop-up window on the interface, the content is c=2.This is the simplest function.
The same is true for the lighting spell. When you call the function of the lighting spell, you can call the light ball on the tip of the wand by inputting the required parameters. However, you can also input some agreed parameters that are not required to achieve different effects.Just like the two parameters of "rotation speed" and "whether light and dark change", you will not fail if you don't pass the lighting spell, and you can achieve different effects after you pass it.
In order to verify his idea, Allen cast the Illumination Charm again. This time he only imagined the ball of light spinning on the tip of the wand when he released it. Sure enough, he summoned a ball of light spinning on the tip of the wand; The ball of light flickered on and off the tip of the wand and released the Illumination Charm, and sure enough, a ball of light flickering on and off the tip of the wand was summoned.
It turns out that the improvement of the spell in the textbook is the discovery of a new usage of the spell!
Allen turned his attention to the key translation of the remaining two empty key-value pairs: "trajectory" and "number of cycles".
Alan's heart suddenly beat violently, and he suddenly realized the function and practical significance of these two keys. If he develops the function of these two keys, it means that his understanding of the Illuminating Curse is final again. Improve.
This must be in the textbook!This discovery by myself is obviously much more practical than that improved by Black!I don't know how much bonus the Ministry of Magic will give me!Allen thought happily.
However, the most urgent task is to discover the functions of these two keys. There are too many people in the library, so it will definitely not work.Allen thought secretly.
Then Allen returned all the borrowed books, and rushed to the abandoned girls' bathroom where he stayed yesterday without looking back.
"Ladies toilet! Your emperor is back!"
(End of this chapter)
Tip: You can use left, right, A and D keyboard keys to browse between chapters.