Chapter 20: The Birth of Programming Magic (Part I)

Early in the morning, Don Quixote sat up in a daze, last night was his first formal meditation, but the time to connect with the magic net was a little long, which caused a lot of burden on his soul, so at the moment he was a little sluggish, "Sure enough, keeping connected to the magic net for a long time is still a bit difficult for me, and I can't do it in the future, the first rule of the programmer, the construction spell must have a clear mind!"

"Good morning, teacher~" Don Quixote staggered to the second floor and said hello to Arthas, who was reading at his desk.

"Not really. Before Arthas could reply, Don Quixote let out an exclamation, and that little tiredness disappeared, for on the east side of the second floor there was a row of embalming jars, each of which contained a corpse, and counted them casually, about a dozen!" ”

Arthas dropped the book in his hand, got up and walked towards Xiao Ming, "Steal a fart, how can there be so many fresh corpses for me to dig up, and I am not the only gravedigger! This is a fire in a nobleman's house yesterday, which burned many slaves, and it just so happens that I know that nobleman, so he packed all the corpses and sold them to me at half price!"

"That's half price, that's the point!"

"Ahem~ Okay, don't look at it, today I'm going to formally teach you how to structure magic!Follow me!" changed the subject again...... Where are we going?"

"Of course it's outside, do you want a beginner to put magic in the house? It doesn't matter if you blow yourself up, I'm sorry for breaking those newly bought corpses. ”

“”

On the way, Alsace asked, "How did it feel to meditate all night?"

"At first, I felt very comfortable, but after about seven or eight hours of meditation, I was a little tired, and I couldn't continue to maintain the connection to the magic web. ”

"The first formal meditation can reach seven or eight hours, which is already remarkable for you who have just embarked on the path of a mage, it is enough to prove the strength of your soul, and you have a good understanding of the use of meditation techniques, I believe that at this speed, it will not take long, with the help of your innate advantages, your soul strength can reach the realm of a mage! At that time, I can extract your spiritual energy, but it will not cause any harm to your soul!"

"Thank you teacher for your concern," for Don Quixote, his relationship with Alsace is a mutual use, but it is undeniable that Arthas did not act arbitrarily against him with his strong strength, and also gave Don Quixote a lot of help, in this world of the jungle, this is already the best of humanity. "By the way, teacher, I've always had a question, what is the matter with this so-called grading, what will happen to the mage after reaching the master? What are the rules between each grade? Is it true that the official mage is better than the trainee mage?" "Actually, if you really talk about grading, in my opinion, there are only three levels of mages, and those who don't get started, such as you. Permanently connected to the web!, as well as spell slots. In the top, it can't be summarized by simple classification, it's too complicated!"

"And the level is just relatively speaking, maybe your spiritual energy is higher, but his structure is more skilled, there is no special rule, what high-level mage must be stronger than low-level mage, the simplest example is you, your soul strength is close to that of a formal mage, but a trainee mage can kill you, because you don't know how to build spells at all, and you have no combat experience. ”

"Alright, here it is!" Arthas stopped at the edge of the woods behind the villa, and continued, "To build a spell, you need to know the structure of the spell, and the structure of all spells is the source of the rules that exist in the world, in fact, it should be said that the mages imitate the rules that already exist in the world, and then according to this rule, they transform it and derive spells!"

"For example, the rules of fire, after understanding how to use the basic elements to construct flames, you can transform the structure of flames and derive fire-based spells such as fireball spells and fire wall spells, and other spells are also the same. ”

"Wait until you think of the rules, then use your psionic energy to build them in the magic web, fill in the basic elements, and finally release them at the target! If you have the right spell rules, the basic elements will work according to the rules you have built, and produce the effect you want! If it fails, go back and modify the structure again until it succeeds!"

As he spoke, Arthas raised his hand, and an icicle slowly appeared in his hand, and then flew out with a whoosh, piercing a tree not far away!

"Basically, this is the process, the difference between high-level spells and low-level spells is the complexity of the structure, and the amount of basic elements required, and of course, the control of your soul. The more powerful the spell structure, the more difficult it is to control. So, it's important to learn the basics first!

"Well......" said Don Quixote, after a moment of serious thought, "Teacher, don't you need to chant spells to use magic?

Arthas took out a book from the spatial ring and slammed it on Don Quixote's head, "In the future, read less knightly novels written by those bards, no stupid mage will tell the enemy what spell he wants to cast during battle, and no stupid knight will tell you where he is going to cut you before using swordsmanship!

"This is some magic experience that I wrote a long time ago, which contains some magic that I think is very practical, of course, I also marked which magic is suitable for which level of mage to release, you can study it yourself, and then you will study spells during the day and meditate at night. If you don't understand something, come to me!"

"So what are you doing?"

"I, of course, continue my experiments, do you think I spent so much money to buy so many corpses to be placed there to look good?"

"Then the teacher walks slowly~"

"Hmm," the blue light flashed, and Arthas disappeared again!

"Spell, key to freedom" After Arthas left, Don Quixote sat down on the floor and began to look at the basic spell notebook seriously......

"Let's start with this, the most basic spell, the fireball technique, but to be on the safe side, it's still on the ground, so as not to cause a forest fire or something. ”

After Don Quixote wrote down the structure of the spell, he mobilized his spiritual energy to build the structure of the fireball spell in front of him through the magic net, and then filled it with basic elements, and sure enough, with the gathering of the basic elements, a fireball appeared in front of Don Quixote, but the fireball only existed for a moment before it was annihilated. However, Don Quixote was not affected at all, and continued the next experiment, the fireball could exist for a long time, but it lost its explosive power! The next time, the fireball was not warm enough, and the next time, only a bunch of flames that could not be gathered were produced, and the next time...... Until the psionic energy is exhausted! rest, meditate, change to another spell! I don't know how long it took, Don Quixote finally stopped.

The surrounding meadows have been changed beyond recognition, some places have been burned beyond recognition by fire, revealing the charred black earth, and some places are bare ice!

In the sea of consciousness, Don Quixote Don sat on the sofa, floating in front of him countless three-dimensional pictures! It was the structure of all the various spells he had released before, and he was comparing the structures in them, since Don Quixote thought of the commonality between spells and programming, he had always wanted to learn spells by using programming, not to prove how talented he was, but to enable him to understand and learn spells faster. In his opinion, writing a program is inextricably linked to building a spell, and if you can learn from the experience of writing a program to find the principle of a spell, then learning a spell will definitely get twice the result with half the effort!

After analyzing the huge number of pictures, he finally found that no matter how a spell changes, the most basic law will not change, for example, any spell related to fire, the rule of generating fire is the same, and all fire spells are carried out around this rule of fire!

Then as long as these most basic structures are encapsulated in advance, and these parts that have been built are directly extracted and assembled when you use them, just like a puzzle, you can release the magic faster and more accurately!

Of course, these so-called parts do not exist, but as long as these basic structures are firmly memorized, when structuring spells, it is much easier and more efficient to construct simple parts directly according to the memory, and then assemble them directly than to directly construct a complete magic!

And the biggest advantage of this method is that once the magic goes wrong, you can separate it to find which part has a problem, unlike Arthas, after the complete structure, you have to start from scratch if you go wrong, this simple spell is better to say, that kind of extremely complex large spell, when are you going to look for it?