Magic System

## Magic/Power Scaling System

Magic in the Wonderland Of the Enigma is described as the ethereal power that manifests through the spoken word, bringing forth the very fabric of existence. This mystical energy, known as "Code," permeates the air, flows through the veins of all beings, and interweaves itself within the essence of everything that exists. To comprehend and harness the power of Code, one must delve into the profound language that underlies its intricate nature.

### Understanding Code

The journey into mastering Code begins by attuning oneself to the subtle vibrations and sensations that resonate within the world. It is through touch, whether running fingertips through hair or caressing water, that the initial connection with Code is established. Every entity, every element, carries within it the essence of Code, and those who can manipulate it hold the key to unlimited possibilities.

Understanding Code requires a deep communion between the mind, heart, and body. The seeker must first channel their comprehension through any part of their being, allowing the understanding to flow and meld with their essence. This knowledge must then be nurtured and guided, expanding from the core of their being, radiating throughout their entire being like a beacon of enlightenment.

With this profound awakening, the world transforms, revealing the hidden tapestry of Code that lies veiled from ordinary sight. The adept sorcerer gains the ability to perceive Code in all its intricate forms, pulsating and dancing within the very fabric of reality. It is a sight that transcends the mundane, a symphony of pulsating energy waiting to be orchestrated by the skilled practitioner.

### Code Categories

Within the Enigmatica universe, the mastery of Code is an art form, a language of creation and transformation that offers limitless possibilities to those who dare to delve into its enigmatic depths. The following are the main categories of Code:

#### Elemental Code

- Pyromancy - Aquakinesis - Geomancy - Aerokinesis

#### Vital Code

- Healing Arts - Biomancy - Soulweaving - Lifebonding

#### Celestial Code

- Astrology - Lunar Manipulation - Solar Radiance - Stellar Projection

#### Arcane Code

- Rune Magic - Illusionary Arts - Alchemy - Chronomancy

#### Enigma Code

- Dimensional Shifting - Symbolic Encryption - Reality Weaving - Cosmic Insight

These subsections within each category of Code represent specialized areas of study and practice, allowing spellcasters to develop unique skills and delve deeper into specific aspects of their chosen magical discipline. By delving into these subcategories, sorcerers expand their repertoire of spells and acquire specialized techniques to shape the Code in extraordinary ways, uncovering the boundless potential of Enigmatica's mystical power.

### Power Scaling

The Enigmatica universe incorporates a power scaling system to determine the effectiveness and strength of magical abilities. The following factors contribute to power scaling:

- Code Intensity: Roll a d10 to determine the intensity of the Code, affecting the potential damage of spells. - Spell Complexity: Roll a d6 to determine the complexity of a spell, influencing damage potential. - Elemental Affinity: Roll a d8 when casting elemental spells to determine the effectiveness of the affinity. - Mastery Level: Roll a d12 to assess the mastery level of a mage, affecting the potency of spell damage. - Target Vulnerabilities: Roll a d20 when determining the impact of a spell on a target to hit vulnerabilities. - External Factors: Roll a d4 or d6 to determine environmental conditions and external factors.

Specific scaling mechanisms can be defined as follows:

- Code Intensity: Each point on the d10 roll adds 10% to the base damage. - Spell Complexity: Each point on the d6 roll multiplies the base damage by a certain factor. - Elemental Affinity: Each point on the d8 roll adds a certain percentage to the base damage. - Mastery Level: Each point on the d12 roll multiplies the base damage by a certain factor. - Target Vulnerabilities: Each point on the d20 roll adds a certain percentage of damage. - External Factors: Environmental conditions and external factors are determined by rolling a d4 or d6, providing bonuses or penalties.

### Other Magic Mechanics

The Enigmatica universe incorporates additional mechanics and interactions within its magical system:

- Code Disruption: The success rate of disrupting an opponent's code is determined by rolling a dice. - Counter-Coding: The effectiveness of counter-codes can be influenced by dice rolls. - Defensive Modules: Defensive modules have an inherent probability of success associated with them. - Code Analysis: Code analysis involves dice rolls to determine the accuracy and depth of insights gained. - Code Immunity: The chances of code immunity can be influenced by dice rolls. - Reactive Magic: The effectiveness of reactive spells can be determined by dice rolls. - Code Encryption: The level of encryption and its effectiveness can be determined by dice rolls. - Dispel Magic: The success of dispelling ongoing spells or effects can be influenced by dice rolls.

The effectiveness and outcomes of these mechanics can be determined by rolling dice and comparing the results to defined thresholds and probabilities.

### Level-Based Success Rate

Success rates for certain actions can be determined based on the level of the character. The following success rate guidelines can be used:

- Level 1-5: Use a 6-sided dice (d6).

```
 - Roll of 4-6: High chance of success.
 - Roll of 1-3: Low chance of success.

```

- Level 6-10: Use a 10-sided dice (d10).

```
 - Roll of 7-10: High chance of success.
 - Roll of 1-6: Low chance of success.

```

- Level 11-15: Use a 12-sided dice (d12).

```
 - Roll of 9-12: High chance of success.
 - Roll of 1-8: Low chance of success.

```

- Level 16-20: Use a 20-sided dice (d20).

```
 - Roll of 16-20: High chance of success.
 - Roll of 1-15: Low chance of success.

```

These guidelines can be adjusted based on the specific game mechanics and balance desired.

## Action Points

In the Wonderland Of the Enigma Action Points (AP) are utilized to govern the actions and casting of spells by characters. Action Points represent the character's focus, energy, and concentration. Each character has a certain number of Action Points available to them, which can be spent to perform actions, cast spells, or activate special abilities.

Characters start each encounter with a specific amount of Action Points, which can be influenced by attributes, skills, or equipment. Throughout the encounter, characters can use their Action Points to cast spells, perform magical actions, or engage in combat maneuvers.

== Power Scaling and Spellcasting == In our immersive magic system, the effectiveness and strength of spells are determined by the character's mastery, focus, and strategic decision-making, rather than relying solely on dice rolls.

Power scaling is based on various factors and actions performed by the character. These factors include:

* Mastery Level: The character's mastery level in a specific magical discipline determines the potency and effectiveness of their spells. Higher mastery levels result in increased damage or greater impact.
* Elemental Affinity: Characters with elemental abilities can tap into their affinity, allowing them to channel more power when casting elemental spells. This affinity grants a boost to the spell's damage or effectiveness.
* Tactical Decisions: Players can make strategic choices during combat or spellcasting, utilizing their Action Points to enhance the potency of their spells or increase their chances of success.
* Special Abilities: Characters may possess unique special abilities or talents that augment their spells, granting additional effects or increasing their overall power.

By expending Action Points during spellcasting, characters can enhance the strength, duration, or area of effect of their spells. These decisions are made based on the narrative context, tactical considerations, and the character's resource management.

## Code Intensity and Spell Complexity

In the Wonderland Of the Enigma the power and complexity of spells are determined by the character's expertise and the narrative flow, rather than relying solely on dice rolls.

Code Intensity represents the raw power and energy channeled into a spell. Characters can allocate a specific number of Action Points to increase the Code Intensity, thereby augmenting the spell's damage or effectiveness. The greater the Action Points invested, the more potent the spell becomes.

Spell Complexity is the intricacy and intricateness of a spell. It is determined by the narrative description and the character's expertise. Players can utilize their Action Points to add additional layers of complexity to their spells, enhancing their overall impact or introducing secondary effects.