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