This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
spells [2017/08/07 04:22] saru [Learning Spells] |
spells [2018/03/31 06:37] karl [Spell paths] Formatting, sorting of paths |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Spells ===== | ===== Spells ===== | ||
==== Spell categories ==== | ==== Spell categories ==== | ||
- | Spells fall into two main categories: wizardry spells and prayers. Casting [[spells:wizardry|wizardry spells]] requires spell points and the applicable skill for each spell. Casting [[spells:praying|prayers]] requires [[:characters:grace]] from a [[gods|god]] and the [[:skills:praying|praying skill]]. | + | Spells fall into two main skill categories: Wizardry spells and Prayers. \\ |
+ | [[:spells:wizardry|Casting wizardry spells]] requires [[:characters:sp|spell points]] and the [[:skills:wizardry|applicable skill]] for each spell. \\ | ||
+ | [[:spells:praying|Casting prayers]] requires [[:characters:grace]] from a [[:gods|god]] and the [[:skills:praying|praying skill]] . | ||
==== Spell paths ==== | ==== Spell paths ==== | ||
- | Most spells also belong to a Path; and players may be [[:characters:attunement|attuned, repelled, or denied]] a particular path by their [[:races|race]], [[:classes|class]], or [[:gods|god]]. | + | Most spells also belong to a [[:spells:Path]] ; \\ |
+ | and players may be [[:characters:attunement|attuned, repelled, or denied]] a particular path \\ | ||
+ | by their [[:races|race]] , [[:classes|class]] , or [[:gods|god]] . | ||
^ Spell Paths ||||| | ^ Spell Paths ||||| | ||
- | |Mind |Creation |Teleportation |Information |Transmutation | | + | | Abjuration | Creation | Death | Detonation | Electricity | |
- | |Protection |Fire |Frost |Electricity |Missiles | | + | | Fire | Frost | Information | Light | Mind | |
- | |Self |Summoning |Abjuration |Restoration |Detonation | | + | | Missiles | Protection | Restoration | Self | Summoning | |
- | |Transference |Turning |Wounding |Death |Light | | + | | Teleportation | Transference | Transmutation | Turning | Wounding | |
Spell details and more information about the skills needed are at the following links. | Spell details and more information about the skills needed are at the following links. | ||
* Wizardry spells | * Wizardry spells | ||
- | * [[spells:evocation]] | + | * [[:spells:evocation]] |
- | * [[spells:pyromancy]] | + | * [[:spells:pyromancy]] |
- | * [[spells:sorcery]] | + | * [[:spells:sorcery]] |
- | * [[spells:summoning]] | + | * [[:spells:summoning]] |
- | * [[spells:praying|Prayers]] | + | * [[:spells:praying|Prayers]] |
- | * [[spells:index|Index]] of all spells | + | * [[:spells:Index]] of all spells |
- | * [[spells:non_player|Spells]] that are not used by players | + | * [[:spells:non_player|Spells]] that are not used by players but by devices |
==== Learning Spells ==== | ==== Learning Spells ==== | ||
- | To learn spells, players must posses both the applicable skill and the [[skills:literacy|literacy skill]]. A characters skill level in literacy must be no less than 10 levels lower than the desired spell (e.g. a level 20 spell requires at least level 10 literacy to learn). | + | To learn spells, players must posses both the applicable skill - being at least same skill level as the spell, \\ |
+ | and the [[skills:literacy|literacy skill]] . \\ | ||
+ | A characters skill level in literacy must be no less than 10 levels lower than the desired spell \\ | ||
+ | (e.g. a level 20 spell requires at least level 10 literacy to learn). \\ | ||
+ | Blessed spellbooks can be learnt 5 levels earlier than regular books. \\ | ||
+ | Cursed books remove spell points or grace and unlucky players can actually forget a spell. | ||
Characters aren't guaranteed success in learning a spell, rather a character's chance to learn a spell is: | Characters aren't guaranteed success in learning a spell, rather a character's chance to learn a spell is: | ||
Line 30: | Line 39: | ||
% chance to learn = (base chance + (2 * level))/1.5 | % chance to learn = (base chance + (2 * level))/1.5 | ||
- | Base chance is based on your [[characters:int|Intelligence (INT)]] for [[skills:wizardry]] and [[characters:wis|Wisdom (WIS)]] for [[skills:praying]]. Each stat point has the following impact on base chance: | + | Base chance is based on your [[:characters:int|Intelligence]] (INT) for [[:skills:wizardry]] and [[:characters:wis|Wisdom]] (WIS) for [[:skills:praying]] . \\ |
- | ^ # stat points ^ % Base Learn Chance ^ | + | Each stat point has the following impact on the base learn chance: |
+ | ^ # Stat Points ^ % Base Learn Chance ^ | ||
| <3 | 0% | | | <3 | 0% | | ||
| 3 | 1% | | | 3 | 1% | | ||
Line 52: | Line 62: | ||
| >19 | 100% | | | >19 | 100% | | ||
+ | ==Exceptions== | ||
+ | - While being blinded, learning a spell will always fail, except for a [[:dm_commands|DM]] . \\ | ||
+ | - While being confused, learning a spell will always fail, even for a DM. \\ | ||
+ | - Spellbooks received by [[:guides:Character Creation]] as starting equipment \\ | ||
+ | will not fail to be learnt but will not give [[:characters:exp]] points. | ||
+ | |||
+ | ==Developers== | ||
+ | Functions: | ||
+ | * Old: //apply_spellbook()// in //server/server/apply.c// | ||
+ | * New: //spellbook_type_apply()// in //server/types/spellbook/spellbook.c// | ||
===== Credits ===== | ===== Credits ===== | ||
* All information retrieved from the archetype files in the [[http://crossfire.real-time.com/svn/index.html|SVN repository]], or from the [[http://crossfire.real-time.com/spoiler/spells/index.html|Spells]] section of the main Crossfire site. | * All information retrieved from the archetype files in the [[http://crossfire.real-time.com/svn/index.html|SVN repository]], or from the [[http://crossfire.real-time.com/spoiler/spells/index.html|Spells]] section of the main Crossfire site. |