Template:Spell
From NWN2Wiki
| Spell | |
| Spell Information | |
| Spell level : | |
|---|---|
| Components : | None |
| Range : | {{{range}}} |
| Duration : | {{{duration}}} |
[edit] Template
{{spell
|name=
|icon=
|image=
|level_bard=
|level_cleric=
|level_druid=
|level_paladin=
|level_ranger=
|level_sorwiz=
|level_warlock=
|level_additional=
|level_innate=
|school=
|descriptor=
|components=
|range=
|area=
|duration=
|duration_type=
|save=[[Will]] negates
|save_type=w
|spell_resistance=
|hostile=
|touch_attack_type=
|empower=
|extend=
|maximize=
|quicken=
|silent=
|still=
|persist=
|invocation=
|scroll=
|potion=
|wand=
}}
- All fields are optional, some more then others ;)
- name= optional name, otherwise the page title is used (which is fine in most cases, but some spells conflict so have to be in pages like "Heal (Spell)")
- icon= should be the name of a picture of the standard NWN2 icon. Goes next to title.
- image= should be a name of picture of the spell being cast or in effect from in-game. The picture is scaled to 300 width automatically.
- level_XXXX= should be the level each class can cast it, and are all optional fields. One single digit here (except warlock, see note).
- level_warlock should be used as "least," "lesser," "greater," or "dark" grades of invocation.
- level_additional is for things like Clerical Domain spells, Prestige spells/abilities etc. Can be any text/links.
- level_innate should be the innate level of the spell (monster abilities will use only this), or the effective spell level of an invocation.
- school= should be the school of magic it is associated with. Do not make this a link, that is done automatically.
- descriptor= pretty much depreciated - NWN2 doesn't carry on 3.5E's descriptors. (These are things like "Evil" or "Positive")
- components= - This can be one of 4 entries:
- Nothing (says "None" explicitly)
- V (Verbal only)
- S (Somatic only)
- VS (Both).
- range= should be the standard NWN2 ranges
- P = Personal
- T = Touch
- S = Short
- M = Medium
- L = Long
or something more special in which case it will be displayed as-is and not explicitly categorized. It should be a Personal spell if it is cast on self, but has an area (area is defined below :) ). Every spell has an explicit range stated in the spells.2da file. Area usually covers things like spell cones and the like.
- area= should be the size of the area of effect or the targets of effect, if any.
Note: Some have non-standard (not listed as "Large", or "Huge") sizes, and should be listed in meters; NWN2's internal engine works in meters, and quite a few abilities are still based on meters for their areas.
- duration= should be a amount of time, or whatever is appropriate to the spell. This is a text entry field which overrides duration_type except for categorization.
In other words, you don't need to include this entry
- duration_type= can be either Instantaneous, Short, Medium, Long; use initials and there are other Frequent Combinations.
- i → Inputs: "Instantaneous"
- s = 6 seconds per Caster's Level. SHORT
- 2s = 12 seconds + 6 seconds per 3 Caster's Level.
- 3s2 = 18 seconds + 6 seconds per 2 Caster's Level.
- 3s = 18 seconds + 6 seconds per Caster's Level.
- M = 1 minute per Caster's Level. MEDIUM
- L = 1 hour per Caster's Level. LONG
These automatically input text if the duration field is absent. veryshort is for things which are typically less then 1 round / level (usually more for feats, such as Rage, however, but also see the duration of acid fog for instance). Mixed things can leave this blank, to be categorized as "Unknown/Special duration spells". If a spell has a duration stated, but it doesn't fit a category exactly, category it as best as possible (eg; lasting half a minute / level is about the same as a minute / level so call it medium duration).
- save= should be a standard like "Will Negates"
- Blank/missing entry = No save.
- save_type= is a way of categorizing the saves used in a spell. It can be a set of letters representing Fortitude, Reflex, or Will, or H for Harmless, or S for Special:
- H = Harmless. Used for most friendly spells.
- S = Special.
- F = Fortitude only.
- R = Reflex Only.
- W = Will Only.
- FR = Fortitude and Reflex.
- FW = Fortitude and Will.
- RF = Reflex and Will.
- FRW = Fortitude, Reflex and Will.
- spell_resistance= should be Yes or No, no links.
- hostile= should be Yes or No.
This signifies if casting the spell will break Invisibility or other things, and is a good indication of spells which harm the enemy or not.
- touch_attack_type= should be "Ranged", "Melee" if the spell has a touch attack involved, for categorization purposes. It can be left blank to be ignored.
- empower=, extend=, maximize=, quicken=, silent=, still=, and persist= should be Y or N, (blank is No by default). This signifies if the spell can be cast with the specific meta-magic feat noted as Yes.
- invocation= should be set as e = "essence" or b = "blast" for if the invocation is an Eldritch essence or blast shape for Eldritch blasts.
[edit] Usage
{{spell
|name=Acid Fog
|icon=Is_AcidFog.png
|image=Acid_fog_effect1.jpg
|level_bard=
|level_cleric=
|level_druid=
|level_paladin=
|level_ranger=
|level_sorwiz=6
|level_warlock=
|level_additional=[[Cleric]] with [[Destruction]] [[domain]] 6
|level_innate=6
|school=Conjuration
|descriptor=Acid
|components=VS
|range=Long
|area=Large
|duration=1 [[round]] per 2 [[Caster_level|cLevel]]s
|save=[[Fortitude]] partial
|save_type=F
|spell_resistance=Yes
|hostile=Yes
|empower=Yes
|extend=Yes
|maximize=Yes
|quicken=Yes
|silent=Yes
|still=Yes
|persist=No
}}
Note: Not all the level_ variables need to be defined
Gives this result: See: Acid Fog
[edit] Old Script that was based on the Manual of the game
[[Spell level]]''':''' {{{level}}}
[[Innate level]]''':''' {{{Innate}}}
[[School of magic|School]]''':''' {{{School}}}
[[Spell descriptor|Descriptor(s)]]''':''' {{{Descriptor}}}
[[spell component|Components]]''':''' {{{Components}}}
'''Range:''' {{{Range}}}
[[Target]]/[[Area_of_effect|Area]]''':''' {{{Area}}}
[[spell duration|Duration]]''':''' {{{Duration}}}
[[Save]]''':''' {{{Save}}}
[[Spell resistance]]''':''' {{{Spell resistance}}}
[edit] CSS Notes
No CSS for "infobox" from mediawiki means this kind of information was added to the style section:
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin: 0 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
[edit] Notes
Has some remains of the old template which I won't correct at this time. For instance; Target/Area could be separated and so the correct one could be noted each time. —— Jasperre
[edit] TEMPLATE Incomplete
Target / Area still incomplete; S = Single, S1 = Single creature * Caster Level, 1 = Caster only, M=Medium, L=Large, C = Cone, H = Huge, P = Caster's Party, X = Point, W = Weapon.
Switches in the Spell table still incomplete.
Innate Level isn't showing in the Table. Even though it's not used in NWN2 Counterspell.
— ~ ~ ~ ~ Red = 09:22, 30 March 2009 (UTC)
This article is a stub. You can help NWN2Wiki by expanding it.
