Template:Spell cost table/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:47, 17 October 2024 (Created page with "{{documentation}} {{Invokes|Spell cost table}} 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 <code>nostaff</code> with any value. Similarly, to hide the offhand section, add the <code>nooffhand</code> parameter. <pre> {{Spell cost table |Rune# = <name> (without rune) |Rune#num = amount }} </pre> Example (from Fire Wave) <pre> {{Spell cos..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 function main in Module:Spell cost table using Lua.
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. Similarly, to hide the offhand section, add the nooffhand parameter.

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

Example (from Fire Wave)

{{Spell cost table
|Rune1 = fire
|Rune1num = 7
|Rune2 = air
|Rune2num = 5
|Rune3 = blood
|Rune3num = 1
}}


Spell cost
InputCost
7 5 1 280
Combo runes
7 1 5 265
5 1 7 266
1 7 360
5 1 7 875
7 1 5 365
Main-hands
7 1 Alt255
5 1 Alt245
1 220
Main and off-hands
5 1 245
1 Alt 220