> For the complete documentation index, see [llms.txt](https://changelog.matrixemulator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.matrixemulator.com/welcome/server/muserver/data/monster/monsterskill/monsterskillelement.md).

# MonsterSkillElement

<mark style="color:green;">The concrete effect applied by a monster skill (stun, life drain, defense reduction, summoning, poison, etc.). Used by</mark> <mark style="color:green;"></mark><mark style="color:green;">`MonsterSkillUnit.txt`</mark><mark style="color:green;">.</mark>

<table data-search="false"><thead><tr><th>Column</th><th>Accepted Values</th><th>Description</th></tr></thead><tbody><tr><td>Index</td><td>Number, one per effect</td><td>Identifies the effect. Referenced by the slots in <code>MonsterSkillUnit.txt</code>.</td></tr><tr><td>Name</td><td>Text enclosed in quotes</td><td>Effect name, used for identification only.</td></tr><tr><td>Type</td><td>Number (fixed code)</td><td>Defines what the effect does—see the table below.</td></tr><tr><td>SuccessRate</td><td>Number (%)</td><td>Chance that the effect is successfully applied when the skill is used.</td></tr><tr><td>ContinuanceTime</td><td>Number, in seconds</td><td>Duration of the effect.</td></tr><tr><td>IncAndDecType</td><td>Number (fixed code), or <code>*</code></td><td>Determines how <code>IncAndDecValue</code> is applied—see the table below. <code>*</code> = not used.</td></tr><tr><td>IncAndDecValue</td><td>Number, or <code>*</code></td><td>Effect value (percentage or fixed amount, depending on <code>IncAndDecType</code>). <code>*</code> = not used.</td></tr><tr><td>NullifiedMagic</td><td>Number, or <code>*</code></td><td>Player skill that nullifies or resists this effect. <code>*</code> = none.</td></tr><tr><td>CharacterClass</td><td>Number, or <code>0</code></td><td>Restricts the effect to a specific character class. <code>0</code> = any class.</td></tr><tr><td>CharacterLevel</td><td>Number, or <code>0</code></td><td>Restricts the effect to characters at or above a certain level. <code>0</code> = no restriction.</td></tr></tbody></table>

### <mark style="color:yellow;">Type Values</mark>

<table data-search="false"><thead><tr><th>Type</th><th>Effect</th></tr></thead><tbody><tr><td>0</td><td>Stun</td></tr><tr><td>1</td><td>Push/move the target</td></tr><tr><td>2</td><td>Modify HP</td></tr><tr><td>3</td><td>Modify Mana</td></tr><tr><td>4</td><td>Modify AG (Shield)</td></tr><tr><td>5</td><td>Modify Defense</td></tr><tr><td>6</td><td>Modify Attack</td></tr><tr><td>7</td><td>Modify equipment durability</td></tr><tr><td>8</td><td>Summon monsters</td></tr><tr><td>9</td><td>Knockback</td></tr><tr><td>10</td><td>Modify Energy</td></tr><tr><td>11</td><td>Modify Strength</td></tr><tr><td>12</td><td>Modify Agility</td></tr><tr><td>13</td><td>Modify Vitality</td></tr><tr><td>14</td><td>Remove a character skill</td></tr><tr><td>15</td><td>Grant resistance to a skill</td></tr><tr><td>16</td><td>Grant immunity to a skill</td></tr><tr><td>17</td><td>Teleport</td></tr><tr><td>18</td><td>Double the monster's HP</td></tr><tr><td>19</td><td>Poison</td></tr><tr><td>20</td><td>Normal attack (no special effect)</td></tr><tr><td>21</td><td>Berserk</td></tr></tbody></table>

### <mark style="color:yellow;">IncAndDecType Values</mark>

<table data-search="false"><thead><tr><th>IncAndDecType</th><th>Description</th></tr></thead><tbody><tr><td><code>0</code></td><td>None</td></tr><tr><td><code>1</code></td><td>Increase by percentage</td></tr><tr><td><code>2</code></td><td>Decrease by percentage</td></tr><tr><td><code>11</code></td><td>Increase by a fixed value</td></tr><tr><td><code>12</code></td><td>Decrease by a fixed value</td></tr><tr><td><code>100</code></td><td>Percentage, applied repeatedly over time</td></tr><tr><td><code>101</code></td><td>Percentage increase, applied repeatedly over time</td></tr><tr><td><code>102</code></td><td>Percentage decrease, applied repeatedly over time</td></tr><tr><td><code>110</code></td><td>Fixed value, applied repeatedly over time</td></tr><tr><td><code>111</code></td><td>Fixed value increase, applied repeatedly over time</td></tr><tr><td><code>112</code></td><td>Fixed value decrease, applied repeatedly over time</td></tr></tbody></table>

### <mark style="color:yellow;">Notes</mark>

* `Type` and `IncAndDecType` are defined by fixed server-side lists—it is not possible to create a new effect type simply by editing this file.
* The "repeated over time" effects (`100` and above) apply their value periodically for the duration of the effect, rather than only once when the effect is applied.
