MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | reduce_spell_points() |
| 2 | FUNKTION: |
| 3 | void reduce_spell_points(int points) |
| 4 | |
| 5 | DEFINIERT IN: |
| 6 | /std/living/life.c |
| 7 | |
| 8 | ARGUMENTE: |
| 9 | points: Anzahl der Konzentrationspunkte die abgezogen werden sollen. |
| 10 | |
| 11 | BESCHREIBUNG: |
| 12 | Dem Lebewesen werden points Konzentrationspunkte abgezogen. Falls |
| 13 | das Lebewesen weniger Konzentrationspunkte hat, als abgezogen werden |
| 14 | sollen, werden sie auf 0 gesetzt. |
| 15 | |
| 16 | BEISPIELE: |
| 17 | write("Das boese boese Monster schaut Dich grimmig an und labt sich an " |
| 18 | +"Deiner Konzentration.\n"); |
| 19 | this_player()->reduce_spell_points(50); |
| 20 | |
| 21 | SIEHE AUCH: |
| 22 | Gegenpart: restore_spell_points(L) |
| 23 | Verwandt: reduce_hit_points(L), buffer_sp(L) |
| 24 | Props: P_SP |
| 25 | Konzept: heilung |
| 26 | |
| 27 | 23.Feb.2004 Gloinson |