用户工具

站点工具


数据库:world数据库:creature_template

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
数据库:world数据库:creature_template [2023/09/24 17:52] – [unit_flags] admin数据库:world数据库:creature_template [2023/10/09 20:57] (当前版本) – [unit_class] admin
行 8: 行 8:
 ^Field^Type^Attributes^Key^Null^Default^Extra^Comment^ ^Field^Type^Attributes^Key^Null^Default^Extra^Comment^
 |[[#entry|entry]]|MEDIUMINT|UNSIGNED|PRI|NO|0| | | |[[#entry|entry]]|MEDIUMINT|UNSIGNED|PRI|NO|0| | |
-|[[#difficulty_entry_1|difficulty_entry_1]]|MEDIUMINT|UNSIGNED| |NO|0| | | +|[[#difficulty_entry_x|difficulty_entry_1]]|MEDIUMINT|UNSIGNED| |NO|0| | | 
-|[[#difficulty_entry_2|difficulty_entry_2]]|MEDIUMINT|UNSIGNED| |NO|0| | | +|[[#difficulty_entry_x|difficulty_entry_2]]|MEDIUMINT|UNSIGNED| |NO|0| | | 
-|[[#difficulty_entry_3|difficulty_entry_3]]|MEDIUMINT|UNSIGNED| |NO|0| | |+|[[#difficulty_entry_x|difficulty_entry_3]]|MEDIUMINT|UNSIGNED| |NO|0| | |
 |[[#KillCredit1|KillCredit1]]|INT|UNSIGNED| |NO|0| | | |[[#KillCredit1|KillCredit1]]|INT|UNSIGNED| |NO|0| | |
 |[[#KillCredit2|KillCredit2]]|INT|UNSIGNED| |NO|0| | | |[[#KillCredit2|KillCredit2]]|INT|UNSIGNED| |NO|0| | |
-|[[#modelid1|modelid1]]|MEDIUMINT|UNSIGNED| |NO|0| | | +|[[#modelidx|modelid1]]|MEDIUMINT|UNSIGNED| |NO|0| | | 
-|[[#modelid2|modelid2]]|MEDIUMINT|UNSIGNED| |NO|0| | | +|[[#modelidx|modelid2]]|MEDIUMINT|UNSIGNED| |NO|0| | | 
-|[[#modelid3|modelid3]]|MEDIUMINT|UNSIGNED| |NO|0| | | +|[[#modelidx|modelid3]]|MEDIUMINT|UNSIGNED| |NO|0| | | 
-|[[#modelid4|modelid4]]|MEDIUMINT|UNSIGNED| |NO|0| | |+|[[#modelidx|modelid4]]|MEDIUMINT|UNSIGNED| |NO|0| | |
 |[[#name|name]]|char(100)| |MUL|NO|0| | | |[[#name|name]]|char(100)| |MUL|NO|0| | |
 |[[#subname|subname]]|char(100)| | |YES|(NULL)| | | |[[#subname|subname]]|char(100)| | |YES|(NULL)| | |
行 278: 行 278:
  
 This is the creature's class, and it dictates levels of health and mana. Also note that health and mana will change according to exp, HealthModifier, and ManaModifier. Not setting this value will report a minor warning in the "DB_Errors.log". This is the creature's class, and it dictates levels of health and mana. Also note that health and mana will change according to exp, HealthModifier, and ManaModifier. Not setting this value will report a minor warning in the "DB_Errors.log".
 +这是生物的职业,它决定了生命值和法力值。另请注意,生命值和法力值会根据经验值修正系数、生命值修正系数和法力修正系数而变化。不设置此值将在“DB_Errors.log”中报告次要警告。
 ^Value^Name^Power Shown^ ^Value^Name^Power Shown^
-|1|CLASS_WARRIOR|health only (equal to rogue)| +|1|CLASS_WARRIOR|仅生命值 (相当于战士,护甲高)| 
-|2|CLASS_PALADIN|health & mana (more health than mage but less mana)+|2|CLASS_PALADIN|生命值和魔法值(生命值比法力值多,但魔法值少)
-|4|CLASS_ROGUE|Health only (equal to warrior)+|4|CLASS_ROGUE|仅生命值(相当于盗贼,护甲低)
-|8|CLASS_MAGE|health & mana (less health than paladin but more mana)|+|8|CLASS_MAGE|生命值和法力值(生命值比圣骑士少,但法力值多)|
  
 ==== unit_flags ==== ==== unit_flags ====
行 327: 行 327:
 Allows additional application of unit flags to creatures. Again, this is a bitmask field and to apply more than one flag, just add the different numbers. Some possible flags are: Allows additional application of unit flags to creatures. Again, this is a bitmask field and to apply more than one flag, just add the different numbers. Some possible flags are:
  
-Flag Name Comments +^Flag^ ^Name^Comments^ 
-1 0x00000001 UNIT_FLAG2_FEIGN_DEATH  +|1|0x00000001|UNIT_FLAG2_FEIGN_DEATH| | 
-2 0x00000002 UNIT_FLAG2_HIDE_BODY Hide unit model (show only player equip) +|2|0x00000002|UNIT_FLAG2_HIDE_BODY|Hide unit model (show only player equip)| 
-4 0x00000004 UNIT_FLAG2_IGNORE_REPUTATION  +|4|0x00000004|UNIT_FLAG2_IGNORE_REPUTATION| | 
-8 0x00000008 UNIT_FLAG2_COMPREHEND_LANG  +|8|0x00000008|UNIT_FLAG2_COMPREHEND_LANG| | 
-16 0x00000010 UNIT_FLAG2_MIRROR_IMAGE  +|16|0x00000010|UNIT_FLAG2_MIRROR_IMAGE| | 
-32 0x00000020 UNIT_FLAG2_DO_NOT_FADE_IN Unit model instantly appears when summoned (does not fade in) +|32|0x00000020|UNIT_FLAG2_DO_NOT_FADE_IN|Unit model instantly appears when summoned (does not fade in)| 
-64 0x00000040 UNIT_FLAG2_FORCE_MOVEMENT  +|64|0x00000040|UNIT_FLAG2_FORCE_MOVEMENT| | 
-128 0x00000080 UNIT_FLAG2_DISARM_OFFHAND  +|128|0x00000080|UNIT_FLAG2_DISARM_OFFHAND| | 
-256 0x00000100 UNIT_FLAG2_DISABLE_PRED_STATS Player has disabled predicted stats (Used by raid frames) +|256|0x00000100|UNIT_FLAG2_DISABLE_PRED_STATS|Player has disabled predicted stats (Used by raid frames)| 
-1024 0x00000400 UNIT_FLAG2_DISARM_RANGED this does not disable ranged weapon display (maybe additional flag needed?) +|1024|0x00000400|UNIT_FLAG2_DISARM_RANGED|this does not disable ranged weapon display (maybe additional flag needed?)| 
-2048 0x00000800 UNIT_FLAG2_REGENERATE_POWER  +|2048|0x00000800|UNIT_FLAG2_REGENERATE_POWER| | 
-4096 0x00001000 UNIT_FLAG2_RESTRICT_PARTY_INTERACTION Restrict interaction to party or raid +|4096|0x00001000|UNIT_FLAG2_RESTRICT_PARTY_INTERACTION|Restrict interaction to party or raid| 
-8192 0x00002000 UNIT_FLAG2_PREVENT_SPELL_CLICK Prevent spellclick +|8192|0x00002000|UNIT_FLAG2_PREVENT_SPELL_CLICK|Prevent spellclick| 
-16384 0x00004000 UNIT_FLAG2_ALLOW_ENEMY_INTERACT  +|16384|0x00004000|UNIT_FLAG2_ALLOW_ENEMY_INTERACT| | 
-32768 0x00008000 UNIT_FLAG2_CANNOT_TURN  +|32768|0x00008000|UNIT_FLAG2_CANNOT_TURN| | 
-65536 0x00010000 UNIT_FLAG2_UNK2  +|65536|0x00010000|UNIT_FLAG2_UNK2| | 
-131072 0x00020000 UNIT_FLAG2_PLAY_DEATH_ANIM Plays special death animation upon death +|131072|0x00020000|UNIT_FLAG2_PLAY_DEATH_ANIM|Plays special death animation upon death| 
-262144 0x00040000 UNIT_FLAG2_ALLOW_CHEAT_SPELLS allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL+|262144|0x00040000|UNIT_FLAG2_ALLOW_CHEAT_SPELLS|allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL
 ==== dynamicflags ==== ==== dynamicflags ====
  
行 352: 行 353:
 A few known flags and their use are: A few known flags and their use are:
  
-Flag Name Comments +^Flag^ ^Name^Comments^ 
-0 0x00 UNIT_DYNFLAG_NONE  +|0|0x00|UNIT_DYNFLAG_NONE| | 
-1 0x01 UNIT_DYNFLAG_LOOTABLE  +|1|0x01|UNIT_DYNFLAG_LOOTABLE| | 
-2 0x02 UNIT_DYNFLAG_TRACK_UNIT Creature's location will be seen as a small dot in the minimap +|2|0x02|UNIT_DYNFLAG_TRACK_UNIT|Creature's location will be seen as a small dot in the minimap| 
-4 0x04 UNIT_DYNFLAG_TAPPED Makes creatures name appear grey (Lua_UnitIsTapped) +|4|0x04|UNIT_DYNFLAG_TAPPED|Makes creatures name appear grey (Lua_UnitIsTapped)| 
-8 0x08 UNIT_DYNFLAG_TAPPED_BY_PLAYER Lua_UnitIsTappedByPlayer usually used by PCVs (Player Controlled Vehicles) +|8|0x08|UNIT_DYNFLAG_TAPPED_BY_PLAYER|Lua_UnitIsTappedByPlayer usually used by PCVs (Player Controlled Vehicles)| 
-16 0x10 UNIT_DYNFLAG_SPECIALINFO  +|16|0x10|UNIT_DYNFLAG_SPECIALINFO| | 
-32 0x20 UNIT_DYNFLAG_DEAD Makes the creature appear dead (this DOES NOT make the creature's name grey or not attack players). +|32|0x20|UNIT_DYNFLAG_DEAD|Makes the creature appear dead (this DOES NOT make the creature's name grey or not attack players).| 
-64 0x40 UNIT_DYNFLAG_REFER_A_FRIEND  +|64|0x40|UNIT_DYNFLAG_REFER_A_FRIEND| | 
-128 0x80 UNIT_DYNFLAG_TAPPED_BY_ALL_THREAT_LIST Lua_UnitIsTappedByAllThreatList+|128|0x80|UNIT_DYNFLAG_TAPPED_BY_ALL_THREAT_LIST|Lua_UnitIsTappedByAllThreatList
 ==== family ==== ==== family ====
  
 The family this creature belongs to. The family this creature belongs to.
  
-ID Family ID Family +^ID^Family^ID^Family^ 
-1. Wolf 26. Owl +|1|Wolf|26|Owl| 
-2. Cat 27. Wind Serpent +|2|Cat|27|Wind Serpent| 
-3. Spider 28. Remote Control +|3|Spider|28|Remote Control| 
-4. Bear 29. Felguard +|4|Bear|29|Felguard| 
-5. Boar 30. Dragonhawk +|5|Boar|30|Dragonhawk| 
-6. Crocolisk 31. Ravager +|6|Crocolisk|31|Ravager| 
-7. Carrion Bird 32. Warp Stalker +|7|Carrion Bird|32|Warp Stalker| 
-8. Crab 33. Sporebat +|8|Crab|33|Sporebat| 
-9. Gorilla 34. Nether Ray +|9|Gorilla|34|Nether Ray| 
-11. Raptor 35. Serpent +|11|Raptor|35|Serpent| 
-12. Tallstrider 37. Moth +|12|Tallstrider|37|Moth| 
-15. Felhunter 38. Chimaera +|15|Felhunter|38|Chimaera| 
-16. Voidwalker 39. Devilsaur +|16|Voidwalker|39|Devilsaur| 
-17. Succubus 40. Ghoul +|17|Succubus|40|Ghoul| 
-19. Doomguard 41. Silithid +|19|Doomguard|41|Silithid| 
-20. Scorpid 42. Worm +|20|Scorpid|42|Worm| 
-21. Turtle 43. Rhino +|21|Turtle|43|Rhino| 
-23. Imp 44. Wasp +|23|Imp|44|Wasp| 
-24. Bat 45. Core Hound +|24|Bat|45|Core Hound| 
-25. Hyena 46. Spirit Beast+|25|Hyena|46|Spirit Beast
 ==== trainer_type ==== ==== trainer_type ====
  
 If the NPC is a trainer (has the trainer flag), then this field controls what kind of trainer it is. Both this field and the related field must be filled in for a trainer to work correctly. If the NPC is a trainer (has the trainer flag), then this field controls what kind of trainer it is. Both this field and the related field must be filled in for a trainer to work correctly.
  
-ID Type Related Field Comments +^ID^Type^Related Field^Comments^ 
-0 TRAINER_TYPE_CLASS trainer_class Trains class spells +|0|TRAINER_TYPE_CLASS|[[#trainer_class]]|Trains class spells| 
-1 TRAINER_TYPE_MOUNTS trainer_race Trains riding skill +|1|TRAINER_TYPE_MOUNTS|[[#trainer_race]]|Trains riding skill| 
-2 TRAINER_TYPE_TRADESKILLS trainer_spell Trains professions +|2|TRAINER_TYPE_TRADESKILLS|[[#trainer_spell]]|Trains professions| 
-3 TRAINER_TYPE_PETS trainer_class Trains pet skills+|3|TRAINER_TYPE_PETS|[[#trainer_class]]|Trains pet skills
 ==== trainer_spell ==== ==== trainer_spell ====
  
行 412: 行 416:
 The type of the creature. The type of the creature.
  
-ID Type +^ID^Type^ 
-0 None +|0|None| 
-1 Beast +|1|Beast| 
-2 Dragonkin +|2|Dragonkin| 
-3 Demon +|3|Demon| 
-4 Elemental +|4|Elemental| 
-5 Giant +|5|Giant| 
-6 Undead +|6|Undead| 
-7 Humanoid +|7|Humanoid| 
-8 Critter +|8|Critter| 
-9 Mechanical +|9|Mechanical| 
-10 Not specified +|10|Not specified| 
-11 Totem +|11|Totem| 
-12 Non-Combat Pet +|12|Non-Combat Pet| 
-13 Gas Cloud+|13|Gas Cloud
 ==== type_flags ==== ==== type_flags ====
  
 This field can control whether a mob is minable or herbable or lootable by engineer. If it is either of those three, then the loot given when it is skinned/mined will be stored in the skinning_loot_template table. It also controls, whether this mob can be tamed by a hunter. Other fields have no special meaning on the serverside. The entire field will be send to the client in SMSG_CREATURE_QUERY_RESPONSE This field can control whether a mob is minable or herbable or lootable by engineer. If it is either of those three, then the loot given when it is skinned/mined will be stored in the skinning_loot_template table. It also controls, whether this mob can be tamed by a hunter. Other fields have no special meaning on the serverside. The entire field will be send to the client in SMSG_CREATURE_QUERY_RESPONSE
  
-Flag Name Comments +^Flag^ ^Name^Comments^ 
-1 0x00000001 CREATURE_TYPE_FLAG_TAMEABLE Makes the mob tameable (must also be a beast and have family set) +|1|0x00000001|CREATURE_TYPE_FLAG_TAMEABLE|Makes the mob tameable (must also be a beast and have family set)| 
-2 0x00000002 CREATURE_TYPE_FLAG_VISIBLE_TO_GHOSTS Creature are also visible for not alive player. Allow gossip interaction if npcflag allow? +|2|0x00000002|CREATURE_TYPE_FLAG_VISIBLE_TO_GHOSTS|Creature are also visible for not alive player. Allow gossip interaction if npcflag allow?| 
-4 0x00000004 CREATURE_TYPE_FLAG_BOSS_MOB Changes creature's visible level to "??" in the creature's portrait - Immune to Knockback. +|4|0x00000004|CREATURE_TYPE_FLAG_BOSS_MOB|Changes creature's visible level to "??" in the creature's portrait - Immune to Knockback.| 
-8 0x00000008 CREATURE_TYPE_FLAG_DO_NOT_PLAY_WOUND_PARRY_ANIMATION Does not play wound animation on parry. +|8|0x00000008|CREATURE_TYPE_FLAG_DO_NOT_PLAY_WOUND_PARRY_ANIMATION|Does not play wound animation on parry.| 
-16 0x00000010 CREATURE_TYPE_FLAG_NO_FACTION_TOOLTIP Hides tooltip faction. +|16|0x00000010|CREATURE_TYPE_FLAG_NO_FACTION_TOOLTIP|Hides tooltip faction.| 
-32 0x00000020 CREATURE_TYPE_FLAG_MORE_AUDIBLE  +|32|0x00000020|CREATURE_TYPE_FLAG_MORE_AUDIBLE| | 
-64 0x00000040 CREATURE_TYPE_FLAG_SPELL_ATTACKABLE Spell attackable. +|64|0x00000040|CREATURE_TYPE_FLAG_SPELL_ATTACKABLE|Spell attackable.| 
-128 0x00000080 CREATURE_TYPE_FLAG_INTERACT_WHILE_DEAD Player can interact with the creature if its dead (not player dead) +|128|0x00000080|CREATURE_TYPE_FLAG_INTERACT_WHILE_DEAD|Player can interact with the creature if its dead (not player dead)| 
-256 0x00000100 CREATURE_TYPE_FLAG_SKIN_WITH_HERBALISM Makes mob herbable +|256|0x00000100|CREATURE_TYPE_FLAG_SKIN_WITH_HERBALISM|Makes mob herbable| 
-512 0x00000200 CREATURE_TYPE_FLAG_SKIN_WITH_MINING Makes mob minable +|512|0x00000200|CREATURE_TYPE_FLAG_SKIN_WITH_MINING|Makes mob minable| 
-1024 0x00000400 CREATURE_TYPE_FLAG_NO_DEATH_MESSAGE Does not combatlog death. +|1024|0x00000400|CREATURE_TYPE_FLAG_NO_DEATH_MESSAGE|Does not combatlog death.| 
-2048 0x00000800 CREATURE_TYPE_FLAG_ALLOW_MOUNTED_COMBAT Creature can remain mounted when entering combat +|2048|0x00000800|CREATURE_TYPE_FLAG_ALLOW_MOUNTED_COMBAT|Creature can remain mounted when entering combat| 
-4096 0x00001000 CREATURE_TYPE_FLAG_CAN_ASSIST Can aid any player in combat if in range? +|4096|0x00001000|CREATURE_TYPE_FLAG_CAN_ASSIST|Can aid any player in combat if in range?| 
-8192 0x00002000 CREATURE_TYPE_FLAG_NO_PET_BAR Is using pet bar. +|8192|0x00002000|CREATURE_TYPE_FLAG_NO_PET_BAR|Is using pet bar.| 
-16384 0x00004000 CREATURE_TYPE_FLAG_MASK_UID  +|16384|0x00004000|CREATURE_TYPE_FLAG_MASK_UID| | 
-32768 0x00008000 CREATURE_TYPE_FLAG_SKIN_WITH_ENGINEERING Makes mob lootable by engineer +|32768|0x00008000|CREATURE_TYPE_FLAG_SKIN_WITH_ENGINEERING|Makes mob lootable by engineer| 
-65536 0x00010000 CREATURE_TYPE_FLAG_TAMEABLE_EXOTIC Tamable as an exotic pet. Normal tamable flag must also be set. +|65536|0x00010000|CREATURE_TYPE_FLAG_TAMEABLE_EXOTIC|Tamable as an exotic pet. Normal tamable flag must also be set.| 
-131072 0x00020000 CREATURE_TYPE_FLAG_USE_MODEL_COLLISION_SIZE Collision related. (always using default collision box?) +|131072|0x00020000|CREATURE_TYPE_FLAG_USE_MODEL_COLLISION_SIZE|Collision related. (always using default collision box?)| 
-262144 0x00040000 CREATURE_TYPE_FLAG_ALLOW_INTERACTION_WHILE_IN_COMBAT Is siege weapon. +|262144|0x00040000|CREATURE_TYPE_FLAG_ALLOW_INTERACTION_WHILE_IN_COMBAT|Is siege weapon.| 
-524288 0x00080000 CREATURE_TYPE_FLAG_COLLIDE_WITH_MISSILES Projectiles can collide with this creature - interacts with TARGET_DEST_TRAJ +|524288|0x00080000|CREATURE_TYPE_FLAG_COLLIDE_WITH_MISSILES|Projectiles can collide with this creature - interacts with TARGET_DEST_TRAJ| 
-1048576 0x00100000 CREATURE_TYPE_FLAG_NO_NAME_PLATE Hides nameplate. +|1048576|0x00100000|CREATURE_TYPE_FLAG_NO_NAME_PLATE|Hides nameplate.| 
-2097152 0x00200000 CREATURE_TYPE_FLAG_DO_NOT_PLAY_MOUNTED_ANIMATIONS Does not play mounted animations. +|2097152|0x00200000|CREATURE_TYPE_FLAG_DO_NOT_PLAY_MOUNTED_ANIMATIONS|Does not play mounted animations.| 
-4194304 0x00400000 CREATURE_TYPE_FLAG_IS_LINK_ALL  +|4194304|0x00400000|CREATURE_TYPE_FLAG_IS_LINK_ALL| | 
-8388608 0x00800000 CREATURE_TYPE_FLAG_INTERACT_ONLY_WITH_CREATOR Can only interact with its creator. +|8388608|0x00800000|CREATURE_TYPE_FLAG_INTERACT_ONLY_WITH_CREATOR|Can only interact with its creator.| 
-16777216 0x01000000 CREATURE_TYPE_FLAG_DO_NOT_PLAY_UNIT_EVENT_SOUNDS  +|16777216|0x01000000|CREATURE_TYPE_FLAG_DO_NOT_PLAY_UNIT_EVENT_SOUNDS| | 
-33554432 0x02000000 CREATURE_TYPE_FLAG_HAS_NO_SHADOW_BLOB  +|33554432|0x02000000|CREATURE_TYPE_FLAG_HAS_NO_SHADOW_BLOB| | 
-67108864 0x04000000 CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT Creature can be targeted by spells that require target to be in caster's party/raid +|67108864|0x04000000|CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT|Creature can be targeted by spells that require target to be in caster's party/raid| 
-134217728 0x08000000 CREATURE_TYPE_FLAG_FORCE_GOSSIP Allows the creature to display a single gossip option. +|134217728|0x08000000|CREATURE_TYPE_FLAG_FORCE_GOSSIP|Allows the creature to display a single gossip option.| 
-268435456 0x10000000 CREATURE_TYPE_FLAG_DO_NOT_SHEATHE  +|268435456|0x10000000|CREATURE_TYPE_FLAG_DO_NOT_SHEATHE| | 
-536870912 0x20000000 CREATURE_TYPE_FLAG_DO_NOT_TARGET_ON_INTERACTION  +|536870912|0x20000000|CREATURE_TYPE_FLAG_DO_NOT_TARGET_ON_INTERACTION| | 
-1073741824 0x40000000 CREATURE_TYPE_FLAG_DO_NOT_RENDER_OBJECT_NAME  +|1073741824|0x40000000|CREATURE_TYPE_FLAG_DO_NOT_RENDER_OBJECT_NAME| | 
-2147483648 0x80000000 CREATURE_TYPE_FLAG_UNIT_IS_QUEST_BOSS +|2147483648|0x80000000|CREATURE_TYPE_FLAG_UNIT_IS_QUEST_BOSS| | 
 ==== lootid ==== ==== lootid ====
  
行 496: 行 502:
 This field is overridden by ScriptName field if both are set. This field is overridden by ScriptName field if both are set.
  
-Name Description +^Name^Description^ 
-NullCreatureAI Empty AI, creature does nothing; cannot be charmed. +|NullCreatureAI|Empty AI, creature does nothing; cannot be charmed.| 
-TriggerAI Same as "NullCreatureAI", except that the creature casts the spell from field spell1 when summoned. +|TriggerAI|Same as "NullCreatureAI", except that the creature casts the spell from field spell1 when summoned.| 
-AggressorAI Creature attacks when entering aggro radius; uses only melee attacks. +|AggressorAI|Creature attacks when entering aggro radius; uses only melee attacks.| 
-ReactorAI Creature attacks only if aggroed; uses only melee attacks. +|ReactorAI|Creature attacks only if aggroed; uses only melee attacks.| 
-PassiveAI Creature behaves passive, cannot attack. +|PassiveAI|Creature behaves passive, cannot attack.| 
-CritterAI Critter which flees if attacked. +|CritterAI|Critter which flees if attacked.| 
-GuardAI Creature is a zone guard. +|GuardAI|Creature is a zone guard.| 
-PetAI Creature is a pet. +|PetAI|Creature is a pet.| 
-TotemAI Creature casts spell from field spell1; does not move. +|TotemAI|Creature casts spell from field spell1; does not move.| 
-CombatAI Creature attacks as soon as something is in aggro range; uses also spells. +|CombatAI|Creature attacks as soon as something is in aggro range; uses also spells.| 
-ArcherAI Creature casts spell from field spell1; chases the victim. +|ArcherAI|Creature casts spell from field spell1; chases the victim.| 
-TurretAI Creature attacks using spell from field spell1; does not move. +|TurretAI|Creature attacks using spell from field spell1; does not move.| 
-VehicleAI Creature acts as player vehicle. +|VehicleAI|Creature acts as player vehicle.| 
-SmartAI Creature uses the "smart_scripts" table to specify it's behaviour.+|SmartAI|Creature uses the "smart_scripts" table to specify it's behaviour.
 ==== MovementType ==== ==== MovementType ====
  
 The creature's default movement type. The creature's default movement type.
  
-ID Type +^ID^Type^ 
-0 Idle; stay in one place +|0|Idle; stay in one place| 
-1 Random movement inside the wander_distance radius +|1|Random movement inside the wander_distance radius| 
-2 Waypoint movement+|2|Waypoint movement
 ==== HoverHeight ==== ==== HoverHeight ====
  
行 539: 行 547:
 Used to modify the Minimum/Maximum damage of a creature. Used to modify the Minimum/Maximum damage of a creature.
  
-The formulas to calculate the damage output are: +The formulas to calculate the damage output are:\\ \\  
 +<nowiki>
 MINDAMAGE = (((damage_base + (attackpower / 14) * BaseVariance) * DamageModifier) * (BaseAttackTime / 1000)) MINDAMAGE = (((damage_base + (attackpower / 14) * BaseVariance) * DamageModifier) * (BaseAttackTime / 1000))
 +</nowiki>
 +
 +<nowiki>
 MAXDAMAGE = ((((damage_base * 1.5) + (attackpower / 14) * BaseVariance) * DamageModifier) * (BaseAttackTime / 1000)) MAXDAMAGE = ((((damage_base * 1.5) + (attackpower / 14) * BaseVariance) * DamageModifier) * (BaseAttackTime / 1000))
 +</nowiki>
  
 damage_base comes from the creature_classlevelstats table and takes its value either from damage_base, damage_exp1 or damage_exp2 according to the creature's value in exp (0 = base_damage, 1 = damage_exp1, 2 = damage_exp2). damage_base comes from the creature_classlevelstats table and takes its value either from damage_base, damage_exp1 or damage_exp2 according to the creature's value in exp (0 = base_damage, 1 = damage_exp1, 2 = damage_exp2).
行 560: 行 572:
 A flag with two possible values: '1' or '0' indicating whether the creature is a racial leader or not. Killing racial leaders grants 100 honor. A flag with two possible values: '1' or '0' indicating whether the creature is a racial leader or not. Killing racial leaders grants 100 honor.
  
-entry name +^entry^name^ 
-2784 King Magni Bronzebeard +|2784|King Magni Bronzebeard| 
-3057 Cairne Bloodhoof +|3057|Cairne Bloodhoof| 
-4949 Thrall +|4949|Thrall| 
-7999 Tyrande Whisperwind +|7999|Tyrande Whisperwind| 
-10181 Lady Sylvanas Windrunner +|10181|Lady Sylvanas Windrunner| 
-16802 Lor'themar Theron +|16802|Lor'themar Theron| 
-17468 Prophet Velen +|17468|Prophet Velen| 
-29611 King Varian Wrynn +|29611|King Varian Wrynn| 
-36648 Baine Bloodhoof (Leader) +|36648|Baine Bloodhoof (Leader)| 
-37764 Lor'themar Theron+|37764|Lor'themar Theron
 ==== movementId ==== ==== movementId ====
  
行 585: 行 598:
 Uses references from SpellMechanic.dbc. Uses references from SpellMechanic.dbc.
  
-Flag Type Comment +^Flag^ ^Name^Comments^ 
-1 0x00000001 MECHANIC_CHARM  +|1|0x00000001|MECHANIC_CHARM| | 
-2 0x00000002 MECHANIC_DISORIENTED  +|2|0x00000002|MECHANIC_DISORIENTED| | 
-4 0x00000004 MECHANIC_DISARM  +|4|0x00000004|MECHANIC_DISARM| | 
-8 0x00000008 MECHANIC_DISTRACT  +|8|0x00000008|MECHANIC_DISTRACT| | 
-16 0x00000010 MECHANIC_FEAR  +|16|0x00000010|MECHANIC_FEAR| | 
-32 0x00000020 MECHANIC_GRIP Death Grip and similar effects +|32|0x00000020|MECHANIC_GRIP|Death Grip and similar effects| 
-64 0x00000040 MECHANIC_ROOT  +|64|0x00000040|MECHANIC_ROOT| | 
-128 0x00000080 MECHANIC_SLOW_ATTACK  +|128|0x00000080|MECHANIC_SLOW_ATTACK| | 
-256 0x00000100 MECHANIC_SILENCE  +|256|0x00000100|MECHANIC_SILENCE| | 
-512 0x00000200 MECHANIC_SLEEP  +|512|0x00000200|MECHANIC_SLEEP| | 
-1024 0x00000400 MECHANIC_SNARE  +|1024|0x00000400|MECHANIC_SNARE| | 
-2048 0x00000800 MECHANIC_STUN  +|2048|0x00000800|MECHANIC_STUN| | 
-4096 0x00001000 MECHANIC_FREEZE  +|4096|0x00001000|MECHANIC_FREEZE| | 
-8192 0x00002000 MECHANIC_KNOCKOUT Incapacitate effects such as Repetance (Paladin) +|8192|0x00002000|MECHANIC_KNOCKOUT|Incapacitate effects such as Repetance (Paladin)| 
-16384 0x00004000 MECHANIC_BLEED  +|16384|0x00004000|MECHANIC_BLEED| | 
-32768 0x00008000 MECHANIC_BANDAGE Healing etc. +|32768|0x00008000|MECHANIC_BANDAGE|Healing etc.| 
-65536 0x00010000 MECHANIC_POLYMORPH  +|65536|0x00010000|MECHANIC_POLYMORPH| | 
-131072 0x00020000 MECHANIC_BANISH  +|131072|0x00020000|MECHANIC_BANISH| | 
-262144 0x00040000 MECHANIC_SHIELD  +|262144|0x00040000|MECHANIC_SHIELD| | 
-524288 0x00080000 MECHANIC_SHACKLE Shackle Undead only +|524288|0x00080000|MECHANIC_SHACKLE|Shackle Undead only| 
-1048576 0x00100000 MECHANIC_MOUNT Any effect that summons a mount +|1048576|0x00100000|MECHANIC_MOUNT|Any effect that summons a mount| 
-2097152 0x00200000 MECHANIC_INFECTED Frost Fever, Blood Plague etc. +|2097152|0x00200000|MECHANIC_INFECTED|Frost Fever, Blood Plague etc.| 
-4194304 0x00400000 MECHANIC_TURN e.g. Turn Evil +|4194304|0x00400000|MECHANIC_TURN|e.g. Turn Evil| 
-8388608 0x00800000 MECHANIC_HORROR e.g. Death Coil (Warlock) +|8388608|0x00800000|MECHANIC_HORROR|e.g. Death Coil (Warlock)| 
-16777216 0x01000000 MECHANIC_INVULNERABILITY Forbearance, Nether Protection, Diplomatic Immunity only +|16777216|0x01000000|MECHANIC_INVULNERABILITY|Forbearance, Nether Protection, Diplomatic Immunity only| 
-33554432 0x02000000 MECHANIC_INTERRUPT  +|33554432|0x02000000|MECHANIC_INTERRUPT| | 
-67108864 0x04000000 MECHANIC_DAZE  +|67108864|0x04000000|MECHANIC_DAZE| | 
-134217728 0x08000000 MECHANIC_DISCOVERY Any Create Item effect +|134217728|0x08000000|MECHANIC_DISCOVERY|Any Create Item effect| 
-268435456 0x10000000 MECHANIC_IMMUNE_SHIELD Divine Shield, Ice Block, Hand of Protection... +|268435456|0x10000000|MECHANIC_IMMUNE_SHIELD|Divine Shield, Ice Block, Hand of Protection...| 
-536870912 0x20000000 MECHANIC_SAPPED  +|536870912|0x20000000|MECHANIC_SAPPED| | 
-1073741824 0x40000000 MECHANIC_ENRAGED +|1073741824|0x40000000|MECHANIC_ENRAGED| | 
 To combine immunities just add values. Immune to everything corresponds to the value 2147483647 (0x3FFF FFFF). To combine immunities just add values. Immune to everything corresponds to the value 2147483647 (0x3FFF FFFF).
  
行 623: 行 637:
 This makes the creature immune to specific spell schools. This makes the creature immune to specific spell schools.
  
-Flag Type +^Flag^Type^ 
-1 SPELL_SCHOOL_NORMAL +|1|SPELL_SCHOOL_NORMAL| 
-2 SPELL_SCHOOL_HOLY +|2|SPELL_SCHOOL_HOLY| 
-4 SPELL_SCHOOL_FIRE +|4|SPELL_SCHOOL_FIRE| 
-8 SPELL_SCHOOL_NATURE +|8|SPELL_SCHOOL_NATURE| 
-16 SPELL_SCHOOL_FROST +|16|SPELL_SCHOOL_FROST| 
-32 SPELL_SCHOOL_SHADOW +|32|SPELL_SCHOOL_SHADOW| 
-64 SPELL_SCHOOL_ARCANE+|64|SPELL_SCHOOL_ARCANE
 To combine immunities just add values. Immune to everything corresponds to the value 127. To combine immunities just add values. Immune to everything corresponds to the value 127.
  
行 639: 行 654:
 Example: 32+64=96 Example: 32+64=96
  
-Flag Type  +^Flag^ ^Name^Comments^ 
-1 CREATURE_FLAG_EXTRA_INSTANCE_BIND 0x00000001 creature kill binds instance to killer and killer's group +|1|0x00000001|CREATURE_FLAG_EXTRA_INSTANCE_BIND|creature kill binds instance to killer and killer's group| 
-2 CREATURE_FLAG_EXTRA_CIVILIAN 0x00000002 creature does not aggro (ignore faction/reputation hostility) +|2|0x00000002|CREATURE_FLAG_EXTRA_CIVILIAN|creature does not aggro (ignore faction/reputation hostility)| 
-4 CREATURE_FLAG_EXTRA_NO_PARRY 0x00000004 creature does not parry +|4|0x00000004|CREATURE_FLAG_EXTRA_NO_PARRY|creature does not parry| 
-8 CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN 0x00000008 creature does not counter-attack at parry +|8|0x00000008|CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN|creature does not counter-attack at parry| 
-16 CREATURE_FLAG_EXTRA_NO_BLOCK 0x00000010 creature does not block +|16|0x00000010|CREATURE_FLAG_EXTRA_NO_BLOCK|creature does not block| 
-32 CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS 0x00000020 creature does not do crush-attacks +|32|0x00000020|CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS|creature does not do crush-attacks| 
-64 CREATURE_FLAG_EXTRA_NO_XP 0x00000040 creature kill does not give XP +|64|0x00000040|CREATURE_FLAG_EXTRA_NO_XP|creature kill does not give XP| 
-128 CREATURE_FLAG_EXTRA_TRIGGER 0x00000080 creature is trigger-NPC (invisible to players only) +|128|0x00000080|CREATURE_FLAG_EXTRA_TRIGGER|creature is trigger-NPC (invisible to players only)| 
-256 CREATURE_FLAG_EXTRA_NO_TAUNT 0x00000100 creature is immune to taunt-auras and "attack me"-effects +|256|0x00000100|CREATURE_FLAG_EXTRA_NO_TAUNT|creature is immune to taunt-auras and "attack me"-effects| 
-512 CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE 0x00000200 (CREATURE_FLAG_EXTRA_UNUSED_10 Not Implemented) creature won't update movement flags +|512|0x00000200|CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE|(CREATURE_FLAG_EXTRA_UNUSED_10 Not Implemented) creature won't update movement flags| 
-1024 CREATURE_FLAG_EXTRA_GHOST_VISIBILITY 0x00000400 creature will be only visible for dead players +|1024|0x00000400|CREATURE_FLAG_EXTRA_GHOST_VISIBILITY|creature will be only visible for dead players| 
-2048 CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK 0x00000800 (CREATURE_FLAG_EXTRA_UNUSED_12 Not Implemented) creature will use offhand attacks +|2048|0x00000800|CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK|(CREATURE_FLAG_EXTRA_UNUSED_12 Not Implemented) creature will use offhand attacks| 
-4096 CREATURE_FLAG_EXTRA_NO_SELL_VENDOR 0x00001000 players can't sell items to this vendor +|4096|0x00001000|CREATURE_FLAG_EXTRA_NO_SELL_VENDOR|players can't sell items to this vendor| 
-8192 CREATURE_FLAG_EXTRA_IGNORE_COMBAT 0x00002000  +|8192|0x00002000|CREATURE_FLAG_EXTRA_IGNORE_COMBAT| | 
-16384 CREATURE_FLAG_EXTRA_WORLDEVENT 0x00004000 custom flag for world events (left room for merging) +|16384|0x00004000|CREATURE_FLAG_EXTRA_WORLDEVENT|custom flag for world events (left room for merging)| 
-32768 CREATURE_FLAG_EXTRA_GUARD 0x00008000 creature is a guard (Will ignore feign death and vanish) +|32768|0x00008000|CREATURE_FLAG_EXTRA_GUARD|creature is a guard (Will ignore feign death and vanish)| 
-65536 CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH 0x00010000 creature ignores feign death +|65536|0x00010000|CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH|creature ignores feign death| 
-131072 CREATURE_FLAG_EXTRA_NO_CRIT 0x00020000 creature does not do critical strikes +|131072|0x00020000|CREATURE_FLAG_EXTRA_NO_CRIT|creature does not do critical strikes| 
-262144 CREATURE_FLAG_EXTRA_NO_SKILL_GAINS 0x00040000 creature won't increase weapon skills +|262144|0x00040000|CREATURE_FLAG_EXTRA_NO_SKILL_GAINS|creature won't increase weapon skills| 
-524288 CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS 0x00080000 creature taunt is subject to diminishing returns +|524288|0x00080000|CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS|creature taunt is subject to diminishing returns| 
-1048576 CREATURE_FLAG_EXTRA_ALL_DIMINISH 0x00100000 Creature is subject to all diminishing returns +|1048576|0x00100000|CREATURE_FLAG_EXTRA_ALL_DIMINISH|Creature is subject to all diminishing returns| 
-2097152 CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ 0x00200000 creature does not need to take player damage for kill credit +|2097152|0x00200000|CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ|creature does not need to take player damage for kill credit| 
-4194304 CREATURE_FLAG_EXTRA_AVOID_AOE 0x00400000 ignored by aoe attacks (for icc blood prince council npc - Dark Nucleus) +|4194304|0x00400000|CREATURE_FLAG_EXTRA_AVOID_AOE|ignored by aoe attacks (for icc blood prince council npc - Dark Nucleus)| 
-8388608 CREATURE_FLAG_EXTRA_NO_DODGE 0x00800000 target cannot dodge +|8388608|0x00800000|CREATURE_FLAG_EXTRA_NO_DODGE|target cannot dodge| 
-16777216 CREATURE_FLAG_EXTRA_MODULE 0x01000000 Used by module creatures to avoid blizzlike checks. +|16777216|0x01000000|CREATURE_FLAG_EXTRA_MODULE|Used by module creatures to avoid blizzlike checks.| 
-33554432 CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE 0x02000000 Prevents creatures from calling for assistance on initial aggro +|33554432|0x02000000|CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE|Prevents creatures from calling for assistance on initial aggro| 
-67108864 CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS 0x04000000 Prevents creature from responding to assistance calls +|67108864|0x04000000|CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS|Prevents creature from responding to assistance calls| 
-134217728 CREATURE_FLAG_EXTRA_DONT_OVERRIDE_SAI_ENTRY 0x08000000 Allows creatures to use both GUID and ENTRY specific SAI without one overwriting the other +|134217728|0x08000000|CREATURE_FLAG_EXTRA_DONT_OVERRIDE_SAI_ENTRY|Allows creatures to use both GUID and ENTRY specific SAI without one overwriting the other| 
-268435456 CREATURE_FLAG_EXTRA_DUNGEON_BOSS 0x10000000 Creature is a dungeon boss. This flag is generically set by core during runtime. Setting this in database will give you startup error. +|268435456|0x10000000|CREATURE_FLAG_EXTRA_DUNGEON_BOSS|Creature is a dungeon boss. This flag is generically set by core during runtime. Setting this in database will give you startup error.| 
-536870912 CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING 0x20000000 Creature will ignore pathfinding. This is like disabling Mmaps, only for one creature. +|536870912|0x20000000|CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING|Creature will ignore pathfinding. This is like disabling Mmaps, only for one creature.| 
-1073741824 CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK 0x40000000 creature will immune all knockback effects +|1073741824|0x40000000|CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK|creature will immune all knockback effects| 
-2147483648 CREATURE_FLAG_EXTRA_HARD_RESET 0x80000000 Creature will despawn on evade+|2147483648|0x80000000|CREATURE_FLAG_EXTRA_HARD_RESET|Creature will despawn on evade
 ==== ScriptName ==== ==== ScriptName ====
  
数据库/world数据库/creature_template.1695549131.txt.gz · 最后更改: 2023/09/24 17:52 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki