Skip to content
Tiranadel edited this page Feb 23, 2017 · 1 revision

CREATING NEW SUMMONS


You make summons the same as you do monsters. Open new_npc.char in *\summons\to make* and copy/rename/edit it like you would with a monster. When you're done, move the file into the *\summons* folder for it to randomly show up in battle.

After that, you will then need to create the item under the summon items section in the items.db which can be used to summon them.

[ItemName]
Type=summon
Cost=
SellPrice=
Summon=
SummonName=

Summon= is where you put the file name of the summon. SummonName is used for the display name of the summons, just like how it is on monsters/bosses/npcs.

There are two other summon types that you can use as well. Pay to attack or random summon.

[Pokeball]
Type=summon
Cost=10000
SellPrice=2000
Summon=$read -l $+ $rand(1, $lines($lstfile(pokemon.lst))) $lstfile(pokemon.lst)
SummonName=$readini($summon(%summon.name), basestats, name)
Desc=pulls out a Pokeball and tosses it at the battlefield, floating in the air for a moment. The Pokeball then opens up, a bright light emerging from it, which summons...
RandomSummon=true

The Pokéball here is an example of how to do a random summon. The pokemon.lst contains the names of summons, so you would put the names matching the file name here. The SummonName= and RandomSummon= have to be done the way it's shown. Desc can be whatever you want it to be for the random summon. If you make a new .lst for random summons, don't forget to put it in the /lsts/ folder.

[GuardContract]
Type=summon
Cost=$iif($readini(system.dat, system, TechCurrency) = orbs, 1000, 5000)
SellPrice=100
Summon=Yojimbo
SummonName=Yojimbo

As you can see, the summon item for Pay to Attack is the same as the others. However, the summon file itself will need to have ai_type=PayToAttack under the [Info] section. Once you have the pay to attack summon out, you need to use this command:
/me gives # redorbs to npcname
for the summon to attack. A max of 1000 orbs can be given.

[Table of contents]


Download Links

[GitHub]


#BattleArena on Esper.Net

[Scoreboard]
[Reddit]
[Suggestions]


Clone this wiki locally