User Tools

Site Tools


arch:arch_attributes:r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arch:arch_attributes:r [2018/04/11 14:55] – created karlarch:arch_attributes:r [2025/04/18 13:08] (current) – external edit 127.0.0.1
Line 2: Line 2:
 Object attributes beginning with the letter **r** . Object attributes beginning with the letter **r** .
  
-Taken from the (unsorted) wholepage [[:dev:Object Fields]] .+Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] .
  
-===== List ==+===== List of attributes ==
  
 ==== race ==== ==== race ====
 Type: const char * (shared string) Type: const char * (shared string)
  
-  * for living things: Human, goblin, dragon, etc. +Comment: Human, goblin, dragon, etc. 
-  * for SPELL with SP_RAISE_DEAD subtype, if set, then this is the name of a treasurelist of possible races in which the character will be reincarnated into+ 
 +Meaning: For "living" things. \\ 
 +For SPELL with SP_RAISE_DEAD subtype, if set, then this is the name of a treasurelist of possible races in which the character will be reincarnated into
  
 ==== randomitems ==== ==== randomitems ====
 Type: treasureliststruct * Type: treasureliststruct *
 +
 +Comment: Items to be generated 
  
 Meaning: Object might provide items from a treasure list //randomitems TREASURELIST// . \\ Meaning: Object might provide items from a treasure list //randomitems TREASURELIST// . \\
Line 21: Line 25:
 ==== range ==== ==== range ====
 Type: sint8 Type: sint8
 +
 +Comment: Range of the spell
  
 Meaning: Meaning:
Line 26: Line 32:
 ==== range_modifier ==== ==== range_modifier ====
 Type: uint8 Type: uint8
 +
 +Comment: How going up in level effects range
  
 Meaning: Meaning:
Line 31: Line 39:
 ==== resist ==== ==== resist ====
 Type: sint16[NROFATTACKS] Type: sint16[NROFATTACKS]
 +
 +Comment: Resistance adjustments for attack
  
 Meaning: Meaning:
  
 +See also [[a#attacktype]]
 +
 +=== resist_acid ===
 +=== resist_blind ===
 +=== resist_cancellation ===
 +=== resist_chaos ===
 +=== resist_cold ===
 +=== resist_confusion ===
 +=== resist_counterspell ===
 +=== resist_death ===
 +=== resist_deplete ===
 +=== resist_depletion ===
 +=== resist_drain ===
 +=== resist_electricity ===
 +=== resist_fear ===
 +=== resist_fire ===
 +=== resist_ghosthit ===
 +=== resist_godpower ===
 +=== resist_holyword ===
 +=== resist_magic ===
 +=== resist_paralyze ===
 +=== resist_physical ===
 +=== resist_poison ===
 +=== resist_slow ===
 +=== resist_turn_undead ===
 +=== resist_weaponmagic ===
  
 ==== run_away ==== ==== run_away ====
 Type: uint16 Type: uint16
 +
 +Comment: Monster runs away if it's hp goes below this percentage.
  
 Meaning: Meaning:
  
 +
 +
 +----
 +
 +====== Server struct obj {} object ==
 +These are not archetype attributes, but server internal variables. \\
 +Read more on the [[:dev:object_fields]] page.
 +
 +==== resist ====
 +Type: sint16[NROFATTACKS]
 +
 +Comment: Resistance adjustments for attack
 +
 +Meaning:
  
arch/arch_attributes/r.1523476502.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki