Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 1 | |
| 2 | SpellSuccess() |
| 3 | ************** |
| 4 | |
| 5 | |
| 6 | FUNKTION |
| 7 | ======== |
| 8 | |
| 9 | int SpellSuccess(object caster, mapping sinfo) |
| 10 | |
| 11 | |
| 12 | DEFINIERT IN |
| 13 | ============ |
| 14 | |
| 15 | /std/spellbook.c |
| 16 | |
| 17 | |
| 18 | ARGUMENTE |
| 19 | ========= |
| 20 | |
| 21 | object caster Spell sprechender Spieler |
| 22 | mapping sinfo Spell-Info-Mapping mit allen Informationen |
| 23 | |
| 24 | |
| 25 | BESCHREIBUNG |
| 26 | ============ |
| 27 | |
| 28 | Berechnet den Erfolg der Anwendung eines Spells aus seiner |
| 29 | SI_SKILLABILITY und dem Skill SK_CASTING im Spieler. Laesst |
| 30 | den Spieler bei besonders gutem Gelingen SK_CASTING lernen. |
| 31 | |
| 32 | |
| 33 | BEMERKUNGEN |
| 34 | =========== |
| 35 | |
| 36 | SK_CASTING muss fuer die SK_CASTING-Boni beherrscht werden. |
| 37 | Das ist zB im Klerus ab bestimmtem Level der Fall. |
| 38 | |
| 39 | |
| 40 | SIEHE AUCH |
| 41 | ========== |
| 42 | |
| 43 | Spellbook Lernen: Learn, Erfolg, Misserfolg |
| 44 | * Verwalten: AddSpell, QuerySpell |
| 45 | * Angriff: TryAttackSpell, TryDefaultAttackSpell, |
| 46 | TryGlobalAttackSpell |
| 47 | * Properties: P_GLOBAL_SKILLPROPS, P_SB_SPELLS |
| 48 | Skills Lernen: LearnSkill, ModifySkill, LimitAbility |
| 49 | * Nutzung: UseSpell, UseSkill |
| 50 | * sonstig: spruchermuedung, skill_info_liste |
| 51 | |
| 52 | 5. Okt 2011 Gloinson |