Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 1 | |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 2 | SetRealAttribute() |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 3 | ****************** |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 4 | |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 5 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 6 | FUNKTION |
| 7 | ======== |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 8 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 9 | int SetRealAttribute(string attr, int val) |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 10 | |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 11 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 12 | DEFINIERT IN |
| 13 | ============ |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 14 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 15 | /std/living/attributes.c |
| 16 | |
| 17 | |
| 18 | ARGUMENTE |
| 19 | ========= |
| 20 | |
| 21 | attr - zu setzendes Attribut |
| 22 | val - Wert |
| 23 | |
| 24 | |
| 25 | BESCHREIBUNG |
| 26 | ============ |
| 27 | |
| 28 | Setzt den realen Wert des Attributes, d.h. das reine Attribut, |
| 29 | wenn moeglich. Lediglich eine Alias-Methode fuer SetAttr(). |
| 30 | (QueryAttribute() gibt also val + etwaige Offsets/Modifier zurueck) |
| 31 | |
| 32 | |
| 33 | RUeCKGABEWERT |
| 34 | ============= |
| 35 | |
| 36 | Den gesetzten Wert. |
| 37 | |
| 38 | |
| 39 | BEMERKUNGEN |
| 40 | =========== |
| 41 | |
| 42 | Bitte nicht auf Spieler anwenden! |
| 43 | |
| 44 | |
| 45 | SIEHE AUCH |
| 46 | ========== |
| 47 | |
| 48 | QueryAttribute(), QueryRealAttribute(), QueryAttributeOffset(), |
| 49 | SetAttribute(), SetRealAttribute(), UpdateAttributes(), |
| 50 | SetTimedAttrModifier(), QueryTimedAttrModifier(), |
| 51 | DeleteTimedAttrModifier(), |
| 52 | P_ATTRIBUTES, P_ATTRIBUTES_OFFSETS, P_TIMED_ATTR_MOD, |
| 53 | P_X_ATTR_MOD, P_M_ATTR_MOD, /std/living/attributes.c |
| 54 | |
| 55 | Last modified: Tue Jul 27 20:00:20 2004 by Muadib |