Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame^] | 1 | |
| 2 | QueryRealAttribute() |
| 3 | ******************** |
| 4 | |
| 5 | |
| 6 | FUNKTION |
| 7 | ======== |
| 8 | |
| 9 | int QueryRealAttribute(string attr) |
| 10 | |
| 11 | |
| 12 | DEFINIERT IN |
| 13 | ============ |
| 14 | |
| 15 | /std/living/attributes.c |
| 16 | |
| 17 | |
| 18 | ARGUMENTE |
| 19 | ========= |
| 20 | |
| 21 | attr - das interessierende Attribut |
| 22 | |
| 23 | |
| 24 | BESCHREIBUNG |
| 25 | ============ |
| 26 | |
| 27 | Das reale Attribut (ohne Offsets) wird zurueckgegeben. |
| 28 | |
| 29 | |
| 30 | BEISPIELE |
| 31 | ========= |
| 32 | |
| 33 | if(this_player()->QueryRealAttribute(A_INT)>15) |
| 34 | write("Du bist auch so ganz schoen clever.\n"); |
| 35 | |
| 36 | |
| 37 | SIEHE AUCH |
| 38 | ========== |
| 39 | |
| 40 | QueryAttribute(), QueryRealAttribute(), QueryAttributeOffset(), |
| 41 | SetAttribute(), SetRealAttribute(), UpdateAttributes(), |
| 42 | SetTimedAttrModifier(), QueryTimedAttrModifier(), |
| 43 | DeleteTimedAttrModifier(), |
| 44 | P_ATTRIBUTES, P_ATTRIBUTES_OFFSETS, P_TIMED_ATTR_MOD, |
| 45 | P_X_ATTR_MOD, P_M_ATTR_MOD, /std/living/attributes.c |
| 46 | |
| 47 | Last modified: Tue Jul 27 20:00:20 2004 by Muadib |