Information icon-grey
This is a documentation subpage for Template:Spell cost table.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Spell cost table invokes Module:Spell cost table using Lua.

Creates a table for cost of casting a spell. Automatically calculates additional costs for combo runes and staves.

To hide the staff section for any reason, add the parameter nostaff with any value.

Bananas and unpowered orbs are also supported for the Teleport to Ape Atoll and the Charge Orb spells. Just enter 'banana' or 'unpowered orb' as a rune name.


{{Spell cost table
|Rune# = <name> (without rune)
|Rune#num = amount


Crystal Mask example

{{Spell cost table
|Rune1 = earth
|Rune1num = 7
|Rune2 = fire
|Rune2num = 6
|Rune3 = body
|Rune3num = 5
|Rune4 = soul
|Rune4num = 4
7Earth rune6Fire rune5Body rune4Soul rune6,700
Combo runes
6Fire rune5Body rune4Soul rune7Dust rune13,469
6Fire rune5Body rune4Soul rune7Mud rune12,650
5Body rune4Soul rune7Lava rune12,382
7Earth rune5Body rune4Soul rune6Smoke rune11,812
7Earth rune5Body rune4Soul rune6Steam rune11,740
6Fire rune5Body rune4Soul runeMud battlestaff6,574
6Fire rune5Body rune4Soul runeStaff of earth6,574
7Earth rune5Body rune4Soul runeStaff of fire5,746
7Earth rune5Body rune4Soul runeSteam battlestaff5,746
5Body rune4Soul runeElemental battlestaff5,620
5Body rune4Soul runeMystical staff (75)5,620
5Body rune4Soul runeLava battlestaff5,620

Teleport to Ape Atoll example

{{Spell cost table
|Rune1 = Water
|Rune1num = 2
|Rune2 = Fire
|Rune2num = 2
|Rune3 = Law
|Rune3num = 2
|Rune4 = Banana
|Rune4num = 1
2Water rune2Fire rune2Law rune1Banana1,800
Combo runes
2Fire rune2Law rune1Banana2Mud rune3,486
2Water rune2Law rune1Banana2Lava rune3,414
2Water rune2Law rune1Banana2Smoke rune3,504
2Law rune1Banana2Steam rune3,430
2Fire rune2Law rune1Banana2Mist rune4,076
2Fire rune2Law rune1BananaStaff of water1,750
2Fire rune2Law rune1BananaMud battlestaff1,750
2Water rune2Law rune1BananaStaff of fire1,482
2Law rune1BananaSteam battlestaff1,432
2Law rune1BananaElemental battlestaff1,432
2Water rune2Fire rune1.8Law rune1BananaLaw staff1,686
2Law rune1BananaMystical staff (75)1,432
2Water rune2Law rune1BananaLava battlestaff1,482
2Fire rune2Law rune1BananaAvernic wandTome of frost1,750

Community content is available under CC-BY-SA unless otherwise noted.