MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | FUNKTION: |
| 2 | |
| 3 | varargs int GetFactor(string vname, mapping map, object pl) |
| 4 | |
| 5 | |
| 6 | ARGUMENTE: |
| 7 | |
| 8 | vname : name des parameters aus dem spellmapping |
| 9 | map : spellmapping |
| 10 | pl : caster |
| 11 | |
| 12 | |
| 13 | BESCHREIBUNG: |
| 14 | |
| 15 | 'Berechnet' den Factor des Parameters in spellmapping. |
| 16 | |
| 17 | |
| 18 | RUECKGABEWERT: |
| 19 | |
| 20 | Berechneter Factor aus dem Spellmapping. |
| 21 | |
| 22 | |
| 23 | BEMERKUNGEN: |
| 24 | |
| 25 | Beschraekung auf 10-1000. Werte groesser oder kleiner als diese |
| 26 | werden 'abgeschnitten'. |
| 27 | |
| 28 | |
| 29 | BEISPIEL: |
| 30 | |
| 31 | xxx=GetFactor(SI_SKILLDAMAGE,sinfo,caster); |
| 32 | |
| 33 | Siehe auch: |
| 34 | |
| 35 | "GetValue", "GetOffset", "GetFValue", "GetValueO", "GetFValueO" |
| 36 | |
| 37 | Ausfuehrliches Beispiel siehe "GetFValueO". |