Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame^] | 1 | |
| 2 | reduce_spell_points() |
| 3 | ********************* |
| 4 | |
| 5 | |
| 6 | FUNKTION |
| 7 | ======== |
| 8 | |
| 9 | void reduce_spell_points(int points) |
| 10 | |
| 11 | |
| 12 | DEFINIERT IN |
| 13 | ============ |
| 14 | |
| 15 | /std/living/life.c |
| 16 | |
| 17 | |
| 18 | ARGUMENTE |
| 19 | ========= |
| 20 | |
| 21 | points: Anzahl der Konzentrationspunkte die abgezogen werden sollen. |
| 22 | |
| 23 | |
| 24 | BESCHREIBUNG |
| 25 | ============ |
| 26 | |
| 27 | Dem Lebewesen werden points Konzentrationspunkte abgezogen. Falls |
| 28 | das Lebewesen weniger Konzentrationspunkte hat, als abgezogen werden |
| 29 | sollen, werden sie auf 0 gesetzt. |
| 30 | |
| 31 | |
| 32 | BEISPIELE |
| 33 | ========= |
| 34 | |
| 35 | write("Das boese boese Monster schaut Dich grimmig an und labt sich an " |
| 36 | +"Deiner Konzentration.\n"); |
| 37 | this_player()->reduce_spell_points(50); |
| 38 | |
| 39 | |
| 40 | SIEHE AUCH |
| 41 | ========== |
| 42 | |
| 43 | Gegenpart: restore_spell_points(L) |
| 44 | Verwandt: reduce_hit_points(L), buffer_sp(L) |
| 45 | Props: P_SP |
| 46 | Konzept: heilung |
| 47 | |
| 48 | 23.Feb.2004 Gloinson |