用户工具

站点工具


数据库:world数据库:creature_template

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
数据库:world数据库:creature_template [2023/09/24 17:58] – [mechanic_immune_mask] 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 ====
行 547: 行 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).
行 595: 行 599:
  
 ^Flag^ ^Name^Comments^ ^Flag^ ^Name^Comments^
-|| | | | 
 |1|0x00000001|MECHANIC_CHARM| | |1|0x00000001|MECHANIC_CHARM| |
 |2|0x00000002|MECHANIC_DISORIENTED| | |2|0x00000002|MECHANIC_DISORIENTED| |
行 634: 行 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.
  
行 650: 行 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.1695549485.txt.gz · 最后更改: 2023/09/24 17:58 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki