blob: 68c3f5867b23af85f6a05e584726ea3d404f1806 [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001reduce_spell_points()
2=====================
3
4FUNKTION
5--------
6::
7
8 void reduce_spell_points(int points)
9
10DEFINIERT IN
11------------
12::
13
14 /std/living/life.c
15
16ARGUMENTE
17---------
18::
19
20 points: Anzahl der Konzentrationspunkte die abgezogen werden sollen.
21
22BESCHREIBUNG
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
30BEISPIELE
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
38SIEHE 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
4723.Feb.2004 Gloinson
48