Summon Skills
Sets which monster each elf summon skill calls and how strong it is. A summon can grow with its owner's Energy, level, resets or any other stat. Loads with the GameServer and with /reload plugins.
File Location#
Data/Plugins/Characters/SummonSkills.xml
Dependencies#
- Monster.xml - every
Monsterindex must be a monster there. The summon starts with that monster's stats, attack speed and ranges. - MasterSkillTree.txt - the master tree summon bonuses (life, defense, damage %) are added on top of the result of this file.
How It Works#
Each stat of a fresh summon is:
stat = Monster.xml stat * percent / 100 + (owner stat * value per point)
The percent comes from the <Summon> row. The per-point values come from its <Scale> rows, one row per owner stat. Several <Scale> rows add up.
The shipped file has every percent at 100 and no <Scale> rows, so summons are the plain Monster.xml monsters.
Configuration#
<SummonSkills>#
| Attribute | Type | Range | Default | Effect |
|---|---|---|---|---|
ShowStatus | 0/1 | 0-1 | 0 | 1 = the owner sees his own summon's status: a life bar above it, its buffs with the time left at its feet, and its real stats in the Pet window. Needs the 2.1.0 client |
With ShowStatus="1":
- The life bar is the same bar other players have, without the shield row. Only the owner sees it.
- Buff icons sit in a row at the summon's feet, see-through, with the seconds left under each. An icon blinks in its last 10 seconds.
- An Elf's Pet window (the paw button in the character window) has one tab, Summon: life, damage, attack rate and speed, defense and defense rate, and the spell's damage, interval and target count. The numbers are the live ones, with scaling and buffs.
<Summon>#
One row per summon skill.
| Attribute | Type | Range | Default | Effect |
|---|---|---|---|---|
Skill | int | 30-37 | - | Summon skill this row sets. See the table below. Other skill numbers are skipped |
Monster | int | Monster.xml Index | see below | Monster the skill calls. Must be a monster, not an NPC |
Life | percent | 0 and up | 100 | % of the monster's life |
Damage | percent | 0 and up | 100 | % of the monster's min and max damage |
Defense | percent | 0 and up | 100 | % of the monster's defense |
AttackRate | percent | 0 and up | 100 | % of the monster's attack rate (hit chance) |
DefenseRate | percent | 0 and up | 100 | % of the monster's defense rate (dodge) |
AttackSpeed | ms | 0 and up | 0 | Time between attacks. 0 = the monster's own. Lower is faster |
AttackRange | tiles | 0-15 | 0 | Attack range. 0 = the monster's own |
ViewRange | tiles | 0-15 | 0 | How far the summon looks for targets. 0 = the monster's own |
MoveSpeed | ms | 0, 100-2000 | 0 | Time to walk one tile. 0 = the monster's own (most are 400). Lower is faster |
HuntRange | tiles | 0-12 | 0 | 0 = the old behavior: it attacks what its owner attacks or what comes close. Above 0 = it hunts on its own, see below |
PvPDamage | percent | 0-1000 | 100 | % of its damage against players. Set it low for a scaled summon, or it one-shots players in duels and sieges |
| Skill | Name | Default monster |
|---|---|---|
| 30 | Summon Goblin | 26 Goblin |
| 31 | Summon Stone Golem | 32 Stone Golem |
| 32 | Summon Assassin | 21 Assassin |
| 33 | Summon Elite Yeti | 20 Elite Yeti |
| 34 | Summon Dark Knight | 10 Dark Knight |
| 35 | Summon Bali | 150 Bali |
| 36 | Summon Soldier | 151 Soldier |
| 37 | Summon Satyros | 353 Satyros |
Skills 30-36 are learned from Orb of Summoning +0 to +6. Summon Satyros (37) is learned from a TalentTree.xml node: Effect="GRANT_SKILL" Target="37". While such a node is in the tree, the tree is the only way to keep the skill. With no such node, Orb of Summoning +7 teaches it. It needs a High Elf (FE = 3 on row 37 of Skill.txt).
<Scale>#
Inside a <Summon>. Optional, up to 8 rows per summon. Each value is a flat amount added per 1 point of the owner's stat. Decimals are allowed.
| Attribute | Type | Range | Default | Effect |
|---|---|---|---|---|
Stat | text | Level, MasterLevel, Reset, Strength, Dexterity, Vitality, Energy, Leadership | - | Owner value this row scales with. Stat points include item and buff bonuses |
Life | decimal | any | 0 | Life added per point |
Damage | decimal | any | 0 | Damage added per point, to min and max |
Defense | decimal | any | 0 | Defense added per point |
AttackRate | decimal | any | 0 | Attack rate added per point |
DefenseRate | decimal | any | 0 | Defense rate added per point |
Spell | decimal | any | 0 | Spell damage added per point. Only used with a <Spell> row |
<Spell>#
Inside a <Summon>. Optional, one per summon. Gives the summon one spell. When the spell is ready, the summon's next attack is the spell instead of a normal hit, so the effect always starts with its attack animation. No <Spell> row = no spell.
With AttackSpeed="1200" and Interval="2000" every second attack is the spell: spell, hit, spell, hit. An Interval at or below the attack speed makes every attack the spell.
spell damage = summon damage roll * Damage / 100 + (owner stat * Spell per point)
The summon damage roll is its min-max damage after the Damage percent, the <Scale> rows and Greater Damage.
| Attribute | Type | Range | Default | Effect |
|---|---|---|---|---|
Fx | text | see below | - | Effect shown. none or an unknown name shows the hit flash only |
From | text | summon, target | summon | summon = the effect goes from the summon to the target. target = it plays on the target's spot |
Color | R,G,B | 0-255 each | 255,255,255 | Colour of the hit flash |
Sound | text | none, fire, ice, lightning, magic, dark, wind, earth, explosion | none | Sound played on the cast |
Damage | percent | 0 and up | 100 | % of the summon's damage roll |
Interval | ms | 500 and up | 3000 | Shortest time between casts. The cast happens on the first attack after it |
Range | tiles | 1-15 | 6 | The spell is used only when the target is this close. The summon still has to be in its own attack range to attack at all: raise AttackRange on the <Summon> for a ranged spell |
Radius | tiles | 0-15 | 0 | 0 = the target only. Above 0 = also monsters within this many tiles of the target |
MaxTargets | int | 1-8 | 1 | Most monsters hit by one cast, target included |
Effect names:
| Use with | Names |
|---|---|
From="summon" | slash (a weapon sweep in front of the summon, for melee monsters), missile (an orb to each monster hit, reads as a volley), bolt (lightning to each monster hit), volley (the summon's own arrow, 3 in a fan at the target, in place of its normal single shot: for a monster with a bow or crossbow such as the Soldier; a summon without one shows missile), chain_lightning, evil_spirit, skull_spirit, ghost, fire_burst, phoenix |
From="target" | rageful_blow (the monster ground strike: cracks under the target) |
From="target" | meteor, meteorite, hellfire, inferno, ice_storm, twister, nova, decay, gigantic_storm, flame, debris |
Hunting#
With HuntRange above 0 the summon picks its own targets:
- It attacks from its attack range. A ranged summon stops one tile inside its range and shoots from there; a melee one walks next to the target. Raise
AttackRangeon the row to make a summon ranged. - It follows a moving target: the walk is planned again as soon as the target has moved, so it does not walk to where a monster used to stand.
- With nothing to fight it stays within 3 tiles of its owner, and jumps to her when she is more than 14 tiles away or on another map.
- It protects its owner first. Target order: a monster that is attacking the owner (the one closest to the owner), then the monster the owner is attacking, then the nearest monster within
HuntRangetiles of the owner. - After an attack it stands still for up to 0.6 seconds (never longer than its attack speed) before it walks to the next target, so the attack animation plays out even when the hit kills.
- It stays on its target until it dies, unless a more important one shows up: it leaves a monster it picked itself to go for one that attacks its owner.
- It never goes further from its owner than
HuntRange+ 2 tiles. Past that it drops its target and walks back. - A monster that takes no damage for 8 seconds (out of reach, immune) is left alone for 15 seconds.
- Players: the summon attacks a player only while its owner does, at
PvPDamagepercent. It drops that player 2 seconds after the owner's last hit, for example when she walks away, and goes back to her.
Without it, a summon only looks 3 to 7 tiles around itself, walks back to its owner between kills and can drift up to 14 tiles away.
Important Behavior#
-
A cast is a real attack of the summon: it turns to its target and plays its own attack animation with its swing sound. Pick an effect that fits the monster:
slashorrageful_blowfor one that holds a weapon,volleyfor one with a bow or crossbow,missileorboltfor a ranged one or a caster.slash,missileandbolttake their colour fromColor. -
For a melee look keep
Rangeat 2, or the summon swings at a target it is not next to. -
The spell always hits and the target's defense is not subtracted. It is the tool for summons that must stay useful on high maps. Set
Damagewith that in mind. -
The spell is cast on monsters only. Against a player the summon uses its normal attack.
-
Kills by the spell count for the owner (EXP, drops, quests), like any summon hit.
-
Spell effects need the 2.1.0 client. An older client shows the damage without the effect.
-
Stats are worked out when the skill is cast. A summon that is already out keeps its stats when the owner gains stats or the file is reloaded. Casting the skill again dismisses it; the next cast calls a new one with the new stats.
-
A summon whose attack rate is below its target's defense rate misses 95% of its hits. When summons do no damage on high maps, raise
AttackRatefirst, thenDamage. -
A hit deals the summon's damage minus the target's defense. Low damage against a high-defense monster stays near zero whatever the life and attack rate are.
-
A skill with no row, or a missing file, uses the default monster with every percent at
100. -
A
Monsterthat is not in Monster.xml, or is an NPC there, is replaced by the default monster of that skill. The GameServer log shows a[SummonSkill]warning. -
Life is capped at 2,000,000,000. Damage, defense and both rates never go below 0.
-
A summon takes buffs and heals like a player: select Heal, Greater Defense, Greater Damage or Soul Barrier and right-click it. Party-only buffs treat it as a member of its owner's party.
-
MU Helper and the offline helper keep the character's own summon buffed (Greater Damage, Greater Defense, Soul Barrier from the buff slots) and heal it at the character's own heal HP %. Nothing to set up: it follows the helper's auto buff and auto heal options.
-
One summon per character, as before.
-
A summon never turns on a player who hits it. It attacks players only when its owner does (also in duels).
Examples#
<Summon Skill="36" Monster="151" Life="200" Damage="100" Defense="100" AttackRate="100" DefenseRate="100">
<Scale Stat="Energy" Life="10" Damage="0.5" Defense="0.2" AttackRate="1"/>
<Scale Stat="Reset" Life="2000" Damage="50"/>
</Summon>
An elf with 1,000 Energy and 2 resets gets a Soldier with 4,000 x 2 + 10,000 + 4,000 = 22,000 life, 175-180 + 500 + 100 = 775-780 damage, 110 + 200 = 310 defense and 290 + 1,000 = 1,290 attack rate.
<Summon Skill="36" Monster="151" Life="200">
<Scale Stat="Energy" Life="10" Damage="0.5" Defense="0.2" AttackRate="1" Spell="0.3"/>
<Scale Stat="Reset" Life="2000" Damage="50"/>
<Spell Fx="chain_lightning" Sound="lightning" Color="140,180,255" Damage="150" Interval="2500" Range="6" Radius="3" MaxTargets="3"/>
</Summon>
Every 2.5 seconds it hits its target and up to 2 more monsters within 3 tiles for about 775 x 1.5 + 300 = 1,460 damage each.
<Summon Skill="35" Monster="62" AttackSpeed="1000"/>
Attributes left out keep their default.
Common Issues#
| Symptom | Cause | Fix |
|---|---|---|
| The summon always misses | Its attack rate is below the target's defense rate | Raise AttackRate, or add an AttackRate value to a <Scale> row |
| A change does nothing | The summon was called before the reload | Cast the skill twice: once to dismiss, once to call it again |
| The skill calls the default monster | Monster is missing from Monster.xml or is an NPC | Check the [SummonSkill] warning in the GameServer log |
SummonMonster1-8 in Skill.dat do nothing | Those keys are no longer read since 2.1.0 | Set Monster in this file |