blob: cddb7dad3b800ac08beae6c2b23ebe046c5c7db3 [file] [log] [blame]
Zesstra953f9972017-02-18 15:37:36 +01001
2reduce_spell_points()
3*********************
4
5
6FUNKTION
7========
8
9 void reduce_spell_points(int points)
10
11
12DEFINIERT IN
13============
14
15 /std/living/life.c
16
17
18ARGUMENTE
19=========
20
21 points: Anzahl der Konzentrationspunkte die abgezogen werden sollen.
22
23
24BESCHREIBUNG
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
32BEISPIELE
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
40SIEHE 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
4823.Feb.2004 Gloinson