Archives des forums MMO/MMORPG > Neverwinter Nights > NWN - Maskado > [NWScript] Liste des contantes
[NWScript] Liste des contantes
Par Daynos le 27/5/2002 à 22:03:35 (#1539220)
#define ENGINE_NUM_STRUCTURES 4
#define ENGINE_STRUCTURE_0 effect
#define ENGINE_STRUCTURE_1 event
#define ENGINE_STRUCTURE_2 location
#define ENGINE_STRUCTURE_3 talent
// Constantes
int NUM_INVENTORY_SLOTS= 18;
int TRUE = 1;
int FALSE = 0;
float DIRECTION_EAST = 0.0;
float DIRECTION_NORTH = 90.0;
float DIRECTION_WEST = 180.0;
float DIRECTION_SOUTH = 270.0;
float PI = 3.141592;
int ATTITUDE_NEUTRAL = 0;
int ATTITUDE_AGGRESSIVE = 1;
int ATTITUDE_DEFENSIVE = 2;
int ATTITUDE_SPECIAL = 3;
int TALKVOLUME_TALK = 0;
int TALKVOLUME_WHISPER = 1;
int TALKVOLUME_SHOUT = 2;
int TALKVOLUME_SILENT_TALK = 3;
int TALKVOLUME_SILENT_SHOUT = 4;
int INVENTORY_SLOT_HEAD= 0;
int INVENTORY_SLOT_CHEST= 1;
int INVENTORY_SLOT_BOOTS= 2;
int INVENTORY_SLOT_ARMS= 3;
int INVENTORY_SLOT_RIGHTHAND= 4;
int INVENTORY_SLOT_LEFTHAND= 5;
int INVENTORY_SLOT_CLOAK= 6;
int INVENTORY_SLOT_LEFTRING= 7;
int INVENTORY_SLOT_RIGHTRING= 8;
int INVENTORY_SLOT_NECK = 9;
int INVENTORY_SLOT_BELT = 10;
int INVENTORY_SLOT_ARROWS = 11;
int INVENTORY_SLOT_BULLETS = 12;
int INVENTORY_SLOT_BOLTS = 13;
int INVENTORY_SLOT_CWEAPON_L = 14;
int INVENTORY_SLOT_CWEAPON_R = 15;
int INVENTORY_SLOT_CWEAPON_B = 16;
int INVENTORY_SLOT_CARMOUR = 17;
Par Daynos le 27/5/2002 à 22:05:04 (#1539230)
// Effect type constants
int DURATION_TYPE_INSTANT = 0;
int DURATION_TYPE_TEMPORARY = 1;
int DURATION_TYPE_PERMANENT = 2;
int SUBTYPE_MAGICAL = 8;
int SUBTYPE_SUPERNATURAL = 16;
int SUBTYPE_EXTRAORDINARY = 24;
int ABILITY_STRENGTH = 0;
int ABILITY_DEXTERITY = 1;
int ABILITY_CONSTITUTION = 2;
int ABILITY_INTELLIGENCE = 3;
int ABILITY_WISDOM = 4;
int ABILITY_CHARISMA = 5;
int SHAPE_SPELLCYLINDER = 0;
int SHAPE_CONE = 1;
int SHAPE_CUBE = 2;
int SHAPE_SPELLCONE = 3;
int SHAPE_SPHERE = 4;
int METAMAGIC_NONE = 0;
int METAMAGIC_EMPOWER = 1;
int METAMAGIC_EXTEND = 2;
int METAMAGIC_MAXIMIZE = 4;
int METAMAGIC_QUICKEN = 8;
int METAMAGIC_SILENT = 16;
int METAMAGIC_STILL = 32;
int METAMAGIC_ANY = 255;
int OBJECT_TYPE_CREATURE = 1;
int OBJECT_TYPE_ITEM = 2;
int OBJECT_TYPE_TRIGGER = 4;
int OBJECT_TYPE_DOOR = 8;
int OBJECT_TYPE_AREA_OF_EFFECT = 16;
int OBJECT_TYPE_WAYPOINT = 32;
int OBJECT_TYPE_PLACEABLE = 64;
int OBJECT_TYPE_STORE = 128;
int OBJECT_TYPE_ALL = 32767;
int OBJECT_TYPE_INVALID = 32767;
int GENDER_MALE = 0;
int GENDER_FEMALE = 1;
int GENDER_BOTH = 2;
int GENDER_OTHER = 3;
int GENDER_NONE = 4;
int DAMAGE_TYPE_BLUDGEONING = 1;
int DAMAGE_TYPE_PIERCING = 2;
int DAMAGE_TYPE_SLASHING = 4;
int DAMAGE_TYPE_MAGICAL = 8;
int DAMAGE_TYPE_ACID = 16;
int DAMAGE_TYPE_COLD = 32;
int DAMAGE_TYPE_DIVINE = 64;
int DAMAGE_TYPE_ELECTRICAL = 128;
int DAMAGE_TYPE_FIRE = 256;
int DAMAGE_TYPE_NEGATIVE = 512;
int DAMAGE_TYPE_POSITIVE = 1024;
int DAMAGE_TYPE_SONIC = 2048;
int DAMAGE_BONUS_1 = 1;
int DAMAGE_BONUS_2 = 2;
int DAMAGE_BONUS_3 = 3;
int DAMAGE_BONUS_4 = 4;
int DAMAGE_BONUS_5 = 5;
int DAMAGE_BONUS_1d4 = 6;
int DAMAGE_BONUS_1d6 = 7;
int DAMAGE_BONUS_1d8 = 8;
int DAMAGE_BONUS_1d10 = 9;
int DAMAGE_BONUS_2d6 = 10;
int DAMAGE_POWER_NORMAL = 0;
int DAMAGE_POWER_PLUS_ONE = 1;
int DAMAGE_POWER_PLUS_TWO = 2;
int DAMAGE_POWER_PLUS_THREE = 3;
int DAMAGE_POWER_PLUS_FOUR = 4;
int DAMAGE_POWER_PLUS_FIVE = 5;
int DAMAGE_POWER_ENERGY = 6;
int ATTACK_BONUS_MISC = 0;
int ATTACK_BONUS_ONHAND = 1;
int ATTACK_BONUS_OFFHAND = 2;
int AC_DODGE_BONUS = 0;
int AC_NATURAL_BONUS = 1;
int AC_ARMOUR_ENCHANTMENT_BONUS = 2;
int AC_SHIELD_ENCHANTMENT_BONUS = 3;
int AC_DEFLECTION_BONUS = 4;
int DOOR_ACTION_OPEN = 0;
int DOOR_ACTION_UNLOCK = 1;
int DOOR_ACTION_BASH = 2;
int DOOR_ACTION_IGNORE = 3;
int DOOR_ACTION_KNOCK = 4;
int PLACEABLE_ACTION_USE = 0;
int PLACEABLE_ACTION_UNLOCK = 1;
int PLACEABLE_ACTION_BASH = 2;
int PLACEABLE_ACTION_KNOCK = 4;
int RACIAL_TYPE_DWARF = 0;
int RACIAL_TYPE_ELF = 1;
int RACIAL_TYPE_GNOME = 2;
int RACIAL_TYPE_HALFLING = 3;
int RACIAL_TYPE_HALFELF = 4;
int RACIAL_TYPE_HALFORC = 5;
int RACIAL_TYPE_HUMAN = 6;
int RACIAL_TYPE_ABERRATION = 7;
int RACIAL_TYPE_ANIMAL = 8;
int RACIAL_TYPE_BEAST = 9;
int RACIAL_TYPE_CONSTRUCT = 10;
int RACIAL_TYPE_DRAGON = 11;
int RACIAL_TYPE_HUMANOID_GOBLINOID = 12;
int RACIAL_TYPE_HUMANOID_MONSTROUS = 13;
int RACIAL_TYPE_HUMANOID_ORC = 14;
int RACIAL_TYPE_HUMANOID_REPTILIAN = 15;
int RACIAL_TYPE_ELEMENTAL = 16;
int RACIAL_TYPE_FEY = 17;
int RACIAL_TYPE_GIANT = 18;
int RACIAL_TYPE_MAGICAL_BEAST = 19;
int RACIAL_TYPE_OUTSIDER = 20;
int RACIAL_TYPE_SHAPECHANGER = 23;
int RACIAL_TYPE_UNDEAD = 24;
int RACIAL_TYPE_VERMIN = 25;
int RACIAL_TYPE_ALL = 28;
int RACIAL_TYPE_INVALID = 29;
int ALIGNMENT_ALL = 0;
int ALIGNMENT_NEUTRAL = 1;
int ALIGNMENT_LAWFUL = 2;
int ALIGNMENT_CHAOTIC = 3;
int ALIGNMENT_GOOD = 4;
int ALIGNMENT_EVIL = 5;
int SAVING_THROW_ALL = 0;
int SAVING_THROW_FORT = 1;
int SAVING_THROW_REFLEX = 2;
int SAVING_THROW_WILL = 3;
int SAVING_THROW_TYPE_ALL = 0;
int SAVING_THROW_TYPE_NONE = 0;
int SAVING_THROW_TYPE_MIND_SPELLS = 1;
int SAVING_THROW_TYPE_POISON = 2;
int SAVING_THROW_TYPE_DISEASE = 3;
int SAVING_THROW_TYPE_FEAR = 4;
int SAVING_THROW_TYPE_SONIC = 5;
int SAVING_THROW_TYPE_ACID = 6;
int SAVING_THROW_TYPE_FIRE = 7;
int SAVING_THROW_TYPE_ELECTRICITY = 8;
int SAVING_THROW_TYPE_POSITIVE = 9;
int SAVING_THROW_TYPE_NEGATIVE = 10;
int SAVING_THROW_TYPE_DEATH = 11;
int SAVING_THROW_TYPE_COLD = 12;
int SAVING_THROW_TYPE_DIVINE = 13;
int SAVING_THROW_TYPE_TRAP = 14;
int SAVING_THROW_TYPE_SPELL = 15;
int SAVING_THROW_TYPE_GOOD = 16;
int SAVING_THROW_TYPE_EVIL = 17;
int SAVING_THROW_TYPE_LAW = 18;
int SAVING_THROW_TYPE_CHAOS = 19;
int IMMUNITY_TYPE_NONE = 0;
int IMMUNITY_TYPE_MIND_SPELLS = 1;
int IMMUNITY_TYPE_POISON = 2;
int IMMUNITY_TYPE_DISEASE = 3;
int IMMUNITY_TYPE_FEAR = 4;
int IMMUNITY_TYPE_TRAP = 5;
int IMMUNITY_TYPE_PARALYSIS = 6;
int IMMUNITY_TYPE_BLINDNESS = 7;
int IMMUNITY_TYPE_DEAFNESS = 8;
int IMMUNITY_TYPE_SLOW = 9;
int IMMUNITY_TYPE_ENTANGLE = 10;
int IMMUNITY_TYPE_SILENCE = 11;
int IMMUNITY_TYPE_STUN = 12;
int IMMUNITY_TYPE_SLEEP = 13;
int IMMUNITY_TYPE_CHARM = 14;
int IMMUNITY_TYPE_DOMINATE = 15;
int IMMUNITY_TYPE_CONFUSED = 16;
int IMMUNITY_TYPE_CURSED = 17;
int IMMUNITY_TYPE_DAZED = 18;
int IMMUNITY_TYPE_ABILITY_DECREASE = 19;
int IMMUNITY_TYPE_ATTACK_DECREASE = 20;
int IMMUNITY_TYPE_DAMAGE_DECREASE = 21;
int IMMUNITY_TYPE_DAMAGE_IMMUNITY_DECREASE = 22;
int IMMUNITY_TYPE_AC_DECREASE = 23;
int IMMUNITY_TYPE_MOVEMENT_SPEED_DECREASE = 24;
int IMMUNITY_TYPE_SAVING_THROW_DECREASE = 25;
int IMMUNITY_TYPE_SPELL_RESISTANCE_DECREASE = 26;
int IMMUNITY_TYPE_SKILL_DECREASE = 27;
int IMMUNITY_TYPE_KNOCKDOWN = 28;
int IMMUNITY_TYPE_NEGATIVE_LEVEL = 29;
int IMMUNITY_TYPE_SNEAK_ATTACK = 30;
int IMMUNITY_TYPE_CRITICAL_HIT = 31;
int IMMUNITY_TYPE_DEATH = 32;
int AREA_TRANSITION_RANDOM = 0;
int AREA_TRANSITION_USER_DEFINED = 1;
int AREA_TRANSITION_CITY = 2;
int AREA_TRANSITION_RURAL = 3;
int AREA_TRANSITION_FOREST = 4;
int AREA_TRANSITION_CRYPT = 5;
int BODY_NODE_HAND = 0;
int BODY_NODE_CHEST = 1;
float RADIUS_SIZE_SMALL = 1.67f;
float RADIUS_SIZE_MEDIUM = 3.33f;
float RADIUS_SIZE_LARGE = 5.0f;
float RADIUS_SIZE_HUGE = 6.67f;
float RADIUS_SIZE_GARGANTUAN = 8.33f;
float RADIUS_SIZE_COLOSSAL = 10.0f;
int EFFECT_TYPE_INVALIDEFFECT = 0;
int EFFECT_TYPE_DAMAGE_RESISTANCE = 1;
//int EFFECT_TYPE_ABILITY_BONUS = 2;
int EFFECT_TYPE_REGENERATE = 3;
//int EFFECT_TYPE_SAVING_THROW_BONUS = 4;
//int EFFECT_TYPE_MODIFY_AC = 5;
//int EFFECT_TYPE_ATTACK_BONUS = 6;
int EFFECT_TYPE_DAMAGE_REDUCTION = 7;
//int EFFECT_TYPE_DAMAGE_BONUS = 8;
int EFFECT_TYPE_TEMPORARY_HITPOINTS = 9;
//int EFFECT_TYPE_DAMAGE_IMMUNITY = 10;
int EFFECT_TYPE_ENTANGLE = 11;
int EFFECT_TYPE_INVULNERABLE = 12;
int EFFECT_TYPE_DEAF = 13;
int EFFECT_TYPE_RESURRECTION = 14;
int EFFECT_TYPE_IMMUNITY = 15;
//int EFFECT_TYPE_BLIND = 16;
int EFFECT_TYPE_ENEMY_ATTACK_BONUS = 17;
int EFFECT_TYPE_ARCANE_SPELL_FAILURE = 18;
//int EFFECT_TYPE_MOVEMENT_SPEED = 19;
int EFFECT_TYPE_AREA_OF_EFFECT = 20;
int EFFECT_TYPE_BEAM = 21;
//int EFFECT_TYPE_SPELL_RESISTANCE = 22;
int EFFECT_TYPE_CHARMED = 23;
int EFFECT_TYPE_CONFUSED = 24;
int EFFECT_TYPE_FRIGHTENED = 25;
int EFFECT_TYPE_DOMINATED = 26;
int EFFECT_TYPE_PARALYZE = 27;
int EFFECT_TYPE_DAZED = 28;
int EFFECT_TYPE_STUNNED = 29;
int EFFECT_TYPE_SLEEP = 30;
int EFFECT_TYPE_POISON = 31;
int EFFECT_TYPE_DISEASE = 32;
int EFFECT_TYPE_CURSE = 33;
int EFFECT_TYPE_SILENCE = 34;
int EFFECT_TYPE_TURNED = 35;
int EFFECT_TYPE_HASTE = 36;
int EFFECT_TYPE_SLOW = 37;
int EFFECT_TYPE_ABILITY_INCREASE = 38;
int EFFECT_TYPE_ABILITY_DECREASE = 39;
int EFFECT_TYPE_ATTACK_INCREASE = 40;
int EFFECT_TYPE_ATTACK_DECREASE = 41;
int EFFECT_TYPE_DAMAGE_INCREASE = 42;
int EFFECT_TYPE_DAMAGE_DECREASE = 43;
int EFFECT_TYPE_DAMAGE_IMMUNITY_INCREASE = 44;
int EFFECT_TYPE_DAMAGE_IMMUNITY_DECREASE = 45;
int EFFECT_TYPE_AC_INCREASE = 46;
int EFFECT_TYPE_AC_DECREASE = 47;
int EFFECT_TYPE_MOVEMENT_SPEED_INCREASE = 48;
int EFFECT_TYPE_MOVEMENT_SPEED_DECREASE = 49;
int EFFECT_TYPE_SAVING_THROW_INCREASE = 50;
int EFFECT_TYPE_SAVING_THROW_DECREASE = 51;
int EFFECT_TYPE_SPELL_RESISTANCE_INCREASE = 52;
int EFFECT_TYPE_SPELL_RESISTANCE_DECREASE = 53;
int EFFECT_TYPE_SKILL_INCREASE = 54;
int EFFECT_TYPE_SKILL_DECREASE = 55;
int EFFECT_TYPE_INVISIBILITY = 56;
int EFFECT_TYPE_IMPROVEDINVISIBILITY = 57;
int EFFECT_TYPE_DARKNESS = 58;
int EFFECT_TYPE_DISPELMAGICALL = 59;
int EFFECT_TYPE_ELEMENTALSHIELD = 60;
int EFFECT_TYPE_NEGATIVELEVEL = 61;
int EFFECT_TYPE_POLYMORPH = 62;
int EFFECT_TYPE_SANCTUARY = 63;
int EFFECT_TYPE_TRUESEEING = 64;
int EFFECT_TYPE_SEEINVISIBLE = 65;
int EFFECT_TYPE_TIMESTOP = 66;
int EFFECT_TYPE_BLINDNESS = 67;
int EFFECT_TYPE_SPELLLEVELABSORPTION = 68;
int EFFECT_TYPE_DISPELMAGICBEST = 69;
int EFFECT_TYPE_ULTRAVISION = 70;
int EFFECT_TYPE_MISS_CHANCE = 71;
int EFFECT_TYPE_CONCEALMENT = 72;
int EFFECT_TYPE_SPELL_IMMUNITY = 73;
int ITEM_PROPERTY_ABILITY_BONUS = 0 ;
int ITEM_PROPERTY_AC_BONUS = 1 ;
int ITEM_PROPERTY_AC_BONUS_VS_ALIGNMENT_GROUP = 2 ;
int ITEM_PROPERTY_AC_BONUS_VS_DAMAGE_TYPE = 3 ;
int ITEM_PROPERTY_AC_BONUS_VS_RACIAL_GROUP = 4 ;
int ITEM_PROPERTY_AC_BONUS_VS_SPECIFIC_ALIGNMENT = 5 ;
int ITEM_PROPERTY_ENHANCEMENT_BONUS = 6 ;
int ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_ALIGNMENT_GROUP = 7 ;
int ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_RACIAL_GROUP = 8 ;
int ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_SPECIFIC_ALIGNEMENT = 9 ;
int ITEM_PROPERTY_DECREASED_ENHANCEMENT_MODIFIER = 10 ;
int ITEM_PROPERTY_BASE_ITEM_WEIGHT_REDUCTION = 11 ;
int ITEM_PROPERTY_BONUS_FEAT = 12 ;
int ITEM_PROPERTY_BONUS_SPELL_SLOT_OF_LEVEL_N = 13 ;
int ITEM_PROPERTY_BOOMERANG = 14 ;
int ITEM_PROPERTY_CAST_SPELL = 15 ;
int ITEM_PROPERTY_DAMAGE_BONUS = 16 ;
int ITEM_PROPERTY_DAMAGE_BONUS_VS_ALIGNMENT_GROUP = 17 ;
int ITEM_PROPERTY_DAMAGE_BONUS_VS_RACIAL_GROUP = 18 ;
int ITEM_PROPERTY_DAMAGE_BONUS_VS_SPECIFIC_ALIGNMENT = 19 ;
int ITEM_PROPERTY_IMMUNITY_DAMAGE_TYPE = 20 ;
int ITEM_PROPERTY_DECREASED_DAMAGE = 21 ;
int ITEM_PROPERTY_DAMAGE_REDUCTION = 22 ;
int ITEM_PROPERTY_DAMAGE_RESISTANCE = 23 ;
int ITEM_PROPERTY_DAMAGE_VULNERABILITY = 24 ;
int ITEM_PROPERTY_DANCING = 25 ;
int ITEM_PROPERTY_DARKVISION = 26 ;
int ITEM_PROPERTY_DECREASED_ABILITY_SCORE = 27 ;
int ITEM_PROPERTY_DECREASED_AC = 28 ;
int ITEM_PROPERTY_DECREASED_SKILL_MODIFIER = 29 ;
int ITEM_PROPERTY_DOUBLE_STACK = 30 ;
int ITEM_PROPERTY_ENHANCED_CONTAINER_BONUS_SLOTS = 31 ;
int ITEM_PROPERTY_ENHANCED_CONTAINER_REDUCED_WEIGHT = 32 ;
int ITEM_PROPERTY_EXTRA_MELEE_DAMAGE_TYPE = 33 ;
int ITEM_PROPERTY_EXTRA_RANGED_DAMAGE_TYPE = 34 ;
int ITEM_PROPERTY_HASTE = 35 ;
int ITEM_PROPERTY_HOLY_AVENGER = 36 ;
int ITEM_PROPERTY_IMMUNITY_MISCELLANEOUS = 37 ;
int ITEM_PROPERTY_IMPROVED_EVASION = 38 ;
int ITEM_PROPERTY_SPELL_RESISTANCE = 39 ;
int ITEM_PROPERTY_SAVING_THROW_BONUS = 40 ;
int ITEM_PROPERTY_SAVING_THROW_BONUS_SPECIFIC = 41 ;
int ITEM_PROPERTY_KEEN = 43 ;
int ITEM_PROPERTY_LIGHT = 44 ;
int ITEM_PROPERTY_MIGHTY = 45 ;
int ITEM_PROPERTY_MIND_BLANK = 46 ;
int ITEM_PROPERTY_NO_DAMAGE = 47 ;
int ITEM_PROPERTY_ON_HIT_PROPERTIES = 48 ;
int ITEM_PROPERTY_DECREASED_SAVING_THROWS = 49 ;
int ITEM_PROPERTY_DECREASED_SAVING_THROWS_SPECIFIC = 50 ;
int ITEM_PROPERTY_REGENERATION = 51 ;
int ITEM_PROPERTY_SKILL_BONUS = 52 ;
int ITEM_PROPERTY_IMMUNITY_SPECIFIC_SPELL = 53 ;
int ITEM_PROPERTY_IMMUNITY_SPELL_SCHOOL = 54 ;
int ITEM_PROPERTY_THIEVES_TOOLS = 55 ;
int ITEM_PROPERTY_ATTACK_BONUS = 56 ;
int ITEM_PROPERTY_ATTACK_BONUS_VS_ALIGNMENT_GROUP = 57 ;
int ITEM_PROPERTY_ATTACK_BONUS_VS_RACIAL_GROUP = 58 ;
int ITEM_PROPERTY_ATTACK_BONUS_VS_SPECIFIC_ALIGNMENT = 59 ;
int ITEM_PROPERTY_DECREASED_ATTACK_MODIFIER = 60 ;
int ITEM_PROPERTY_UNLIMITED_AMMUNITION = 61 ;
int ITEM_PROPERTY_USE_LIMITATION_ALIGNMENT_GROUP = 62 ;
int ITEM_PROPERTY_USE_LIMITATION_CLASS = 63 ;
int ITEM_PROPERTY_USE_LIMITATION_RACIAL_TYPE = 64 ;
int ITEM_PROPERTY_USE_LIMITATION_SPECIFIC_ALIGNMENT = 65 ;
int ITEM_PROPERTY_USE_LIMITATION_TILESET = 66 ;
int ITEM_PROPERTY_REGENERATION_VAMPIRIC = 67 ;
int ITEM_PROPERTY_VORPAL = 68 ;
int ITEM_PROPERTY_WOUNDING = 69 ;
int ITEM_PROPERTY_TRAP = 70 ;
int ITEM_PROPERTY_TRUE_SEEING = 71 ;
int ITEM_PROPERTY_ON_MONSTER_HIT = 72 ;
int ITEM_PROPERTY_TURN_RESISTANCE = 73 ;
int ITEM_PROPERTY_MASSIVE_CRITICALS = 74 ;
int ITEM_PROPERTY_FREEDOM_OF_MOVEMENT = 75 ;
int ITEM_PROPERTY_POISON = 76 ;
int ITEM_PROPERTY_MONSTER_DAMAGE = 77 ;
int ITEM_PROPERTY_IMMUNITY_SPELLS_BY_LEVEL = 78 ;
int BASE_ITEM_SHORTSWORD = 0;
int BASE_ITEM_LONGSWORD = 1;
int BASE_ITEM_BATTLEAXE = 2;
int BASE_ITEM_BASTARDSWORD = 3;
int BASE_ITEM_LIGHTFLAIL = 4;
int BASE_ITEM_WARHAMMER = 5;
int BASE_ITEM_HEAVYCROSSBOW = 6;
int BASE_ITEM_LIGHTCROSSBOW = 7;
int BASE_ITEM_LONGBOW = 8;
int BASE_ITEM_LIGHTMACE = 9;
int BASE_ITEM_HALBERD = 10;
int BASE_ITEM_SHORTBOW = 11;
int BASE_ITEM_TWOBLADEDSWORD = 12;
int BASE_ITEM_GREATSWORD = 13;
int BASE_ITEM_SMALLSHIELD = 14;
int BASE_ITEM_TORCH = 15;
int BASE_ITEM_ARMOR = 16;
int BASE_ITEM_HELMET = 17;
int BASE_ITEM_GREATAXE = 18;
int BASE_ITEM_AMULET = 19;
int BASE_ITEM_ARROW = 20;
int BASE_ITEM_BELT = 21;
int BASE_ITEM_DAGGER = 22;
int BASE_ITEM_MISCSMALL = 24;
int BASE_ITEM_BOLT = 25;
int BASE_ITEM_BOOTS = 26;
int BASE_ITEM_BULLET = 27;
int BASE_ITEM_CLUB = 28;
int BASE_ITEM_MISCMEDIUM = 29;
int BASE_ITEM_DART = 31;
int BASE_ITEM_DIREMACE = 32;
int BASE_ITEM_DOUBLEAXE = 33;
int BASE_ITEM_MISCLARGE = 34;
int BASE_ITEM_HEAVYFLAIL = 35;
int BASE_ITEM_GLOVES = 36;
int BASE_ITEM_LIGHTHAMMER = 37;
int BASE_ITEM_HANDAXE = 38;
int BASE_ITEM_HEALERSKIT = 39;
int BASE_ITEM_KAMA = 40;
int BASE_ITEM_KATANA = 41;
int BASE_ITEM_KUKRI = 42;
int BASE_ITEM_MISCTALL = 43;
int BASE_ITEM_MAGICROD = 44;
int BASE_ITEM_MAGICSTAFF = 45;
int BASE_ITEM_MAGICWAND = 46;
int BASE_ITEM_MORNINGSTAR = 47;
int BASE_ITEM_POTIONS = 49;
int BASE_ITEM_QUARTERSTAFF = 50;
int BASE_ITEM_RAPIER = 51;
int BASE_ITEM_RING = 52;
int BASE_ITEM_SCIMITAR = 53;
int BASE_ITEM_SCROLL = 54;
int BASE_ITEM_SCYTHE = 55;
int BASE_ITEM_LARGESHIELD = 56;
int BASE_ITEM_TOWERSHIELD = 57;
int BASE_ITEM_SHORTSPEAR = 58;
int BASE_ITEM_SHURIKEN = 59;
int BASE_ITEM_SICKLE = 60;
int BASE_ITEM_SLING = 61;
int BASE_ITEM_THIEVESTOOLS = 62;
int BASE_ITEM_THROWINGAXE = 63;
int BASE_ITEM_TRAPKIT = 64;
int BASE_ITEM_KEY = 65;
int BASE_ITEM_LARGEBOX = 66;
int BASE_ITEM_MISCWIDE = 68;
int BASE_ITEM_CSLASHWEAPON = 69;
int BASE_ITEM_CPIERCWEAPON = 70;
int BASE_ITEM_CBLUDGWEAPON = 71;
int BASE_ITEM_CSLSHPRCWEAP = 72;
int BASE_ITEM_CREATUREITEM = 73;
int BASE_ITEM_BOOK = 74;
int BASE_ITEM_SPELLSCROLL = 75;
int BASE_ITEM_GOLD = 76;
int BASE_ITEM_GEM = 77;
int BASE_ITEM_BRACER = 78;
int BASE_ITEM_MISCTHIN = 79;
int BASE_ITEM_CLOAK = 80;
int BASE_ITEM_INVALID = 256;
Par Daynos le 27/5/2002 à 22:06:52 (#1539245)
int VFX_NONE = -1;
int VFX_DUR_BLUR = 0;
int VFX_DUR_DARKNESS = 1;
int VFX_DUR_ENTANGLE = 2;
int VFX_DUR_FREEDOM_OF_MOVEMENT = 3;
int VFX_DUR_GLOBE_INVULNERABILITY = 4;
int VFX_DUR_BLACKOUT = 5;
int VFX_DUR_INVISIBILITY = 6;
int VFX_DUR_MIND_AFFECTING_NEGATIVE = 7;
int VFX_DUR_MIND_AFFECTING_POSITIVE = 8;
int VFX_DUR_GHOSTLY_VISAGE = 9;
int VFX_DUR_ETHEREAL_VISAGE = 10;
int VFX_DUR_PROT_BARKSKIN = 11;
int VFX_DUR_PROT_GREATER_STONESKIN = 12;
int VFX_DUR_PROT_PREMONITION = 13;
int VFX_DUR_PROT_SHADOW_ARMOR = 14;
int VFX_DUR_PROT_STONESKIN = 15;
int VFX_DUR_SANCTUARY = 16;
int VFX_DUR_WEB = 17;
int VFX_FNF_BLINDDEAF = 18;
int VFX_FNF_DISPEL = 19;
int VFX_FNF_DISPEL_DISJUNCTION = 20;
int VFX_FNF_DISPEL_GREATER = 21 ;
int VFX_FNF_FIREBALL = 22 ;
int VFX_FNF_FIRESTORM = 23 ;
int VFX_FNF_IMPLOSION = 24 ;
//int VFX_FNF_MASS_HASTE = 25 ;
int VFX_FNF_MASS_HEAL = 26 ;
int VFX_FNF_MASS_MIND_AFFECTING = 27 ;
int VFX_FNF_METEOR_SWARM = 28 ;
int VFX_FNF_NATURES_BALANCE = 29 ;
int VFX_FNF_PWKILL = 30 ;
int VFX_FNF_PWSTUN = 31 ;
int VFX_FNF_SUMMON_GATE = 32 ;
int VFX_FNF_SUMMON_MONSTER_1 = 33 ;
int VFX_FNF_SUMMON_MONSTER_2 = 34 ;
int VFX_FNF_SUMMON_MONSTER_3 = 35 ;
int VFX_FNF_SUMMON_UNDEAD = 36 ;
int VFX_FNF_SUNBEAM = 37 ;
int VFX_FNF_TIME_STOP = 38 ;
int VFX_FNF_WAIL_O_BANSHEES = 39 ;
int VFX_FNF_WEIRD = 40 ;
int VFX_FNF_WORD = 41 ;
int VFX_IMP_AC_BONUS = 42 ;
int VFX_IMP_ACID_L = 43 ;
int VFX_IMP_ACID_S = 44 ;
//int VFX_IMP_ALTER_WEAPON = 45 ;
int VFX_IMP_BLIND_DEAF_M = 46 ;
int VFX_IMP_BREACH = 47 ;
int VFX_IMP_CONFUSION_S = 48 ;
int VFX_IMP_DAZED_S = 49 ;
int VFX_IMP_DEATH = 50 ;
int VFX_IMP_DISEASE_S = 51 ;
int VFX_IMP_DISPEL = 52 ;
int VFX_IMP_DISPEL_DISJUNCTION = 53 ;
int VFX_IMP_DIVINE_STRIKE_FIRE = 54 ;
int VFX_IMP_DIVINE_STRIKE_HOLY = 55 ;
int VFX_IMP_DOMINATE_S = 56 ;
int VFX_IMP_DOOM = 57 ;
int VFX_IMP_FEAR_S = 58 ;
//int VFX_IMP_FLAME_L = 59 ;
int VFX_IMP_FLAME_M = 60 ;
int VFX_IMP_FLAME_S = 61 ;
int VFX_IMP_FROST_L = 62 ;
int VFX_IMP_FROST_S = 63 ;
int VFX_IMP_GREASE = 64 ;
int VFX_IMP_HASTE = 65 ;
int VFX_IMP_HEALING_G = 66 ;
int VFX_IMP_HEALING_L = 67 ;
int VFX_IMP_HEALING_M = 68 ;
int VFX_IMP_HEALING_S = 69 ;
int VFX_IMP_HEALING_X = 70 ;
int VFX_IMP_HOLY_AID = 71 ;
int VFX_IMP_KNOCK = 72 ;
int VFX_BEAM_LIGHTNING = 73 ;
int VFX_IMP_LIGHTNING_M = 74 ;
int VFX_IMP_LIGHTNING_S = 75 ;
int VFX_IMP_MAGBLUE = 76 ;
//int VFX_IMP_MAGBLUE2 = 77 ;
//int VFX_IMP_MAGBLUE3 = 78 ;
//int VFX_IMP_MAGBLUE4 = 79 ;
//int VFX_IMP_MAGBLUE5 = 80 ;
int VFX_IMP_NEGATIVE_ENERGY = 81 ;
int VFX_DUR_PARALYZE_HOLD = 82 ;
int VFX_IMP_POISON_L = 83 ;
int VFX_IMP_POISON_S = 84 ;
int VFX_IMP_POLYMORPH = 85 ;
int VFX_IMP_PULSE_COLD = 86 ;
int VFX_IMP_PULSE_FIRE = 87 ;
int VFX_IMP_PULSE_HOLY = 88 ;
int VFX_IMP_PULSE_NEGATIVE = 89 ;
int VFX_IMP_RAISE_DEAD = 90 ;
int VFX_IMP_REDUCE_ABILITY_SCORE = 91 ;
int VFX_IMP_REMOVE_CONDITION = 92 ;
int VFX_IMP_SILENCE = 93 ;
int VFX_IMP_SLEEP = 94 ;
int VFX_IMP_SLOW = 95 ;
int VFX_IMP_SONIC = 96 ;
int VFX_IMP_STUN = 97 ;
int VFX_IMP_SUNSTRIKE = 98 ;
int VFX_IMP_UNSUMMON = 99 ;
int VFX_COM_SPECIAL_BLUE_RED = 100 ;
int VFX_COM_SPECIAL_PINK_ORANGE = 101 ;
int VFX_COM_SPECIAL_RED_WHITE = 102 ;
int VFX_COM_SPECIAL_RED_ORANGE = 103 ;
int VFX_COM_SPECIAL_WHITE_BLUE = 104 ;
int VFX_COM_SPECIAL_WHITE_ORANGE = 105 ;
int VFX_COM_BLOOD_REG_WIMP = 106 ;
int VFX_COM_BLOOD_LRG_WIMP = 107 ;
int VFX_COM_BLOOD_CRT_WIMP = 108 ;
int VFX_COM_BLOOD_REG_RED = 109 ;
int VFX_COM_BLOOD_REG_GREEN = 110 ;
int VFX_COM_BLOOD_REG_YELLOW = 111 ;
int VFX_COM_BLOOD_LRG_RED = 112 ;
int VFX_COM_BLOOD_LRG_GREEN = 113 ;
int VFX_COM_BLOOD_LRG_YELLOW = 114 ;
int VFX_COM_BLOOD_CRT_RED = 115 ;
int VFX_COM_BLOOD_CRT_GREEN = 116 ;
int VFX_COM_BLOOD_CRT_YELLOW = 117 ;
int VFX_COM_SPARKS_PARRY = 118 ;
//int VFX_COM_GIB = 119 ;
int VFX_COM_UNLOAD_MODEL = 120 ;
int VFX_COM_CHUNK_RED_SMALL = 121 ;
int VFX_COM_CHUNK_RED_MEDIUM = 122 ;
int VFX_COM_CHUNK_GREEN_SMALL = 123 ;
int VFX_COM_CHUNK_GREEN_MEDIUM = 124 ;
int VFX_COM_CHUNK_YELLOW_SMALL = 125 ;
int VFX_COM_CHUNK_YELLOW_MEDIUM = 126 ;
//int VFX_ITM_ACID = 127 ;
//int VFX_ITM_FIRE = 128 ;
//int VFX_ITM_FROST = 129 ;
//int VFX_ITM_ILLUMINATED_BLUE = 130 ;
//int VFX_ITM_ILLUMINATED_PURPLE = 131 ;
//int VFX_ITM_ILLUMINATED_RED = 132 ;
//int VFX_ITM_LIGHTNING = 133 ;
//int VFX_ITM_PULSING_BLUE = 134 ;
//int VFX_ITM_PULSING_PURPLE = 135 ;
//int VFX_ITM_PULSING_RED = 136 ;
//int VFX_ITM_SMOKING = 137 ;
int VFX_DUR_SPELLTURNING = 138;
int VFX_IMP_IMPROVE_ABILITY_SCORE = 139;
int VFX_IMP_CHARM = 140;
int VFX_IMP_MAGICAL_VISION = 141;
//int VFX_IMP_LAW_HELP = 142;
//int VFX_IMP_CHAOS_HELP = 143;
int VFX_IMP_EVIL_HELP = 144;
int VFX_IMP_GOOD_HELP = 145;
int VFX_IMP_DEATH_WARD = 146;
int VFX_DUR_ELEMENTAL_SHIELD = 147;
int VFX_DUR_LIGHT = 148;
int VFX_IMP_MAGIC_PROTECTION = 149;
int VFX_IMP_SUPER_HEROISM = 150;
int VFX_FNF_STORM = 151;
int VFX_IMP_ELEMENTAL_PROTECTION = 152;
int VFX_DUR_LIGHT_BLUE_5 = 153;
int VFX_DUR_LIGHT_BLUE_10 = 154;
int VFX_DUR_LIGHT_BLUE_15 = 155;
int VFX_DUR_LIGHT_BLUE_20 = 156;
int VFX_DUR_LIGHT_YELLOW_5 = 157;
int VFX_DUR_LIGHT_YELLOW_10 = 158;
int VFX_DUR_LIGHT_YELLOW_15 = 159;
int VFX_DUR_LIGHT_YELLOW_20 = 160;
int VFX_DUR_LIGHT_PURPLE_5 = 161;
int VFX_DUR_LIGHT_PURPLE_10 = 162;
int VFX_DUR_LIGHT_PURPLE_15 = 163;
int VFX_DUR_LIGHT_PURPLE_20 = 164;
int VFX_DUR_LIGHT_RED_5 = 165;
int VFX_DUR_LIGHT_RED_10 = 166;
int VFX_DUR_LIGHT_RED_15 = 167;
int VFX_DUR_LIGHT_RED_20 = 168;
int VFX_DUR_LIGHT_ORANGE_5 = 169;
int VFX_DUR_LIGHT_ORANGE_10 = 170;
int VFX_DUR_LIGHT_ORANGE_15 = 171;
int VFX_DUR_LIGHT_ORANGE_20 = 172;
int VFX_DUR_LIGHT_WHITE_5 = 173;
int VFX_DUR_LIGHT_WHITE_10 = 174;
int VFX_DUR_LIGHT_WHITE_15 = 175;
int VFX_DUR_LIGHT_WHITE_20 = 176;
int VFX_DUR_LIGHT_GREY_5 = 177;
int VFX_DUR_LIGHT_GREY_10 = 178;
int VFX_DUR_LIGHT_GREY_15 = 179;
int VFX_DUR_LIGHT_GREY_20 = 180;
int VFX_IMP_MIRV = 181;
int VFX_DUR_DARKVISION = 182;
int VFX_FNF_SOUND_BURST = 183;
int VFX_FNF_STRIKE_HOLY = 184;
int VFX_FNF_LOS_EVIL_10 = 185;
int VFX_FNF_LOS_EVIL_20 = 186;
int VFX_FNF_LOS_EVIL_30 = 187;
int VFX_FNF_LOS_HOLY_10 = 188;
int VFX_FNF_LOS_HOLY_20 = 189;
int VFX_FNF_LOS_HOLY_30 = 190;
int VFX_FNF_LOS_NORMAL_10 = 191;
int VFX_FNF_LOS_NORMAL_20 = 192;
int VFX_FNF_LOS_NORMAL_30 = 193;
int VFX_IMP_HEAD_ACID = 194;
int VFX_IMP_HEAD_FIRE = 195;
int VFX_IMP_HEAD_SONIC = 196;
int VFX_IMP_HEAD_ELECTRICITY = 197;
int VFX_IMP_HEAD_COLD = 198;
int VFX_IMP_HEAD_HOLY = 199;
int VFX_IMP_HEAD_NATURE = 200;
int VFX_IMP_HEAD_HEAL = 201;
int VFX_IMP_HEAD_MIND = 202;
int VFX_IMP_HEAD_EVIL = 203;
int VFX_IMP_HEAD_ODD = 204;
int VFX_DUR_CESSATE_NEUTRAL = 205;
int VFX_DUR_CESSATE_POSITIVE = 206;
int VFX_DUR_CESSATE_NEGATIVE = 207;
int VFX_DUR_MIND_AFFECTING_DISABLED = 208;
int VFX_DUR_MIND_AFFECTING_DOMINATED = 209;
int VFX_BEAM_FIRE = 210;
int VFX_BEAM_COLD = 211;
int VFX_BEAM_HOLY = 212;
int VFX_BEAM_MIND = 213;
int VFX_BEAM_EVIL = 214;
int VFX_BEAM_ODD = 215;
int VFX_BEAM_FIRE_LASH = 216;
int VFX_IMP_DEATH_L = 217;
int VFX_DUR_MIND_AFFECTING_FEAR = 218;
int VFX_FNF_SUMMON_CELESTIAL = 219;
int VFX_DUR_GLOBE_MINOR = 220;
int VFX_IMP_RESTORATION_LESSER = 221;
int VFX_IMP_RESTORATION = 222;
int VFX_IMP_RESTORATION_GREATER = 223;
int VFX_DUR_PROTECTION_ELEMENTS = 224;
int VFX_DUR_PROTECTION_GOOD_MINOR = 225;
int VFX_DUR_PROTECTION_GOOD_MAJOR = 226;
int VFX_DUR_PROTECTION_EVIL_MINOR = 227;
int VFX_DUR_PROTECTION_EVIL_MAJOR = 228;
int VFX_DUR_MAGICAL_SIGHT = 229;
int VFX_DUR_WEB_MASS = 230;
int VFX_FNF_ICESTORM = 231;
int VFX_DUR_PARALYZED = 232;
int VFX_IMP_MIRV_FLAME = 233;
int VFX_IMP_DESTRUCTION = 234;
int VFX_COM_CHUNK_RED_LARGE = 235;
int VFX_COM_CHUNK_BONE_MEDIUM = 236;
int VFX_COM_BLOOD_SPARK_SMALL = 237;
int VFX_COM_BLOOD_SPARK_MEDIUM = 238;
int VFX_COM_BLOOD_SPARK_LARGE = 239;
int VFX_DUR_GHOSTLY_PULSE = 240;
int VFX_FNF_HORRID_WILTING = 241;
int VFX_DUR_BLINDVISION = 242;
int VFX_DUR_LOWLIGHTVISION = 243;
int VFX_DUR_ULTRAVISION = 244;
int VFX_DUR_MIRV_ACID = 245;
int VFX_IMP_HARM = 246;
int VFX_DUR_BLIND = 247;
int VFX_DUR_ANTI_LIGHT_10 = 248;
int VFX_DUR_MAGIC_RESISTANCE = 249;
int VFX_IMP_MAGIC_RESISTANCE_USE = 250;
int VFX_IMP_GLOBE_USE = 251;
int VFX_IMP_WILL_SAVING_THROW_USE = 252;
int VFX_IMP_SPIKE_TRAP = 253;
int VFX_IMP_SPELL_MANTLE_USE = 254;
int VFX_IMP_FORTITUDE_SAVING_THROW_USE = 255;
int VFX_IMP_REFLEX_SAVE_THROW_USE = 256;
int VFX_FNF_GAS_EXPLOSION_ACID = 257;
int VFX_FNF_GAS_EXPLOSION_EVIL = 258;
int VFX_FNF_GAS_EXPLOSION_NATURE = 259;
int VFX_FNF_GAS_EXPLOSION_FIRE = 260;
int VFX_FNF_GAS_EXPLOSION_GREASE = 261;
int VFX_FNF_GAS_EXPLOSION_MIND = 262;
int VFX_FNF_SMOKE_PUFF = 263;
int VFX_IMP_PULSE_WATER = 264;
int VFX_IMP_PULSE_WIND = 265;
int VFX_IMP_PULSE_NATURE = 266;
int VFX_DUR_AURA_COLD = 267;
int VFX_DUR_AURA_FIRE = 268;
int VFX_DUR_AURA_POISON = 269;
int VFX_DUR_AURA_DISEASE = 270;
int VFX_DUR_AURA_ODD = 271;
int VFX_DUR_AURA_SILENCE = 272;
int VFX_IMP_AURA_HOLY = 273;
int VFX_IMP_AURA_UNEARTHLY = 274;
int VFX_IMP_AURA_FEAR = 275;
int VFX_IMP_AURA_NEGATIVE_ENERGY = 276;
int VFX_DUR_BARD_SONG = 277;
int VFX_FNF_HOWL_MIND = 278;
int VFX_FNF_HOWL_ODD = 279;
int VFX_COM_HIT_FIRE = 280;
int VFX_COM_HIT_FROST = 281;
int VFX_COM_HIT_ELECTRICAL = 282;
int VFX_COM_HIT_ACID = 283;
int VFX_COM_HIT_SONIC = 284;
int VFX_FNF_HOWL_WAR_CRY = 285;
int VFX_FNF_SCREEN_SHAKE = 286;
int VFX_FNF_SCREEN_BUMP = 287;
int VFX_COM_HIT_NEGATIVE = 288;
int VFX_COM_HIT_DIVINE = 289;
int VFX_FNF_HOWL_WAR_CRY_FEMALE = 290;
int VFX_DUR_AURA_DRAGON_FEAR = 291;
int AOE_PER_FOGACID = 0;
int AOE_PER_FOGFIRE = 1;
int AOE_PER_FOGSTINK = 2;
int AOE_PER_FOGKILL = 3;
int AOE_PER_FOGMIND = 4;
int AOE_PER_WALLFIRE = 5;
int AOE_PER_WALLWIND = 6;
int AOE_PER_WALLBLADE = 7;
int AOE_PER_WEB = 8;
int AOE_PER_ENTANGLE = 9;
//int AOE_PER_CHAOS = 10;
int AOE_PER_DARKNESS = 11;
int AOE_MOB_CIRCEVIL = 12;
int AOE_MOB_CIRCGOOD = 13;
int AOE_MOB_CIRCLAW = 14;
int AOE_MOB_CIRCCHAOS = 15;
int AOE_MOB_FEAR = 16;
int AOE_MOB_BLINDING = 17;
int AOE_MOB_UNEARTHLY = 18;
int AOE_MOB_MENACE = 19;
int AOE_MOB_UNNATURAL = 20;
int AOE_MOB_STUN = 21;
int AOE_MOB_PROTECTION = 22;
int AOE_MOB_FIRE = 23;
int AOE_MOB_FROST = 24;
int AOE_MOB_ELECTRICAL = 25;
int AOE_PER_FOGGHOUL = 26;
int AOE_MOB_TYRANT_FOG = 27;
int AOE_PER_STORM = 28;
int AOE_PER_INVIS_SPHERE = 29;
int AOE_MOB_SILENCE = 30;
int AOE_PER_DELAY_BLAST_FIREBALL = 31;
int AOE_PER_GREASE = 32;
int AOE_PER_CREEPING_DOOM = 33;
int AOE_PER_EVARDS_BLACK_TENTACLES = 34;
int AOE_MOB_INVISIBILITY_PURGE = 35;
int AOE_MOB_DRAGON_FEAR = 36;
Par Daynos le 27/5/2002 à 22:07:57 (#1539250)
int SPELL_ACID_FOG = 0;
int SPELL_AID = 1;
int SPELL_ANIMATE_DEAD = 2;
int SPELL_BARKSKIN = 3;
int SPELL_BESTOW_CURSE = 4;
int SPELL_BLADE_BARRIER = 5;
int SPELL_BLESS = 6;
int SPELL_BLESS_WEAPON = 7;
int SPELL_BLINDNESS_AND_DEAFNESS = 8;
int SPELL_BULLS_STRENGTH = 9;
int SPELL_BURNING_HANDS = 10;
int SPELL_CALL_LIGHTNING = 11;
//int SPELL_CALM_EMOTIONS = 12;
int SPELL_CATS_GRACE = 13;
int SPELL_CHAIN_LIGHTNING = 14;
int SPELL_CHARM_MONSTER = 15;
int SPELL_CHARM_PERSON = 16;
int SPELL_CHARM_PERSON_OR_ANIMAL = 17;
int SPELL_CIRCLE_OF_DEATH = 18;
int SPELL_CIRCLE_OF_DOOM = 19;
int SPELL_CLAIRAUDIENCE_AND_CLAIRVOYANCE = 20;
int SPELL_CLARITY = 21;
int SPELL_CLOAK_OF_CHAOS = 22;
int SPELL_CLOUDKILL = 23;
int SPELL_COLOR_SPRAY = 24;
int SPELL_CONE_OF_COLD = 25;
int SPELL_CONFUSION = 26;
int SPELL_CONTAGION = 27;
int SPELL_CONTROL_UNDEAD = 28;
int SPELL_CREATE_GREATER_UNDEAD = 29;
int SPELL_CREATE_UNDEAD = 30;
int SPELL_CURE_CRITICAL_WOUNDS = 31;
int SPELL_CURE_LIGHT_WOUNDS = 32;
int SPELL_CURE_MINOR_WOUNDS = 33;
int SPELL_CURE_MODERATE_WOUNDS = 34;
int SPELL_CURE_SERIOUS_WOUNDS = 35;
int SPELL_DARKNESS = 36;
int SPELL_DAZE = 37;
int SPELL_DEATH_WARD = 38;
int SPELL_DELAYED_BLAST_FIREBALL = 39;
int SPELL_DISMISSAL = 40;
int SPELL_DISPEL_MAGIC = 41;
int SPELL_DIVINE_POWER = 42;
int SPELL_DOMINATE_ANIMAL = 43;
int SPELL_DOMINATE_MONSTER = 44;
int SPELL_DOMINATE_PERSON = 45;
int SPELL_DOOM = 46;
int SPELL_ELEMENTAL_SHIELD = 47;
int SPELL_ELEMENTAL_SWARM = 48;
int SPELL_ENDURANCE = 49;
int SPELL_ENDURE_ELEMENTS = 50;
int SPELL_ENERGY_DRAIN = 51;
int SPELL_ENERVATION = 52;
int SPELL_ENTANGLE = 53;
int SPELL_FEAR = 54;
int SPELL_FEEBLEMIND = 55;
int SPELL_FINGER_OF_DEATH = 56;
int SPELL_FIRE_STORM = 57;
int SPELL_FIREBALL = 58;
int SPELL_FLAME_ARROW = 59;
int SPELL_FLAME_LASH = 60;
int SPELL_FLAME_STRIKE = 61;
int SPELL_FREEDOM_OF_MOVEMENT = 62;
int SPELL_GATE = 63;
int SPELL_GHOUL_TOUCH = 64;
int SPELL_GLOBE_OF_INVULNERABILITY = 65;
int SPELL_GREASE = 66;
int SPELL_GREATER_DISPELLING = 67;
int SPELL_GREATER_MAGIC_WEAPON = 68;
int SPELL_GREATER_PLANAR_BINDING = 69;
int SPELL_GREATER_RESTORATION = 70;
//int SPELL_GREATER_SHADOW_CONJURATION = 71;
int SPELL_GREATER_SPELL_BREACH = 72;
int SPELL_GREATER_SPELL_MANTLE = 73;
int SPELL_GREATER_STONESKIN = 74;
// int SPELL_GUST_OF_WIND = 75;
int SPELL_HAMMER_OF_THE_GODS = 76;
int SPELL_HARM = 77;
int SPELL_HASTE = 78;
int SPELL_HEAL = 79;
int SPELL_HEALING_CIRCLE = 80;
int SPELL_HOLD_ANIMAL = 81;
int SPELL_HOLD_MONSTER = 82;
int SPELL_HOLD_PERSON = 83;
int SPELL_HOLY_AURA = 84;
int SPELL_HOLY_SWORD = 85;
int SPELL_IDENTIFY = 86;
int SPELL_IMPLOSION = 87;
int SPELL_IMPROVED_INVISIBILITY = 88;
int SPELL_INCENDIARY_CLOUD = 89;
int SPELL_INVISIBILITY = 90;
int SPELL_INVISIBILITY_PURGE = 91;
int SPELL_INVISIBILITY_SPHERE = 92;
int SPELL_KNOCK = 93;
int SPELL_LESSER_DISPEL = 94;
int SPELL_LESSER_MIND_BLANK = 95;
int SPELL_LESSER_PLANAR_BINDING = 96;
int SPELL_LESSER_RESTORATION = 97;
int SPELL_LESSER_SPELL_BREACH = 98;
int SPELL_LESSER_SPELL_MANTLE = 99;
int SPELL_LIGHT = 100;
int SPELL_LIGHTNING_BOLT = 101;
int SPELL_MAGE_ARMOR = 102;
int SPELL_MAGIC_CIRCLE_AGAINST_CHAOS = 103;
int SPELL_MAGIC_CIRCLE_AGAINST_EVIL = 104;
int SPELL_MAGIC_CIRCLE_AGAINST_GOOD = 105;
int SPELL_MAGIC_CIRCLE_AGAINST_LAW = 106;
int SPELL_MAGIC_MISSILE = 107;
int SPELL_MAGIC_VESTMENT = 108;
int SPELL_MAGIC_WEAPON = 109;
int SPELL_MASS_BLINDNESS_AND_DEAFNESS = 110;
int SPELL_MASS_CHARM = 111;
// int SPELL_MASS_DOMINATION = 112;
int SPELL_MASS_HASTE = 113;
int SPELL_MASS_HEAL = 114;
int SPELL_MELFS_ACID_ARROW = 115;
int SPELL_METEOR_SWARM = 116;
int SPELL_MIND_BLANK = 117;
int SPELL_MIND_FOG = 118;
int SPELL_MINOR_GLOBE_OF_INVULNERABILITY = 119;
int SPELL_GHOSTLY_VISAGE = 120;
int SPELL_ETHEREAL_VISAGE = 121;
int SPELL_MORDENKAINENS_DISJUNCTION = 122;
int SPELL_MORDENKAINENS_SWORD = 123;
int SPELL_NATURES_BALANCE = 124;
int SPELL_NEGATIVE_ENERGY_PROTECTION = 125;
int SPELL_NEUTRALIZE_POISON = 126;
int SPELL_PHANTASMAL_KILLER = 127;
int SPELL_PLANAR_BINDING = 128;
int SPELL_POISON = 129;
int SPELL_POLYMORPH_SELF = 130;
int SPELL_POWER_WORD_KILL = 131;
int SPELL_POWER_WORD_STUN = 132;
int SPELL_PRAYER = 133;
int SPELL_PREMONITION = 134;
int SPELL_PRISMATIC_SPRAY = 135;
int SPELL_PROTECTION__FROM_CHAOS = 136;
int SPELL_PROTECTION_FROM_ELEMENTS = 137;
int SPELL_PROTECTION_FROM_EVIL = 138;
int SPELL_PROTECTION_FROM_GOOD = 139;
int SPELL_PROTECTION_FROM_LAW = 140;
int SPELL_PROTECTION_FROM_SPELLS = 141;
int SPELL_RAISE_DEAD = 142;
int SPELL_RAY_OF_ENFEEBLEMENT = 143;
int SPELL_RAY_OF_FROST = 144;
int SPELL_REMOVE_BLINDNESS_AND_DEAFNESS = 145;
int SPELL_REMOVE_CURSE = 146;
int SPELL_REMOVE_DISEASE = 147;
int SPELL_REMOVE_FEAR = 148;
int SPELL_REMOVE_PARALYSIS = 149;
int SPELL_RESIST_ELEMENTS = 150;
int SPELL_RESISTANCE = 151;
int SPELL_RESTORATION = 152;
int SPELL_RESURRECTION = 153;
int SPELL_SANCTUARY = 154;
int SPELL_SCARE = 155;
int SPELL_SEARING_LIGHT = 156;
int SPELL_SEE_INVISIBILITY = 157;
//int SPELL_SHADES = 158;
//int SPELL_SHADOW_CONJURATION = 159;
int SPELL_SHADOW_SHIELD = 160;
int SPELL_SHAPECHANGE = 161;
int SPELL_SHIELD_OF_LAW = 162;
int SPELL_SILENCE = 163;
int SPELL_SLAY_LIVING = 164;
int SPELL_SLEEP = 165;
int SPELL_SLOW = 166;
int SPELL_SOUND_BURST = 167;
int SPELL_SPELL_RESISTANCE = 168;
int SPELL_SPELL_MANTLE = 169;
int SPELL_SPHERE_OF_CHAOS = 170;
int SPELL_STINKING_CLOUD = 171;
int SPELL_STONESKIN = 172;
int SPELL_STORM_OF_VENGEANCE = 173;
int SPELL_SUMMON_CREATURE_I = 174;
int SPELL_SUMMON_CREATURE_II = 175;
int SPELL_SUMMON_CREATURE_III = 176;
int SPELL_SUMMON_CREATURE_IV = 177;
int SPELL_SUMMON_CREATURE_IX = 178;
int SPELL_SUMMON_CREATURE_V = 179;
int SPELL_SUMMON_CREATURE_VI = 180;
int SPELL_SUMMON_CREATURE_VII = 181;
int SPELL_SUMMON_CREATURE_VIII = 182;
int SPELL_SUNBEAM = 183;
int SPELL_TENSERS_TRANSFORMATION = 184;
int SPELL_TIME_STOP = 185;
int SPELL_TRUE_SEEING = 186;
int SPELL_UNHOLY_AURA = 187;
int SPELL_VAMPIRIC_TOUCH = 188;
int SPELL_VIRTUE = 189;
int SPELL_WAIL_OF_THE_BANSHEE = 190;
int SPELL_WALL_OF_FIRE = 191;
int SPELL_WEB = 192;
int SPELL_WEIRD = 193;
int SPELL_WORD_OF_FAITH = 194;
int SPELLABILITY_AURA_BLINDING = 195;
int SPELLABILITY_AURA_COLD = 196;
int SPELLABILITY_AURA_ELECTRICITY = 197;
int SPELLABILITY_AURA_FEAR = 198;
int SPELLABILITY_AURA_FIRE = 199;
int SPELLABILITY_AURA_MENACE = 200;
int SPELLABILITY_AURA_PROTECTION = 201;
int SPELLABILITY_AURA_STUN = 202;
int SPELLABILITY_AURA_UNEARTHLY_VISAGE = 203;
int SPELLABILITY_AURA_UNNATURAL = 204;
int SPELLABILITY_BOLT_ABILITY_DRAIN_CHARISMA = 205;
int SPELLABILITY_BOLT_ABILITY_DRAIN_CONSTITUTION = 206;
int SPELLABILITY_BOLT_ABILITY_DRAIN_DEXTERITY = 207;
int SPELLABILITY_BOLT_ABILITY_DRAIN_INTELLIGENCE = 208;
int SPELLABILITY_BOLT_ABILITY_DRAIN_STRENGTH = 209;
int SPELLABILITY_BOLT_ABILITY_DRAIN_WISDOM = 210;
int SPELLABILITY_BOLT_ACID = 211;
int SPELLABILITY_BOLT_CHARM = 212;
int SPELLABILITY_BOLT_COLD = 213;
int SPELLABILITY_BOLT_CONFUSE = 214;
int SPELLABILITY_BOLT_DAZE = 215;
int SPELLABILITY_BOLT_DEATH = 216;
int SPELLABILITY_BOLT_DISEASE = 217;
int SPELLABILITY_BOLT_DOMINATE = 218;
int SPELLABILITY_BOLT_FIRE = 219;
int SPELLABILITY_BOLT_KNOCKDOWN = 220;
int SPELLABILITY_BOLT_LEVEL_DRAIN = 221;
int SPELLABILITY_BOLT_LIGHTNING = 222;
int SPELLABILITY_BOLT_PARALYZE = 223;
int SPELLABILITY_BOLT_POISON = 224;
int SPELLABILITY_BOLT_SHARDS = 225;
int SPELLABILITY_BOLT_SLOW = 226;
int SPELLABILITY_BOLT_STUN = 227;
int SPELLABILITY_BOLT_WEB = 228;
int SPELLABILITY_CONE_ACID = 229;
int SPELLABILITY_CONE_COLD = 230;
int SPELLABILITY_CONE_DISEASE = 231;
int SPELLABILITY_CONE_FIRE = 232;
int SPELLABILITY_CONE_LIGHTNING = 233;
int SPELLABILITY_CONE_POISON = 234;
int SPELLABILITY_CONE_SONIC = 235;
int SPELLABILITY_DRAGON_BREATH_ACID = 236;
int SPELLABILITY_DRAGON_BREATH_COLD = 237;
int SPELLABILITY_DRAGON_BREATH_FEAR = 238;
int SPELLABILITY_DRAGON_BREATH_FIRE = 239;
int SPELLABILITY_DRAGON_BREATH_GAS = 240;
int SPELLABILITY_DRAGON_BREATH_LIGHTNING = 241;
int SPELLABILITY_DRAGON_BREATH_PARALYZE = 242;
int SPELLABILITY_DRAGON_BREATH_SLEEP = 243;
int SPELLABILITY_DRAGON_BREATH_SLOW = 244;
int SPELLABILITY_DRAGON_BREATH_WEAKEN = 245;
int SPELLABILITY_DRAGON_WING_BUFFET = 246;
int SPELLABILITY_FEROCITY_1 = 247;
int SPELLABILITY_FEROCITY_2 = 248;
int SPELLABILITY_FEROCITY_3 = 249;
int SPELLABILITY_GAZE_CHARM = 250;
int SPELLABILITY_GAZE_CONFUSION = 251;
int SPELLABILITY_GAZE_DAZE = 252;
int SPELLABILITY_GAZE_DEATH = 253;
int SPELLABILITY_GAZE_DESTROY_CHAOS = 254;
int SPELLABILITY_GAZE_DESTROY_EVIL = 255;
int SPELLABILITY_GAZE_DESTROY_GOOD = 256;
int SPELLABILITY_GAZE_DESTROY_LAW = 257;
int SPELLABILITY_GAZE_DOMINATE = 258;
int SPELLABILITY_GAZE_DOOM = 259;
int SPELLABILITY_GAZE_FEAR = 260;
int SPELLABILITY_GAZE_PARALYSIS = 261;
int SPELLABILITY_GAZE_STUNNED = 262;
int SPELLABILITY_GOLEM_BREATH_GAS = 263;
int SPELLABILITY_HELL_HOUND_FIREBREATH = 264;
int SPELLABILITY_HOWL_CONFUSE = 265;
int SPELLABILITY_HOWL_DAZE = 266;
int SPELLABILITY_HOWL_DEATH = 267;
int SPELLABILITY_HOWL_DOOM = 268;
int SPELLABILITY_HOWL_FEAR = 269;
int SPELLABILITY_HOWL_PARALYSIS = 270;
int SPELLABILITY_HOWL_SONIC = 271;
int SPELLABILITY_HOWL_STUN = 272;
int SPELLABILITY_INTENSITY_1 = 273;
int SPELLABILITY_INTENSITY_2 = 274;
int SPELLABILITY_INTENSITY_3 = 275;
int SPELLABILITY_KRENSHAR_SCARE = 276;
int SPELLABILITY_LESSER_BODY_ADJUSTMENT = 277;
int SPELLABILITY_MEPHIT_SALT_BREATH = 278;
int SPELLABILITY_MEPHIT_STEAM_BREATH = 279;
int SPELLABILITY_MUMMY_BOLSTER_UNDEAD = 280;
int SPELLABILITY_PULSE_DROWN = 281;
int SPELLABILITY_PULSE_SPORES = 282;
int SPELLABILITY_PULSE_WHIRLWIND = 283;
int SPELLABILITY_PULSE_FIRE = 284;
int SPELLABILITY_PULSE_LIGHTNING = 285;
int SPELLABILITY_PULSE_COLD = 286;
int SPELLABILITY_PULSE_NEGATIVE = 287;
int SPELLABILITY_PULSE_HOLY = 288;
int SPELLABILITY_PULSE_DEATH = 289;
int SPELLABILITY_PULSE_LEVEL_DRAIN = 290;
int SPELLABILITY_PULSE_ABILITY_DRAIN_INTELLIGENCE = 291;
int SPELLABILITY_PULSE_ABILITY_DRAIN_CHARISMA = 292;
int SPELLABILITY_PULSE_ABILITY_DRAIN_CONSTITUTION = 293;
int SPELLABILITY_PULSE_ABILITY_DRAIN_DEXTERITY = 294;
int SPELLABILITY_PULSE_ABILITY_DRAIN_STRENGTH = 295;
int SPELLABILITY_PULSE_ABILITY_DRAIN_WISDOM = 296;
int SPELLABILITY_PULSE_POISON = 297;
int SPELLABILITY_PULSE_DISEASE = 298;
int SPELLABILITY_RAGE_3 = 299;
int SPELLABILITY_RAGE_4 = 300;
int SPELLABILITY_RAGE_5 = 301;
int SPELLABILITY_SMOKE_CLAW = 302;
int SPELLABILITY_SUMMON_SLAAD = 303;
int SPELLABILITY_SUMMON_TANARRI = 304;
int SPELLABILITY_TRUMPET_BLAST = 305;
int SPELLABILITY_TYRANT_FOG_MIST = 306;
int SPELLABILITY_BARBARIAN_RAGE = 307;
int SPELLABILITY_TURN_UNDEAD = 308;
int SPELLABILITY_WHOLENESS_OF_BODY = 309;
int SPELLABILITY_QUIVERING_PALM = 310;
int SPELLABILITY_EMPTY_BODY = 311;
int SPELLABILITY_DETECT_EVIL = 312;
int SPELLABILITY_LAY_ON_HANDS = 313;
int SPELLABILITY_AURA_OF_COURAGE = 314;
int SPELLABILITY_SMITE_EVIL = 315;
int SPELLABILITY_REMOVE_DISEASE = 316;
int SPELLABILITY_SUMMON_ANIMAL_COMPANION = 317;
int SPELLABILITY_SUMMON_FAMILIAR = 318;
int SPELLABILITY_ELEMENTAL_SHAPE = 319;
int SPELLABILITY_WILD_SHAPE = 320;
//int SPELL_PROTECTION_FROM_ALIGNMENT = 321;
//int SPELL_MAGIC_CIRCLE_AGAINST_ALIGNMENT = 322;
//int SPELL_AURA_VERSUS_ALIGNMENT = 323;
int SPELL_SHADES_SUMMON_SHADOW = 324;
//int SPELL_PROTECTION_FROM_ELEMENTS_COLD = 325;
//int SPELL_PROTECTION_FROM_ELEMENTS_FIRE = 326;
//int SPELL_PROTECTION_FROM_ELEMENTS_ACID = 327;
//int SPELL_PROTECTION_FROM_ELEMENTS_SONIC = 328;
//int SPELL_PROTECTION_FROM_ELEMENTS_ELECTRICITY = 329;
//int SPELL_ENDURE_ELEMENTS_COLD = 330;
//int SPELL_ENDURE_ELEMENTS_FIRE = 331;
//int SPELL_ENDURE_ELEMENTS_ACID = 332;
//int SPELL_ENDURE_ELEMENTS_SONIC = 333;
//int SPELL_ENDURE_ELEMENTS_ELECTRICITY = 334;
//int SPELL_RESIST_ELEMENTS_COLD = 335;
//int SPELL_RESIST_ELEMENTS_FIRE = 336;
//int SPELL_RESIST_ELEMENTS_ACID = 337;
//int SPELL_RESIST_ELEMENTS_SONIC = 338;
//int SPELL_RESIST_ELEMENTS_ELECTRICITY = 339;
int SPELL_SHADES_CONE_OF_COLD = 340;
int SPELL_SHADES_FIREBALL = 341;
int SPELL_SHADES_STONESKIN = 342;
int SPELL_SHADES_WALL_OF_FIRE = 343;
int SPELL_SHADOW_CONJURATION_SUMMON_SHADOW = 344;
int SPELL_SHADOW_CONJURATION_DARKNESS = 345;
int SPELL_SHADOW_CONJURATION_INIVSIBILITY = 346;
int SPELL_SHADOW_CONJURATION_MAGE_ARMOR = 347;
int SPELL_SHADOW_CONJURATION_MAGIC_MISSILE = 348;
int SPELL_GREATER_SHADOW_CONJURATION_SUMMON_SHADOW = 349;
int SPELL_GREATER_SHADOW_CONJURATION_ACID_ARROW = 350;
int SPELL_GREATER_SHADOW_CONJURATION_MIRROR_IMAGE = 351;
int SPELL_GREATER_SHADOW_CONJURATION_WEB = 352;
int SPELL_GREATER_SHADOW_CONJURATION_MINOR_GLOBE = 353;
int SPELL_EAGLE_SPLEDOR = 354;
int SPELL_OWLS_WISDOM = 355;
int SPELL_FOXS_CUNNING = 356;
int SPELL_GREATER_EAGLE_SPLENDOR = 357;
int SPELL_GREATER_OWLS_WISDOM = 358;
int SPELL_GREATER_FOXS_CUNNING = 359;
int SPELL_GREATER_BULLS_STRENGTH = 360;
int SPELL_GREATER_CATS_GRACE = 361;
int SPELL_GREATER_ENDURANCE = 362;
int SPELL_AWAKEN = 363;
int SPELL_CREEPING_DOOM = 364;
int SPELL_DARKVISION = 365;
int SPELL_DESTRUCTION = 366;
int SPELL_HORRID_WILTING = 367;
int SPELL_ICE_STORM = 368;
int SPELL_ENERGY_BUFFER = 369;
int SPELL_NEGATIVE_ENERGY_BURST = 370;
int SPELL_NEGATIVE_ENERGY_RAY = 371;
int SPELL_AURA_OF_VITALITY = 372;
int SPELL_WAR_CRY = 373;
int SPELL_REGENERATE = 374;
int SPELL_EVARDS_BLACK_TENTACLES = 375;
int SPELL_LEGEND_LORE = 376;
int SPELL_FIND_TRAPS = 377;
int SPELLABILITY_SUMMON_MEPHIT = 378;
int SPELLABILITY_SUMMON_CELESTIAL = 379;
int SPELLABILITY_BATTLE_MASTERY = 380;
int SPELLABILITY_DIVINE_STRENGTH = 381;
int SPELLABILITY_DIVINE_PROTECTION = 382;
int SPELLABILITY_NEGATIVE_PLANE_AVATAR = 383;
int SPELLABILITY_DIVINE_TRICKERY = 384;
int SPELLABILITY_ROGUES_CUNNING = 385;
int SPELLABILITY_ACTIVATE_ITEM = 386;
int SPELLABILITY_DRAGON_FEAR = 412;
Par Daynos le 27/5/2002 à 22:09:17 (#1539257)
// these constants must match those in poison.2da
int POISON_NIGHTSHADE = 0;
int POISON_SMALL_CENTIPEDE_POISON = 1;
int POISON_BLADE_BANE = 2;
int POISON_GREENBLOOD_OIL = 3;
int POISON_BLOODROOT = 4;
int POISON_PURPLE_WORM_POISON = 5;
int POISON_LARGE_SCORPION_VENOM = 6;
int POISON_WYVERN_POISON = 7;
int POISON_BLUE_WHINNIS = 8;
int POISON_GIANT_WASP_POISON = 9;
int POISON_SHADOW_ESSENCE = 10;
int POISON_BLACK_ADDER_VENOM = 11;
int POISON_DEATHBLADE = 12;
int POISON_MALYSS_ROOT_PASTE = 13;
int POISON_NITHARIT = 14;
int POISON_DRAGON_BILE = 15;
int POISON_SASSONE_LEAF_RESIDUE = 16;
int POISON_TERINAV_ROOT = 17;
int POISON_CARRION_CRAWLER_BRAIN_JUICE = 18;
int POISON_BLACK_LOTUS_EXTRACT = 19;
int POISON_OIL_OF_TAGGIT = 20;
int POISON_ID_MOSS = 21;
int POISON_STRIPED_TOADSTOOL = 22;
int POISON_ARSENIC = 23;
int POISON_LICH_DUST = 24;
int POISON_DARK_REAVER_POWDER = 25;
int POISON_UNGOL_DUST = 26;
int POISON_BURNT_OTHUR_FUMES = 27;
int POISON_CHAOS_MIST = 28;
int POISON_BEBILITH_VENOM = 29;
int POISON_QUASIT_VENOM = 30;
int POISON_PIT_FIEND_ICHOR = 31;
int POISON_ETTERCAP_VENOM = 32;
int POISON_ARANEA_VENOM = 33;
int POISON_TINY_SPIDER_VENOM = 34;
int POISON_SMALL_SPIDER_VENOM = 35;
int POISON_MEDIUM_SPIDER_VENOM = 36;
int POISON_LARGE_SPIDER_VENOM = 37;
int POISON_HUGE_SPIDER_VENOM = 38;
int POISON_GARGANTUAN_SPIDER_VENOM = 39;
int POISON_COLOSSAL_SPIDER_VENOM = 40;
int POISON_PHASE_SPIDER_VENOM = 41;
int POISON_WRAITH_SPIDER_VENOM = 42;
int POISON_IRON_GOLEM = 43;
// these constants match those in disease.2da
int DISEASE_BLINDING_SICKNESS = 0;
int DISEASE_CACKLE_FEVER = 1;
int DISEASE_DEVIL_CHILLS = 2;
int DISEASE_DEMON_FEVER = 3;
int DISEASE_FILTH_FEVER = 4;
int DISEASE_MINDFIRE = 5;
int DISEASE_MUMMY_ROT = 6;
int DISEASE_RED_ACHE = 7;
int DISEASE_SHAKES = 8;
int DISEASE_SLIMY_DOOM = 9;
int DISEASE_RED_SLAAD_EGGS = 10;
int DISEASE_GHOUL_ROT = 11;
int DISEASE_ZOMBIE_CREEP = 12;
int DISEASE_DREAD_BLISTERS = 13;
int DISEASE_BURROW_MAGGOTS = 14;
int DISEASE_SOLDIER_SHAKES = 15;
int DISEASE_VERMIN_MADNESS = 16;
// the thing after CREATURE_TYPE_ should refer to the
// actual "subtype" in the lists given above.
int CREATURE_TYPE_RACIAL_TYPE = 0;
int CREATURE_TYPE_PLAYER_CHAR = 1;
int CREATURE_TYPE_CLASS = 2;
int CREATURE_TYPE_REPUTATION = 3;
int CREATURE_TYPE_IS_ALIVE = 4;
int CREATURE_TYPE_HAS_SPELL_EFFECT = 5;
int CREATURE_TYPE_DOES_NOT_HAVE_SPELL_EFFECT = 6;
int CREATURE_TYPE_PERCEPTION = 7;
int REPUTATION_TYPE_FRIEND = 0;
int REPUTATION_TYPE_ENEMY = 1;
int REPUTATION_TYPE_NEUTRAL = 2;
int PERCEPTION_SEEN_AND_HEARD = 0;
int PERCEPTION_NOT_SEEN_AND_NOT_HEARD = 1;
int PERCEPTION_HEARD_AND_NOT_SEEN = 2;
int PERCEPTION_SEEN_AND_NOT_HEARD = 3;
int PERCEPTION_NOT_HEARD = 4;
int PERCEPTION_HEARD = 5;
int PERCEPTION_NOT_SEEN = 6;
int PERCEPTION_SEEN = 7;
int PLAYER_CHAR_NOT_PC = FALSE;
int PLAYER_CHAR_IS_PC = TRUE;
int CLASS_TYPE_BARBARIAN = 0;
int CLASS_TYPE_BARD = 1;
int CLASS_TYPE_CLERIC = 2;
int CLASS_TYPE_DRUID = 3;
int CLASS_TYPE_FIGHTER = 4;
int CLASS_TYPE_MONK = 5;
int CLASS_TYPE_PALADIN = 6;
int CLASS_TYPE_RANGER = 7;
int CLASS_TYPE_ROGUE = 8;
int CLASS_TYPE_SORCERER = 9;
int CLASS_TYPE_WIZARD = 10;
int CLASS_TYPE_ABERRATION = 11;
int CLASS_TYPE_ANIMAL = 12;
int CLASS_TYPE_CONSTRUCT = 13;
int CLASS_TYPE_HUMANOID = 14;
int CLASS_TYPE_MONSTROUS = 15;
int CLASS_TYPE_ELEMENTAL = 16;
int CLASS_TYPE_FEY = 17;
int CLASS_TYPE_DRAGON = 18;
int CLASS_TYPE_UNDEAD = 19;
int CLASS_TYPE_COMMONER = 20;
int CLASS_TYPE_BEAST = 21;
int CLASS_TYPE_GIANT = 22;
int CLASS_TYPE_MAGICAL_BEAST = 23;
int CLASS_TYPE_OUTSIDER = 24;
int CLASS_TYPE_SHAPECHANGER = 25;
int CLASS_TYPE_VERMIN = 26;
int CLASS_TYPE_INVALID = 255;
// These are for GetFirstInPersistentObject() and GetNextInPersistentObject()
int PERSISTENT_ZONE_ACTIVE = 0;
int PERSISTENT_ZONE_FOLLOW = 1;
int STANDARD_FACTION_HOSTILE = 0;
int STANDARD_FACTION_COMMONER = 1;
int STANDARD_FACTION_MERCHANT = 2;
int STANDARD_FACTION_DEFENDER = 3;
// Skill defines
int SKILL_ANIMAL_EMPATHY = 0;
int SKILL_CONCENTRATION = 1;
int SKILL_DISABLE_TRAP = 2;
int SKILL_DISCIPLINE = 3;
int SKILL_HEAL = 4;
int SKILL_HIDE = 5;
int SKILL_LISTEN = 6;
int SKILL_LORE = 7;
int SKILL_MOVE_SILENTLY = 8;
int SKILL_OPEN_LOCK = 9;
int SKILL_PARRY = 10;
int SKILL_PERFORM = 11;
int SKILL_PERSUADE = 12;
int SKILL_PICK_POCKET = 13;
int SKILL_SEARCH = 14;
int SKILL_SET_TRAP = 15;
int SKILL_SPELLCRAFT = 16;
int SKILL_SPOT = 17;
int SKILL_TAUNT = 18;
int SKILL_USE_MAGIC_DEVICE = 19;
int SKILL_ALL_SKILLS = 255;
int FEAT_ALERTNESS = 0;
int FEAT_AMBIDEXTERITY = 1;
int FEAT_ARMOR_PROFICIENCY_HEAVY = 2;
int FEAT_ARMOR_PROFICIENCY_LIGHT = 3;
int FEAT_ARMOR_PROFICIENCY_MEDIUM = 4;
int FEAT_CALLED_SHOT = 5;
int FEAT_CLEAVE = 6;
int FEAT_COMBAT_CASTING = 7;
int FEAT_DEFLECT_ARROWS = 8;
int FEAT_DISARM = 9;
int FEAT_DODGE = 10;
int FEAT_EMPOWER_SPELL = 11;
int FEAT_EXTEND_SPELL = 12;
int FEAT_EXTRA_TURNING = 13;
int FEAT_GREAT_FORTITUDE = 14;
int FEAT_IMPROVED_CRITICAL_CLUB = 15;
int FEAT_IMPROVED_DISARM = 16;
int FEAT_IMPROVED_KNOCKDOWN = 17;
int FEAT_IMPROVED_PARRY = 18;
int FEAT_IMPROVED_POWER_ATTACK = 19;
int FEAT_IMPROVED_TWO_WEAPON_FIGHTING = 20;
int FEAT_IMPROVED_UNARMED_STRIKE = 21;
int FEAT_IRON_WILL = 22;
int FEAT_KNOCKDOWN = 23;
int FEAT_LIGHTNING_REFLEXES = 24;
int FEAT_MAXIMIZE_SPELL = 25;
int FEAT_MOBILITY = 26;
int FEAT_POINT_BLANK_SHOT = 27;
int FEAT_POWER_ATTACK = 28;
int FEAT_QUICKEN_SPELL = 29;
int FEAT_RAPID_SHOT = 30;
int FEAT_SAP = 31;
int FEAT_SHIELD_PROFICIENCY = 32;
int FEAT_SILENCE_SPELL = 33;
int FEAT_SKILL_FOCUS_ANIMAL_EMPATHY = 34;
int FEAT_SPELL_FOCUS_ABJURATION = 35;
int FEAT_SPELL_PENETRATION = 36;
int FEAT_STILL_SPELL = 37;
int FEAT_STUNNING_FIST = 39;
int FEAT_TOUGHNESS = 40;
int FEAT_TWO_WEAPON_FIGHTING = 41;
int FEAT_WEAPON_FINESSE = 42;
int FEAT_WEAPON_FOCUS_CLUB = 43;
int FEAT_WEAPON_PROFICIENCY_EXOTIC = 44;
int FEAT_WEAPON_PROFICIENCY_MARTIAL = 45;
int FEAT_WEAPON_PROFICIENCY_SIMPLE = 46;
int FEAT_WEAPON_SPECIALIZATION_CLUB = 47;
int FEAT_WEAPON_PROFICIENCY_DRUID = 48;
int FEAT_WEAPON_PROFICIENCY_MONK = 49;
int FEAT_WEAPON_PROFICIENCY_ROGUE = 50;
int FEAT_WEAPON_PROFICIENCY_WIZARD = 51;
int FEAT_IMPROVED_CRITICAL_DAGGER = 52;
int FEAT_IMPROVED_CRITICAL_DART = 53;
int FEAT_IMPROVED_CRITICAL_HEAVY_CROSSBOW = 54;
int FEAT_IMPROVED_CRITICAL_LIGHT_CROSSBOW = 55;
int FEAT_IMPROVED_CRITICAL_LIGHT_MACE = 56;
int FEAT_IMPROVED_CRITICAL_MORNING_STAR = 57;
int FEAT_IMPROVED_CRITICAL_STAFF = 58;
int FEAT_IMPROVED_CRITICAL_SPEAR = 59;
int FEAT_IMPROVED_CRITICAL_SICKLE = 60;
int FEAT_IMPROVED_CRITICAL_SLING = 61;
int FEAT_IMPROVED_CRITICAL_UNARMED_STRIKE = 62;
int FEAT_IMPROVED_CRITICAL_LONGBOW = 63;
int FEAT_IMPROVED_CRITICAL_SHORTBOW = 64;
int FEAT_IMPROVED_CRITICAL_SHORT_SWORD = 65;
int FEAT_IMPROVED_CRITICAL_RAPIER = 66;
int FEAT_IMPROVED_CRITICAL_SCIMITAR = 67;
int FEAT_IMPROVED_CRITICAL_LONG_SWORD = 68;
int FEAT_IMPROVED_CRITICAL_GREAT_SWORD = 69;
int FEAT_IMPROVED_CRITICAL_HAND_AXE = 70;
int FEAT_IMPROVED_CRITICAL_THROWING_AXE = 71;
int FEAT_IMPROVED_CRITICAL_BATTLE_AXE = 72;
int FEAT_IMPROVED_CRITICAL_GREAT_AXE = 73;
int FEAT_IMPROVED_CRITICAL_HALBERD = 74;
int FEAT_IMPROVED_CRITICAL_LIGHT_HAMMER = 75;
int FEAT_IMPROVED_CRITICAL_LIGHT_FLAIL = 76;
int FEAT_IMPROVED_CRITICAL_WAR_HAMMER = 77;
int FEAT_IMPROVED_CRITICAL_HEAVY_FLAIL = 78;
int FEAT_IMPROVED_CRITICAL_KAMA = 79;
int FEAT_IMPROVED_CRITICAL_KUKRI = 80;
//int FEAT_IMPROVED_CRITICAL_NUNCHAKU = 81;
int FEAT_IMPROVED_CRITICAL_SHURIKEN = 82;
int FEAT_IMPROVED_CRITICAL_SCYTHE = 83;
int FEAT_IMPROVED_CRITICAL_KATANA = 84;
int FEAT_IMPROVED_CRITICAL_BASTARD_SWORD = 85;
int FEAT_IMPROVED_CRITICAL_DIRE_MACE = 87;
int FEAT_IMPROVED_CRITICAL_DOUBLE_AXE = 88;
int FEAT_IMPROVED_CRITICAL_TWO_BLADED_SWORD = 89;
int FEAT_WEAPON_FOCUS_DAGGER = 90;
int FEAT_WEAPON_FOCUS_DART = 91;
int FEAT_WEAPON_FOCUS_HEAVY_CROSSBOW = 92;
int FEAT_WEAPON_FOCUS_LIGHT_CROSSBOW = 93;
int FEAT_WEAPON_FOCUS_LIGHT_MACE = 94;
int FEAT_WEAPON_FOCUS_MORNING_STAR = 95;
int FEAT_WEAPON_FOCUS_STAFF = 96;
int FEAT_WEAPON_FOCUS_SPEAR = 97;
int FEAT_WEAPON_FOCUS_SICKLE = 98;
int FEAT_WEAPON_FOCUS_SLING = 99;
int FEAT_WEAPON_FOCUS_UNARMED_STRIKE = 100;
int FEAT_WEAPON_FOCUS_LONGBOW = 101;
int FEAT_WEAPON_FOCUS_SHORTBOW = 102;
int FEAT_WEAPON_FOCUS_SHORT_SWORD = 103;
int FEAT_WEAPON_FOCUS_RAPIER = 104;
int FEAT_WEAPON_FOCUS_SCIMITAR = 105;
int FEAT_WEAPON_FOCUS_LONG_SWORD = 106;
int FEAT_WEAPON_FOCUS_GREAT_SWORD = 107;
int FEAT_WEAPON_FOCUS_HAND_AXE = 108;
int FEAT_WEAPON_FOCUS_THROWING_AXE = 109;
int FEAT_WEAPON_FOCUS_BATTLE_AXE = 110;
int FEAT_WEAPON_FOCUS_GREAT_AXE = 111;
int FEAT_WEAPON_FOCUS_HALBERD = 112;
int FEAT_WEAPON_FOCUS_LIGHT_HAMMER = 113;
int FEAT_WEAPON_FOCUS_LIGHT_FLAIL = 114;
int FEAT_WEAPON_FOCUS_WAR_HAMMER = 115;
int FEAT_WEAPON_FOCUS_HEAVY_FLAIL = 116;
int FEAT_WEAPON_FOCUS_KAMA = 117;
int FEAT_WEAPON_FOCUS_KUKRI = 118;
//int FEAT_WEAPON_FOCUS_NUNCHAKU = 119;
int FEAT_WEAPON_FOCUS_SHURIKEN = 120;
int FEAT_WEAPON_FOCUS_SCYTHE = 121;
int FEAT_WEAPON_FOCUS_KATANA = 122;
int FEAT_WEAPON_FOCUS_BASTARD_SWORD = 123;
int FEAT_WEAPON_FOCUS_DIRE_MACE = 125;
int FEAT_WEAPON_FOCUS_DOUBLE_AXE = 126;
int FEAT_WEAPON_FOCUS_TWO_BLADED_SWORD = 127;
int FEAT_WEAPON_SPECIALIZATION_DAGGER = 128;
int FEAT_WEAPON_SPECIALIZATION_DART = 129;
int FEAT_WEAPON_SPECIALIZATION_HEAVY_CROSSBOW = 130;
int FEAT_WEAPON_SPECIALIZATION_LIGHT_CROSSBOW = 131;
int FEAT_WEAPON_SPECIALIZATION_LIGHT_MACE = 132;
int FEAT_WEAPON_SPECIALIZATION_MORNING_STAR = 133;
int FEAT_WEAPON_SPECIALIZATION_STAFF = 134;
int FEAT_WEAPON_SPECIALIZATION_SPEAR = 135;
int FEAT_WEAPON_SPECIALIZATION_SICKLE = 136;
int FEAT_WEAPON_SPECIALIZATION_SLING = 137;
int FEAT_WEAPON_SPECIALIZATION_UNARMED_STRIKE = 138;
int FEAT_WEAPON_SPECIALIZATION_LONGBOW = 139;
int FEAT_WEAPON_SPECIALIZATION_SHORTBOW = 140;
int FEAT_WEAPON_SPECIALIZATION_SHORT_SWORD = 141;
int FEAT_WEAPON_SPECIALIZATION_RAPIER = 142;
int FEAT_WEAPON_SPECIALIZATION_SCIMITAR = 143;
int FEAT_WEAPON_SPECIALIZATION_LONG_SWORD = 144;
int FEAT_WEAPON_SPECIALIZATION_GREAT_SWORD = 145;
int FEAT_WEAPON_SPECIALIZATION_HAND_AXE = 146;
int FEAT_WEAPON_SPECIALIZATION_THROWING_AXE = 147;
int FEAT_WEAPON_SPECIALIZATION_BATTLE_AXE = 148;
int FEAT_WEAPON_SPECIALIZATION_GREAT_AXE = 149;
int FEAT_WEAPON_SPECIALIZATION_HALBERD = 150;
int FEAT_WEAPON_SPECIALIZATION_LIGHT_HAMMER = 151;
int FEAT_WEAPON_SPECIALIZATION_LIGHT_FLAIL = 152;
int FEAT_WEAPON_SPECIALIZATION_WAR_HAMMER = 153;
int FEAT_WEAPON_SPECIALIZATION_HEAVY_FLAIL = 154;
int FEAT_WEAPON_SPECIALIZATION_KAMA = 155;
int FEAT_WEAPON_SPECIALIZATION_KUKRI = 156;
//int FEAT_WEAPON_SPECIALIZATION_NUNCHAKU = 157;
int FEAT_WEAPON_SPECIALIZATION_SHURIKEN = 158;
int FEAT_WEAPON_SPECIALIZATION_SCYTHE = 159;
int FEAT_WEAPON_SPECIALIZATION_KATANA = 160;
int FEAT_WEAPON_SPECIALIZATION_BASTARD_SWORD = 161;
int FEAT_WEAPON_SPECIALIZATION_DIRE_MACE = 163;
int FEAT_WEAPON_SPECIALIZATION_DOUBLE_AXE = 164;
int FEAT_WEAPON_SPECIALIZATION_TWO_BLADED_SWORD = 165;
int FEAT_SPELL_FOCUS_CONJURATION = 166;
int FEAT_SPELL_FOCUS_DIVINATION = 167;
int FEAT_SPELL_FOCUS_ENCHANTMENT = 168;
int FEAT_SPELL_FOCUS_EVOCATION = 169;
int FEAT_SPELL_FOCUS_ILLUSION = 170;
int FEAT_SPELL_FOCUS_NECROMANCY = 171;
int FEAT_SPELL_FOCUS_TRANSMUTATION = 172;
int FEAT_SKILL_FOCUS_CONCENTRATION = 173;
int FEAT_SKILL_FOCUS_DISABLE_TRAP = 174;
int FEAT_SKILL_FOCUS_DISCIPLINE = 175;
int FEAT_SKILL_FOCUS_HEAL = 177;
int FEAT_SKILL_FOCUS_HIDE = 178;
int FEAT_SKILL_FOCUS_LISTEN = 179;
int FEAT_SKILL_FOCUS_LORE = 180;
int FEAT_SKILL_FOCUS_MOVE_SILENTLY = 181;
int FEAT_SKILL_FOCUS_OPEN_LOCK = 182;
int FEAT_SKILL_FOCUS_PARRY = 183;
int FEAT_SKILL_FOCUS_PERFORM = 184;
int FEAT_SKILL_FOCUS_PERSUADE = 185;
int FEAT_SKILL_FOCUS_PICK_POCKET = 186;
int FEAT_SKILL_FOCUS_SEARCH = 187;
int FEAT_SKILL_FOCUS_SET_TRAP = 188;
int FEAT_SKILL_FOCUS_SPELLCRAFT = 189;
int FEAT_SKILL_FOCUS_SPOT = 190;
int FEAT_SKILL_FOCUS_TAUNT = 192;
int FEAT_SKILL_FOCUS_USE_MAGIC_DEVICE = 193;
int FEAT_BARBARIAN_ENDURANCE = 194;
int FEAT_UNCANNY_DODGE_1 = 195;
int FEAT_DAMAGE_REDUCTION = 196;
int FEAT_BARDIC_KNOWLEDGE = 197;
int FEAT_NATURE_SENSE = 198;
int FEAT_ANIMAL_COMPANION = 199;
int FEAT_WOODLAND_STRIDE = 200;
int FEAT_TRACKLESS_STEP = 201;
int FEAT_RESIST_NATURES_LURE = 202;
int FEAT_VENOM_IMMUNITY = 203;
int FEAT_FLURRY_OF_BLOWS = 204;
int FEAT_EVASION = 206;
int FEAT_MONK_ENDURANCE = 207;
int FEAT_STILL_MIND = 208;
int FEAT_PURITY_OF_BODY = 209;
int FEAT_WHOLENESS_OF_BODY = 211;
int FEAT_IMPROVED_EVASION = 212;
int FEAT_KI_STRIKE = 213;
int FEAT_DIAMOND_BODY = 214;
int FEAT_DIAMOND_SOUL = 215;
int FEAT_PERFECT_SELF = 216;
int FEAT_DIVINE_GRACE = 217;
int FEAT_DIVINE_HEALTH = 219;
int FEAT_SNEAK_ATTACK = 221;
int FEAT_CRIPPLING_STRIKE = 222;
int FEAT_DEFENSIVE_ROLL = 223;
int FEAT_OPPORTUNIST = 224;
int FEAT_SKILL_MASTERY = 225;
int FEAT_UNCANNY_REFLEX = 226;
int FEAT_STONECUNNING = 227;
int FEAT_DARKVISION = 228;
int FEAT_HARDINESS_VERSUS_POISONS = 229;
int FEAT_HARDINESS_VERSUS_SPELLS = 230;
int FEAT_BATTLE_TRAINING_VERSUS_ORCS = 231;
int FEAT_BATTLE_TRAINING_VERSUS_GOBLINS = 232;
int FEAT_BATTLE_TRAINING_VERSUS_GIANTS = 233;
int FEAT_SKILL_AFFINITY_LORE = 234;
int FEAT_IMMUNITY_TO_SLEEP = 235;
int FEAT_HARDINESS_VERSUS_ENCHANTMENTS = 236;
int FEAT_SKILL_AFFINITY_LISTEN = 237;
int FEAT_SKILL_AFFINITY_SEARCH = 238;
int FEAT_SKILL_AFFINITY_SPOT = 239;
int FEAT_KEEN_SENSE = 240;
int FEAT_HARDINESS_VERSUS_ILLUSIONS = 241;
int FEAT_BATTLE_TRAINING_VERSUS_REPTILIANS = 242;
int FEAT_SKILL_AFFINITY_CONCENTRATION = 243;
int FEAT_PARTIAL_SKILL_AFFINITY_LISTEN = 244;
int FEAT_PARTIAL_SKILL_AFFINITY_SEARCH = 245;
int FEAT_PARTIAL_SKILL_AFFINITY_SPOT = 246;
int FEAT_SKILL_AFFINITY_MOVE_SILENTLY = 247;
int FEAT_LUCKY = 248;
int FEAT_FEARLESS = 249;
int FEAT_GOOD_AIM = 250;
int FEAT_UNCANNY_DODGE_2 = 251;
int FEAT_UNCANNY_DODGE_3 = 252;
int FEAT_UNCANNY_DODGE_4 = 253;
int FEAT_UNCANNY_DODGE_5 = 254;
int FEAT_UNCANNY_DODGE_6 = 255;
int FEAT_WEAPON_PROFICIENCY_ELF = 256;
int FEAT_BARD_SONGS = 257;
int FEAT_QUICK_TO_MASTER = 258;
int FEAT_SLIPPERY_MIND = 259;
int FEAT_MONK_AC_BONUS = 260;
int FEAT_FAVORED_ENEMY_DWARF = 261;
int FEAT_FAVORED_ENEMY_ELF = 262;
int FEAT_FAVORED_ENEMY_GNOME = 263;
int FEAT_FAVORED_ENEMY_HALFLING = 264;
int FEAT_FAVORED_ENEMY_HALFELF = 265;
int FEAT_FAVORED_ENEMY_HALFORC = 266;
int FEAT_FAVORED_ENEMY_HUMAN = 267;
int FEAT_FAVORED_ENEMY_ABERRATION = 268;
int FEAT_FAVORED_ENEMY_ANIMAL = 269;
int FEAT_FAVORED_ENEMY_BEAST = 270;
int FEAT_FAVORED_ENEMY_CONSTRUCT = 271;
int FEAT_FAVORED_ENEMY_DRAGON = 272;
int FEAT_FAVORED_ENEMY_GOBLINOID = 273;
int FEAT_FAVORED_ENEMY_MONSTROUS = 274;
int FEAT_FAVORED_ENEMY_ORC = 275;
int FEAT_FAVORED_ENEMY_REPTILIAN = 276;
int FEAT_FAVORED_ENEMY_ELEMENTAL = 277;
int FEAT_FAVORED_ENEMY_FEY = 278;
int FEAT_FAVORED_ENEMY_GIANT = 279;
int FEAT_FAVORED_ENEMY_MAGICAL_BEAST = 280;
int FEAT_FAVORED_ENEMY_OUTSIDER = 281;
int FEAT_FAVORED_ENEMY_SHAPECHANGER = 284;
int FEAT_FAVORED_ENEMY_UNDEAD = 285;
int FEAT_FAVORED_ENEMY_VERMIN = 286;
int FEAT_WEAPON_PROFICIENCY_CREATURE = 289;
int FEAT_WEAPON_SPECIALIZATION_CREATURE = 290;
int FEAT_WEAPON_FOCUS_CREATURE = 291;
int FEAT_IMPROVED_CRITICAL_CREATURE = 292;
int FEAT_BARBARIAN_RAGE = 293;
int FEAT_TURN_UNDEAD = 294;
int FEAT_QUIVERING_PALM = 296;
int FEAT_EMPTY_BODY = 297;
//int FEAT_DETECT_EVIL = 298;
int FEAT_LAY_ON_HANDS = 299;
int FEAT_AURA_OF_COURAGE = 300;
int FEAT_SMITE_EVIL = 301;
int FEAT_REMOVE_DISEASE = 302;
int FEAT_SUMMON_FAMILIAR = 303;
int FEAT_ELEMENTAL_SHAPE = 304;
int FEAT_WILD_SHAPE = 305;
int FEAT_WAR_DOMAIN_POWER = 306;
int FEAT_STRENGTH_DOMAIN_POWER = 307;
int FEAT_PROTECTION_DOMAIN_POWER = 308;
int FEAT_LUCK_DOMAIN_POWER = 309;
int FEAT_DEATH_DOMAIN_POWER = 310;
int FEAT_AIR_DOMAIN_POWER = 311;
int FEAT_ANIMAL_DOMAIN_POWER = 312;
int FEAT_DESTRUCTION_DOMAIN_POWER = 313;
int FEAT_EARTH_DOMAIN_POWER = 314;
int FEAT_EVIL_DOMAIN_POWER = 315;
int FEAT_FIRE_DOMAIN_POWER = 316;
int FEAT_GOOD_DOMAIN_POWER = 317;
int FEAT_HEALING_DOMAIN_POWER = 318;
int FEAT_KNOWLEDGE_DOMAIN_POWER = 319;
int FEAT_MAGIC_DOMAIN_POWER = 320;
int FEAT_PLANT_DOMAIN_POWER = 321;
int FEAT_SUN_DOMAIN_POWER = 322;
int FEAT_TRAVEL_DOMAIN_POWER = 323;
int FEAT_TRICKERY_DOMAIN_POWER = 324;
int FEAT_WATER_DOMAIN_POWER = 325;
int FEAT_LOWLIGHTVISION = 354;
// Special Attack Defines
int SPECIAL_ATTACK_INVALID = 0;
int SPECIAL_ATTACK_CALLED_SHOT_LEG = 1;
int SPECIAL_ATTACK_CALLED_SHOT_ARM = 2;
int SPECIAL_ATTACK_SAP = 3;
int SPECIAL_ATTACK_DISARM = 4;
int SPECIAL_ATTACK_IMPROVED_DISARM = 5;
int SPECIAL_ATTACK_KNOCKDOWN = 6;
int SPECIAL_ATTACK_IMPROVED_KNOCKDOWN = 7;
int SPECIAL_ATTACK_STUNNING_FIST = 8;
int SPECIAL_ATTACK_FLURRY_OF_BLOWS = 9;
int SPECIAL_ATTACK_RAPID_SHOT = 10;
// Combat Mode Defines
int COMBAT_MODE_INVALID = 0;
int COMBAT_MODE_PARRY = 1;
int COMBAT_MODE_POWER_ATTACK = 2;
int COMBAT_MODE_IMPROVED_POWER_ATTACK = 3;
int COMBAT_MODE_FLURRY_OF_BLOWS = 4;
int COMBAT_MODE_RAPID_SHOT = 5;
// These represent the row in the difficulty 2da, rather than
// a difficulty value.
int ENCOUNTER_DIFFICULTY_VERY_EASY = 0;
int ENCOUNTER_DIFFICULTY_EASY = 1;
int ENCOUNTER_DIFFICULTY_NORMAL = 2;
int ENCOUNTER_DIFFICULTY_HARD = 3;
int ENCOUNTER_DIFFICULTY_IMPOSSIBLE = 4;
// Looping animation constants.
int ANIMATION_LOOPING_PAUSE = 0;
int ANIMATION_LOOPING_PAUSE2 = 1;
int ANIMATION_LOOPING_LISTEN = 2;
int ANIMATION_LOOPING_MEDITATE = 3;
int ANIMATION_LOOPING_WORSHIP = 4;
int ANIMATION_LOOPING_LOOK_FAR = 5;
int ANIMATION_LOOPING_SIT_CHAIR = 6;
int ANIMATION_LOOPING_SIT_CROSS = 7;
int ANIMATION_LOOPING_TALK_NORMAL = 8;
int ANIMATION_LOOPING_TALK_PLEADING = 9;
int ANIMATION_LOOPING_TALK_FORCEFUL = 10;
int ANIMATION_LOOPING_TALK_LAUGHING = 11;
int ANIMATION_LOOPING_GET_LOW = 12;
int ANIMATION_LOOPING_GET_MID = 13;
int ANIMATION_LOOPING_PAUSE_TIRED = 14;
int ANIMATION_LOOPING_PAUSE_DRUNK = 15;
// Fire and forget animation constants.
int ANIMATION_FIREFORGET_HEAD_TURN_LEFT = 100;
int ANIMATION_FIREFORGET_HEAD_TURN_RIGHT = 101;
int ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD = 102;
int ANIMATION_FIREFORGET_PAUSE_BORED = 103;
int ANIMATION_FIREFORGET_SALUTE = 104;
int ANIMATION_FIREFORGET_BOW = 105;
int ANIMATION_FIREFORGET_STEAL = 106;
int ANIMATION_FIREFORGET_GREETING = 107;
int ANIMATION_FIREFORGET_TAUNT = 108;
int ANIMATION_FIREFORGET_VICTORY1 = 109;
int ANIMATION_FIREFORGET_VICTORY2 = 110;
int ANIMATION_FIREFORGET_VICTORY3 = 111;
int ANIMATION_FIREFORGET_READ = 112;
int ANIMATION_FIREFORGET_DRINK = 113;
// Placeable animation constants
int ANIMATION_PLACEABLE_ACTIVATE = 200;
int ANIMATION_PLACEABLE_DEACTIVATE = 201;
int ANIMATION_PLACEABLE_OPEN = 202;
int ANIMATION_PLACEABLE_CLOSE = 203;
int TALENT_TYPE_SPELL = 0;
int TALENT_TYPE_FEAT = 1;
int TALENT_TYPE_SKILL = 2;
Par Daynos le 27/5/2002 à 22:10:17 (#1539261)
// Cannot use the value -1 because that is used to start a conversation
int ASSOCIATE_COMMAND_STANDGROUND = -2;
int ASSOCIATE_COMMAND_ATTACKNEAREST = -3;
int ASSOCIATE_COMMAND_HEALMASTER = -4;
int ASSOCIATE_COMMAND_FOLLOWMASTER = -5;
int ASSOCIATE_COMMAND_MASTERFAILEDLOCKPICK = -6;
int ASSOCIATE_COMMAND_GUARDMASTER = -7;
int ASSOCIATE_COMMAND_UNSUMMONFAMILIAR = -8;
int ASSOCIATE_COMMAND_UNSUMMONANIMALCOMPANION = -9;
int ASSOCIATE_COMMAND_UNSUMMONSUMMONED = -10;
int ASSOCIATE_COMMAND_MASTERUNDERATTACK = -11;
int ASSOCIATE_COMMAND_RELEASEDOMINATION = -12;
int ASSOCIATE_COMMAND_UNPOSSESSFAMILIAR = -13;
int ASSOCIATE_COMMAND_MASTERSAWTRAP = -14;
int ASSOCIATE_COMMAND_MASTERATTACKEDOTHER = -15;
int ASSOCIATE_COMMAND_MASTERGOINGTOBEATTACKED = -16;
int ASSOCIATE_COMMAND_LEAVEPARTY = -17;
int ASSOCIATE_TYPE_HENCHMAN = 1;
int ASSOCIATE_TYPE_ANIMALCOMPANION = 2;
int ASSOCIATE_TYPE_FAMILIAR = 3;
int ASSOCIATE_TYPE_SUMMONED = 4;
int ASSOCIATE_TYPE_DOMINATED = 5;
int TALENT_CATEGORY_HARMFUL_AREAEFFECT_DISCRIMINANT = 1;
int TALENT_CATEGORY_HARMFUL_RANGED = 2;
int TALENT_CATEGORY_HARMFUL_TOUCH = 3;
int TALENT_CATEGORY_BENEFICIAL_HEALING_AREAEFFECT = 4;
int TALENT_CATEGORY_BENEFICIAL_HEALING_TOUCH = 5;
int TALENT_CATEGORY_BENEFICIAL_CONDITIONAL_AREAEFFECT = 6;
int TALENT_CATEGORY_BENEFICIAL_CONDITIONAL_SINGLE = 7;
int TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_AREAEFFECT = 8;
int TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_SINGLE = 9;
int TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_SELF = 10;
int TALENT_CATEGORY_HARMFUL_AREAEFFECT_INDISCRIMINANT = 11;
int TALENT_CATEGORY_BENEFICIAL_PROTECTION_SELF = 12;
int TALENT_CATEGORY_BENEFICIAL_PROTECTION_SINGLE = 13;
int TALENT_CATEGORY_BENEFICIAL_PROTECTION_AREAEFFECT = 14;
int TALENT_CATEGORY_BENEFICIAL_OBTAIN_ALLIES = 15;
int TALENT_CATEGORY_PERSISTENT_AREA_OF_EFFECT = 16;
int TALENT_CATEGORY_BENEFICIAL_HEALING_POTION = 17;
int TALENT_CATEGORY_BENEFICIAL_CONDITIONAL_POTION = 18;
int TALENT_CATEGORY_DRAGONS_BREATH = 19;
int TALENT_CATEGORY_BENEFICIAL_PROTECTION_POTION = 20;
int TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_POTION = 21;
int INVENTORY_DISTURB_TYPE_ADDED = 0;
int INVENTORY_DISTURB_TYPE_REMOVED = 1;
int INVENTORY_DISTURB_TYPE_STOLEN = 2;
int GUI_PANEL_PLAYER_DEATH = 0;
intVOICE_CHAT_ATTACK =0;
intVOICE_CHAT_BATTLECRY1 =1;
intVOICE_CHAT_BATTLECRY2 =2;
intVOICE_CHAT_BATTLECRY3 =3;
intVOICE_CHAT_HEALME =4;
intVOICE_CHAT_HELP =5;
intVOICE_CHAT_ENEMIES =6;
intVOICE_CHAT_FLEE =7;
intVOICE_CHAT_TAUNT =8;
intVOICE_CHAT_GUARDME =9;
intVOICE_CHAT_HOLD =10;
intVOICE_CHAT_GATTACK1 =11;
intVOICE_CHAT_GATTACK2 =12;
intVOICE_CHAT_GATTACK3 =13;
intVOICE_CHAT_PAIN1 =14;
intVOICE_CHAT_PAIN2 =15;
intVOICE_CHAT_PAIN3 =16;
intVOICE_CHAT_NEARDEATH =17;
intVOICE_CHAT_DEATH =18;
intVOICE_CHAT_POISONED =19;
intVOICE_CHAT_SPELLFAILED =20;
intVOICE_CHAT_WEAPONSUCKS =21;
intVOICE_CHAT_FOLLOWME =22;
intVOICE_CHAT_LOOKHERE =23;
intVOICE_CHAT_GROUP =24;
intVOICE_CHAT_MOVEOVER =25;
intVOICE_CHAT_PICKLOCK =26;
intVOICE_CHAT_SEARCH =27;
intVOICE_CHAT_HIDE =28;
intVOICE_CHAT_CANDO =29;
intVOICE_CHAT_CANTDO =30;
intVOICE_CHAT_TASKCOMPLETE =31;
intVOICE_CHAT_ENCUMBERED =32;
intVOICE_CHAT_SELECTED =33;
intVOICE_CHAT_HELLO =34;
intVOICE_CHAT_YES =35;
intVOICE_CHAT_NO =36;
intVOICE_CHAT_STOP =37;
intVOICE_CHAT_REST =38;
intVOICE_CHAT_BORED =39;
intVOICE_CHAT_GOODBYE =40;
intVOICE_CHAT_THANKS =41;
intVOICE_CHAT_LAUGH =42;
intVOICE_CHAT_CUSS =43;
intVOICE_CHAT_CHEER =44;
intVOICE_CHAT_TALKTOME =45;
intVOICE_CHAT_GOODIDEA =46;
intVOICE_CHAT_BADIDEA =47;
intVOICE_CHAT_THREATEN =48;
int POLYMORPH_TYPE_WEREWOLF = 0;
int POLYMORPH_TYPE_WERERAT = 1;
int POLYMORPH_TYPE_WERECAT = 2;
int POLYMORPH_TYPE_GIANT_SPIDER = 3;
int POLYMORPH_TYPE_TROLL = 4;
int POLYMORPH_TYPE_UMBER_HULK = 5;
int POLYMORPH_TYPE_PIXIE = 6;
int POLYMORPH_TYPE_ZOMBIE = 7;
int POLYMORPH_TYPE_RED_DRAGON = 8;
int POLYMORPH_TYPE_FIRE_GIANT = 9;
int POLYMORPH_TYPE_BALOR = 10;
int POLYMORPH_TYPE_DEATH_SLAAD = 11;
int POLYMORPH_TYPE_IRON_GOLEM = 12;
int POLYMORPH_TYPE_HUGE_FIRE_ELEMENTAL = 13;
int POLYMORPH_TYPE_HUGE_WATER_ELEMENTAL = 14;
int POLYMORPH_TYPE_HUGE_EARTH_ELEMENTAL = 15;
int POLYMORPH_TYPE_HUGE_AIR_ELEMENTAL = 16;
int POLYMORPH_TYPE_ELDER_FIRE_ELEMENTAL = 17;
int POLYMORPH_TYPE_ELDER_WATER_ELEMENTAL = 18;
int POLYMORPH_TYPE_ELDER_EARTH_ELEMENTAL = 19;
int POLYMORPH_TYPE_ELDER_AIR_ELEMENTAL = 20;
int POLYMORPH_TYPE_BROWN_BEAR = 21;
int POLYMORPH_TYPE_PANTHER = 22;
int POLYMORPH_TYPE_WOLF = 23;
int POLYMORPH_TYPE_BOAR = 24;
int POLYMORPH_TYPE_BADGER = 25;
int POLYMORPH_TYPE_PENGUIN = 26;
int POLYMORPH_TYPE_COW = 27;
int POLYMORPH_TYPE_DOOM_KNIGHT = 28;
int POLYMORPH_TYPE_YUANTI = 29;
int POLYMORPH_TYPE_IMP = 30;
int POLYMORPH_TYPE_QUASIT = 31;
int POLYMORPH_TYPE_SUCCUBUS = 32;
int INVISIBILITY_TYPE_NORMAL = 1;
int INVISIBILITY_TYPE_DARKNESS = 2;
int INVISIBILITY_TYPE_IMPROVED = 4;
int CREATURE_SIZE_INVALID = 0;
int CREATURE_SIZE_TINY = 1;
int CREATURE_SIZE_SMALL = 2;
int CREATURE_SIZE_MEDIUM = 3;
int CREATURE_SIZE_LARGE = 4;
int CREATURE_SIZE_HUGE = 5;
int SPELL_SCHOOL_GENERAL = 0;
int SPELL_SCHOOL_ABJURATION = 1;
int SPELL_SCHOOL_CONJURATION = 2;
int SPELL_SCHOOL_DIVINATION = 3;
int SPELL_SCHOOL_ENCHANTMENT = 4;
int SPELL_SCHOOL_EVOCATION = 5;
int SPELL_SCHOOL_ILLUSION = 6;
int SPELL_SCHOOL_NECROMANCY = 7;
int SPELL_SCHOOL_TRANSMUTATION = 8;
int ANIMAL_COMPANION_CREATURE_TYPE_BADGER = 0;
int ANIMAL_COMPANION_CREATURE_TYPE_WOLF = 1;
int ANIMAL_COMPANION_CREATURE_TYPE_BEAR = 2;
int ANIMAL_COMPANION_CREATURE_TYPE_BOAR = 3;
int ANIMAL_COMPANION_CREATURE_TYPE_HAWK = 4;
int ANIMAL_COMPANION_CREATURE_TYPE_PANTHER = 5;
int ANIMAL_COMPANION_CREATURE_TYPE_SPIDER = 6;
int ANIMAL_COMPANION_CREATURE_TYPE_DIREWOLF = 7;
int ANIMAL_COMPANION_CREATURE_TYPE_NONE = 255;
int FAMILIAR_CREATURE_TYPE_BAT = 0;
int FAMILIAR_CREATURE_TYPE_CRAGCAT = 1;
int FAMILIAR_CREATURE_TYPE_HELLHOUND = 2;
int FAMILIAR_CREATURE_TYPE_IMP = 3;
int FAMILIAR_CREATURE_TYPE_FIREMEPHIT = 4;
int FAMILIAR_CREATURE_TYPE_ICEMEPHIT = 5;
int FAMILIAR_CREATURE_TYPE_PIXIE = 6;
int FAMILIAR_CREATURE_TYPE_RAVEN = 7;
int FAMILIAR_CREATURE_TYPE_NONE = 255;
int CAMERA_MODE_CHASE_CAMERA = 0;
int CAMERA_MODE_TOP_DOWN = 1;
int CAMERA_MODE_STIFF_CHASE_CAMERA = 2;
int WEATHER_CLEAR = 0;
int WEATHER_RAIN = 1;
int WEATHER_SNOW = 2;
int WEATHER_USE_AREA_SETTINGS = -1;
int REST_EVENTTYPE_REST_INVALID = 0;
int REST_EVENTTYPE_REST_STARTED = 1;
int REST_EVENTTYPE_REST_FINISHED = 2;
int REST_EVENTTYPE_REST_CANCELLED = 3;
int PROJECTILE_PATH_TYPE_DEFAULT = 0;
int PROJECTILE_PATH_TYPE_HOMING = 1;
int PROJECTILE_PATH_TYPE_BALLISTIC = 2;
int PROJECTILE_PATH_TYPE_HIGH_BALLISTIC = 3;
int PROJECTILE_PATH_TYPE_ACCELERATING = 4;
int GAME_DIFFICULTY_VERY_EASY = 0;
int GAME_DIFFICULTY_EASY = 1;
int GAME_DIFFICULTY_NORMAL = 2;
int GAME_DIFFICULTY_CORE_RULES = 3;
int GAME_DIFFICULTY_DIFFICULT = 4;
int TILE_MAIN_LIGHT_COLOR_DIM_WHITE = 0;
int TILE_MAIN_LIGHT_COLOR_BLACK = 1;
int TILE_MAIN_LIGHT_COLOR_WHITE = 2;
int TILE_MAIN_LIGHT_COLOR_BRIGHT_WHITE = 3;
int TILE_MAIN_LIGHT_COLOR_DARK_YELLOW = 4;
int TILE_MAIN_LIGHT_COLOR_PALE_DARK_YELLOW = 5;
int TILE_MAIN_LIGHT_COLOR_YELLOW = 6;
int TILE_MAIN_LIGHT_COLOR_PALE_YELLOW = 7;
int TILE_MAIN_LIGHT_COLOR_DARK_GREEN = 8;
int TILE_MAIN_LIGHT_COLOR_PALE_DARK_GREEN = 9;
int TILE_MAIN_LIGHT_COLOR_GREEN = 10;
int TILE_MAIN_LIGHT_COLOR_PALE_GREEN = 11;
int TILE_MAIN_LIGHT_COLOR_DARK_AQUA = 12;
int TILE_MAIN_LIGHT_COLOR_PALE_DARK_AQUA = 13;
int TILE_MAIN_LIGHT_COLOR_AQUA = 14;
int TILE_MAIN_LIGHT_COLOR_PALE_AQUA = 15;
int TILE_MAIN_LIGHT_COLOR_DARK_BLUE = 16;
int TILE_MAIN_LIGHT_COLOR_PALE_DARK_BLUE = 17;
int TILE_MAIN_LIGHT_COLOR_BLUE = 18;
int TILE_MAIN_LIGHT_COLOR_PALE_BLUE = 19;
int TILE_MAIN_LIGHT_COLOR_DARK_PURPLE = 20;
int TILE_MAIN_LIGHT_COLOR_PALE_DARK_PURPLE = 21;
int TILE_MAIN_LIGHT_COLOR_PURPLE = 22;
int TILE_MAIN_LIGHT_COLOR_PALE_PURPLE = 23;
int TILE_MAIN_LIGHT_COLOR_DARK_RED = 24;
int TILE_MAIN_LIGHT_COLOR_PALE_DARK_RED = 25;
int TILE_MAIN_LIGHT_COLOR_RED = 26;
int TILE_MAIN_LIGHT_COLOR_PALE_RED = 27;
int TILE_MAIN_LIGHT_COLOR_DARK_ORANGE = 28;
int TILE_MAIN_LIGHT_COLOR_PALE_DARK_ORANGE = 29;
int TILE_MAIN_LIGHT_COLOR_ORANGE = 30;
int TILE_MAIN_LIGHT_COLOR_PALE_ORANGE = 31;
int PANEL_BUTTON_MAP = 0;
int PANEL_BUTTON_INVENTORY = 1;
int PANEL_BUTTON_JOURNAL = 2;
int PANEL_BUTTON_CHARACTER = 3;
int PANEL_BUTTON_OPTIONS = 4;
int PANEL_BUTTON_SPELLS = 5;
int PANEL_BUTTON_REST = 6;
int PANEL_BUTTON_PLAYER_VERSUS_PLAYER = 7;
int ACTION_MOVETOPOINT = 0;
int ACTION_PICKUPITEM = 1;
int ACTION_DROPITEM = 2;
int ACTION_ATTACKOBJECT = 3;
int ACTION_CASTSPELL = 4;
int ACTION_OPENDOOR = 5;
int ACTION_CLOSEDOOR = 6;
int ACTION_DIALOGOBJECT = 7;
int ACTION_DISABLETRAP = 8;
int ACTION_RECOVERTRAP = 9;
int ACTION_FLAGTRAP = 10;
int ACTION_EXAMINETRAP = 11;
int ACTION_SETTRAP = 12;
int ACTION_OPENLOCK = 13;
int ACTION_LOCK = 14;
int ACTION_USEOBJECT = 15;
int ACTION_ANIMALEMPATHY = 16;
int ACTION_REST = 17;
int ACTION_TAUNT = 18;
int ACTION_ITEMCASTSPELL = 19;
int ACTION_COUNTERSPELL = 31;
int ACTION_HEAL = 33;
int ACTION_PICKPOCKET = 34;
int ACTION_FOLLOW = 35;
int ACTION_WAIT = 36;
int ACTION_SIT = 37;
int ACTION_INVALID = 65535;
Par Daynos le 27/5/2002 à 22:15:59 (#1539285)
Dans la foulée, je poste les fonctions prédéfinies dans un autre thread
JOL Archives 1.0.1
@ JOL / JeuxOnLine