Difference between pages "MEDIT-AFF-FLAGS AFFECTIONS AFFECTS" and "TRIGEDIT-ROOM-CAST"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''MEDIT-AFF-FLAGS AFFECTIONS AFFECTS'''
+
'''TRIGEDIT-ROOM-CAST'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
MEDIT-AFF-FLAGS AFFECTIONS AFFECTS
+
Activated if a spell is cast in the room.
  
MEDIT-AFF-FLAGS AFFECTIONS AFFECTS
 
  
MEDIT-AFF-FLAGS AFFECTIONS AFFECTS
 
  
 +
Numeric Arg : percent chance this trigger will be activated.
  
M) AFF Flags : {ccNOBITS{c0
+
Argument    : not used.
  
1)  BLIND          Mob is blind.
 
  
2)  INVIS          Mob is invisible.
 
  
3)  DET-ALIGN      Mob is sensitive to the alignment of others.
+
Used with return 0 will cause the spell not to be cast.
  
4)  DET-INVIS      Mob can see invisible characters and objects.
 
  
5)  DET-MAGIC      Mob is sensitive to magical presence.
 
  
6)  SENSE-LIFE    Mob can sense hidden life.
+
Variables:
  
7)  WATWALK        Mob can traverse unswimmable water sectors.
+
%actor%    - the caster of the spell
  
8)  SANCT          Mob is protected by sanctuary (takes half damage).
+
%spell%    - the number of the spell
  
9)  GROUP          Reserved for internal use.  Do not set.
+
%spellname% - the name of the spell
  
10) CURSE          Mob is cursed.
+
%vict%      - the target (mob/player) of the spell, if any.
  
11) INFRA          Mob can see in dark.
+
%obj%      - the target (object) of the spell, if any.
  
12) POISON        Mob is poisoned.
 
  
13) PROT-EVIL      Mob is protected from evil characters.
 
  
14) PROT-GOOD      Mob is protected from good characters.
+
Example: {cRTSTAT 57{c0
 
 
15) SLEEP          Reserved for internal use.  Do not set.
 
 
 
16) NO_TRACK      Mob cannot be tracked.
 
 
 
17) UNUSED        Unused (room for future expansion).
 
 
 
18) UNUSED        Unused (room for future expansion).
 
 
 
19) SNEAK          Mob can move quietly without room being informed.
 
 
 
20) HIDE          Mob is hidden; can only be seen with sense life.
 
 
 
21) UNUSED        Unused (room for future expansion).
 
 
 
22) CHARM          Reserved for internal use.  Do not set.
 
 
 
 
 
See Also: [[MEDIT-NPC-FLAGS]]
 

Latest revision as of 11:47, 14 July 2017

TRIGEDIT-ROOM-CAST

Activated if a spell is cast in the room.


Numeric Arg : percent chance this trigger will be activated.

Argument  : not used.


Used with return 0 will cause the spell not to be cast.


Variables:

%actor% - the caster of the spell

%spell% - the number of the spell

%spellname% - the name of the spell

%vict% - the target (mob/player) of the spell, if any.

%obj% - the target (object) of the spell, if any.


Example: {cRTSTAT 57{c0