Template:Spell/doc: Difference between revisions

From RoDpedia
Jump to navigation Jump to search
Mezzanine (talk | contribs)
mNo edit summary
Meddon (talk | contribs)
No edit summary
Line 2: Line 2:
When filling out a template, leave a field blank if you don't know that specific item.
When filling out a template, leave a field blank if you don't know that specific item.
<pre>{{Spell
<pre>{{Spell
|description = Spell description from help file + any additional information
|helpfile = The information from the helpfile
|syntax = Command syntax from help
|syntax = Command syntax from help
|type = Type of spell (Defense/All, Defense/Self, Attack, Utility/Self, etc)
|type = Type of spell (Offensive Damage, Support, Downspell, Curative, Utility, etc)
|mana = Amount of mana required (or range)
|target = The valid targets for this spell. Self only, All, Enemies only, Items only, etc.
|cost = Amount of mana or blood or hp required. E.g. 50 mana
|damage = Amount of damage caused (or range)
|damage = Amount of damage caused (or range)
|heal = Amount of health healed (or range)
|heal = Amount of health healed (or range)
|effect = Other less obvious effects
|effect = A description of the effects of this spell
|duration = Number of rounds the effect lasts for
|duration = Number of rounds the effect lasts for
|stance = Stance requirements
|minpos = the MinPos for this skill/spell
|restrictions = Restrictions (Evil only/Path of the Quill/etc)
|restrictions = Restrictions (Evil only/Path of the Quill/etc)
|yoursuccess = Success message when you cast it
|selfsuccself = The message for a successful self-cast
|yourfailure = Fail message when you cast it
|selffailself = The message for a failed self-cast
|yourexpire = Expire message for yourself
|selfexpire = The message when the spell expires
|othersuccess = Success message when someone else casts it
|selfsuccother = The message for a successful cast on other
|otherfailure = Fail message when someone else fails it
|selffailother = The message for a failed cast on other
|otherexpire = Expire message for someone else
|othersuccself = The message for someone's successful cast on you
|otherfailself = The message for someone's failed cast on you
|othersuccother = The message for someone's successful cast on other
|otherfailother = The message for someone's failed cast on other
|notes = Additional comments
|notes = Additional comments
}}</pre>
}}</pre>
Line 24: Line 28:
===What you enter===
===What you enter===
<pre><nowiki>{{Spell
<pre><nowiki>{{Spell
|description = Heal is the apex of curative spells for the devout Cleric. Unlike the healing spells of other alignments, heal may be cast on the caster or on another target.
|helpfile =
Heal is the apex of curative spells for the devout Cleric.
Unlike the healing spells of other alignments, heal may be
cast on the caster or on another target.
|syntax = cast heal <target>
|syntax = cast heal <target>
|type = Defense/All
|type = Curative
|mana =
|target = All
|cost = 50 mana
|damage =  
|heal = 100
|heal = 100
|restrictions = [[Devout]] only
|effect = A description of the effects of this spell
|yoursuccess = A warm feeling fills your body.
|duration = Number of rounds the effect lasts for
|yourfailure = You failed.
|minpos = the MinPos for this skill/spell
|notes = Heal is the most efficient healing spell in the game.  
|restrictions = Available to devout Clerics only.
|selfsuccself = A warm feeling fills your body.
|selffailself =
|selfexpire =
|selfsuccother = You lay a hand of healing upon <target>.
|selffailother =
|othersuccself = A warm feeling fills your body.
|otherfailself =
|othersuccother = (no message shown)
|otherfailother =
|notes = Heal is the most widely used healing spell in the game.  
}}</nowiki></pre>
}}</nowiki></pre>
===What it looks like===
===What it looks like===
{{Spell
{{Spell
|category =
|helpfile =
|description = Heal is the apex of curative spells for the devout Cleric. Unlike the healing spells of other alignments, heal may be cast on the caster or on another target.
Heal is the apex of curative spells for the devout Cleric.
Unlike the healing spells of other alignments, heal may be
cast on the caster or on another target.
|syntax = cast heal <target>
|syntax = cast heal <target>
|type = Defense/All
|type = Curative
|mana =
|target = All
|cost = 50 mana
|damage =  
|heal = 100
|heal = 100
|restrictions = [[Devout]] only
|effect =
|yoursuccess = A warm feeling fills your body.
|duration = Instantaneous
|yourfailure = You failed.
|minpos = fighting (aggressive)
|notes = Heal is the most efficient healing spell in the game.  
|restrictions = Available to devout Clerics only.
|selfsuccself = A warm feeling fills your body.
|selffailself =
|selfexpire =
|selfsuccother = You lay a hand of healing upon <target>.
|selffailother =
|othersuccself = A warm feeling fills your body.
|otherfailself =
|othersuccother = (no message shown)
|otherfailother =
|notes = Heal is the most widely used healing spell in the game.  
}}
}}

Revision as of 07:35, 10 November 2010

Default Template

When filling out a template, leave a field blank if you don't know that specific item.

{{Spell
|helpfile = The information from the helpfile
|syntax = Command syntax from help
|type = Type of spell (Offensive Damage, Support, Downspell, Curative, Utility, etc)
|target = The valid targets for this spell. Self only, All, Enemies only, Items only, etc.
|cost = Amount of mana or blood or hp required. E.g. 50 mana
|damage = Amount of damage caused (or range)
|heal = Amount of health healed (or range)
|effect = A description of the effects of this spell
|duration = Number of rounds the effect lasts for
|minpos = the MinPos for this skill/spell
|restrictions = Restrictions (Evil only/Path of the Quill/etc)
|selfsuccself = The message for a successful self-cast
|selffailself = The message for a failed self-cast
|selfexpire = The message when the spell expires
|selfsuccother = The message for a successful cast on other
|selffailother = The message for a failed cast on other
|othersuccself = The message for someone's successful cast on you
|otherfailself = The message for someone's failed cast on you
|othersuccother = The message for someone's successful cast on other
|otherfailother = The message for someone's failed cast on other
|notes = Additional comments
}}

Example

Heal

What you enter

{{Spell
|helpfile =
 Heal is the apex of curative spells for the devout Cleric.
 Unlike the healing spells of other alignments, heal may be
 cast on the caster or on another target.
|syntax = cast heal <target>
|type = Curative
|target = All
|cost = 50 mana
|damage = 
|heal = 100
|effect = A description of the effects of this spell
|duration = Number of rounds the effect lasts for
|minpos = the MinPos for this skill/spell
|restrictions = Available to devout Clerics only.
|selfsuccself = A warm feeling fills your body.
|selffailself = 
|selfexpire = 
|selfsuccother = You lay a hand of healing upon <target>.
|selffailother = 
|othersuccself = A warm feeling fills your body.
|otherfailself = 
|othersuccother = (no message shown)
|otherfailother = 
|notes = Heal is the most widely used healing spell in the game. 
}}

What it looks like

Helpfile

Heal is the apex of curative spells for the devout Cleric.
Unlike the healing spells of other alignments, heal may be
cast on the caster or on another target.

Information

  • Syntax: cast heal <target>
  • Type: Curative
  • Valid Targets: All
  • Cost: 50 mana
  • Heal: 100 hitpoints
  • Duration: Instantaneous
  • Mininum stance: fighting (aggressive)
  • Restrictions: Available to devout Clerics only.

Spell Messages

  • When you successfully cast on yourself: A warm feeling fills your body.
  • When you successfully cast on player A: You lay a hand of healing upon <target>.
  • When player A successfully casts on you: A warm feeling fills your body.
  • When player A successfully casts on player B: (no message shown)

Notes

Heal is the most widely used healing spell in the game.