数据库:world数据库:smart_scripts
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
数据库:world数据库:smart_scripts [2023/10/03 18:03] – [comment] admin | 数据库:world数据库:smart_scripts [2023/10/03 18:06] (当前版本) – [Power Types] admin | ||
---|---|---|---|
行 454: | 行 454: | ||
==== Cast Flags ==== | ==== Cast Flags ==== | ||
- | Name Flag Hex Comment | + | ^Name^Flag^Hex^Comment^ |
- | SMARTCAST_INTERRUPT_PREVIOUS 1 0x001 Interrupt any spell casting | + | |SMARTCAST_INTERRUPT_PREVIOUS|1|0x001|Interrupt any spell casting| |
- | SMARTCAST_TRIGGERED 2 0x002 Triggered (this makes spell cost zero mana and have no cast time) | + | |SMARTCAST_TRIGGERED|2|0x002|Triggered (this makes spell cost zero mana and have no cast time)| |
- | SMARTCAST_AURA_NOT_PRESENT 32 0x020 Only casts the spell if the target does not have an aura from the spell | + | |SMARTCAST_AURA_NOT_PRESENT|32|0x020|Only casts the spell if the target does not have an aura from the spell| |
- | SMARTCAST_COMBAT_MOVE 64 0x040 Prevent combat movement on cast, allow on fail range, mana, LOS | + | |SMARTCAST_COMBAT_MOVE|64|0x040|Prevent combat movement on cast, allow on fail range, mana, LOS| |
- | SMARTCAST_THREATLIST_NOT_SINGLE 128 0x080 Only cast if the source' | + | |SMARTCAST_THREATLIST_NOT_SINGLE|128|0x080|Only cast if the source' |
- | SMARTCAST_TARGET_POWER_MANA 256 0x100 Only cast if the target has power type mana | + | |SMARTCAST_TARGET_POWER_MANA|256|0x100|Only cast if the target has power type mana| |
==== Triggered Flags ==== | ==== Triggered Flags ==== | ||
- | Name Flag Hex Comment | + | ^Name^Flag^Hex^Comment^ |
- | TRIGGERED_NONE 0 0x00000000 Not triggered | + | |TRIGGERED_NONE|0|0x00000000|Not triggered| |
- | TRIGGERED_IGNORE_GCD 1 0x00000001 Will ignore GCD | + | |TRIGGERED_IGNORE_GCD|1|0x00000001|Will ignore GCD| |
- | TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD 2 0x00000002 Will ignore Spell and Category cooldowns | + | |TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD|2|0x00000002|Will ignore Spell and Category cooldowns| |
- | TRIGGERED_IGNORE_POWER_AND_REAGENT_COST 4 0x00000004 Will ignore power and reagent cost | + | |TRIGGERED_IGNORE_POWER_AND_REAGENT_COST|4|0x00000004|Will ignore power and reagent cost| |
- | TRIGGERED_IGNORE_CAST_ITEM 8 0x00000008 Will not take away cast item or update related achievement criteria | + | |TRIGGERED_IGNORE_CAST_ITEM|8|0x00000008|Will not take away cast item or update related achievement criteria| |
- | RIGGERED_IGNORE_AURA_SCALING 16 0x00000010 Will ignore aura scaling | + | |RIGGERED_IGNORE_AURA_SCALING|16|0x00000010|Will ignore aura scaling| |
- | TRIGGERED_IGNORE_CAST_IN_PROGRESS 32 0x00000020 Will not check if a current cast is in progress | + | |TRIGGERED_IGNORE_CAST_IN_PROGRESS|32|0x00000020|Will not check if a current cast is in progress| |
- | TRIGGERED_IGNORE_COMBO_POINTS 64 0x00000040 Will ignore combo point requirement | + | |TRIGGERED_IGNORE_COMBO_POINTS|64|0x00000040|Will ignore combo point requirement| |
- | TRIGGERED_CAST_DIRECTLY 128 0x00000080 In Spell:: | + | |TRIGGERED_CAST_DIRECTLY|128|0x00000080|In Spell:: |
- | TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS 256 0x00000100 Will ignore interruptible aura's at cast | + | |TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS|256|0x00000100|Will ignore interruptible aura's at cast| |
- | TRIGGERED_IGNORE_SET_FACING 512 0x00000200 Will not adjust facing to target (if any) | + | |TRIGGERED_IGNORE_SET_FACING|512|0x00000200|Will not adjust facing to target (if any)| |
- | TRIGGERED_IGNORE_SHAPESHIFT 1024 0x00000400 Will ignore shapeshift checks | + | |TRIGGERED_IGNORE_SHAPESHIFT|1024|0x00000400|Will ignore shapeshift checks| |
- | TRIGGERED_IGNORE_CASTER_AURASTATE 2048 0x00000800 Will ignore caster aura states including combat requirements and death state | + | |TRIGGERED_IGNORE_CASTER_AURASTATE|2048|0x00000800|Will ignore caster aura states including combat requirements and death state| |
- | TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE 8192 0x00002000 Will ignore mounted/on vehicle restrictions | + | |TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE|8192|0x00002000|Will ignore mounted/on vehicle restrictions| |
- | TRIGGERED_IGNORE_CASTER_AURAS 65536 0x00010000 Will ignore caster aura restrictions or requirements | + | |TRIGGERED_IGNORE_CASTER_AURAS|65536|0x00010000|Will ignore caster aura restrictions or requirements| |
- | TRIGGERED_DISALLOW_PROC_EVENTS 131072 0x00020000 Disallows proc events from triggered spell (default) | + | |TRIGGERED_DISALLOW_PROC_EVENTS|131072|0x00020000|Disallows proc events from triggered spell (default)| |
- | TRIGGERED_DONT_REPORT_CAST_ERROR 262144 0x00040000 Will return SPELL_FAILED_DONT_REPORT in CheckCast functions | + | |TRIGGERED_DONT_REPORT_CAST_ERROR|262144|0x00040000|Will return SPELL_FAILED_DONT_REPORT in CheckCast functions| |
- | TRIGGERED_FULL_MASK 524287 0x0007FFFF All triggered flags | + | |TRIGGERED_FULL_MASK|524287|0x0007FFFF|All triggered flags| |
- | TRIGGERED_IGNORE_EQUIPPED_ITEM_REQUIREMENT 524288 0x00080000 Will ignore equipped item requirements | + | |TRIGGERED_IGNORE_EQUIPPED_ITEM_REQUIREMENT|524288|0x00080000|Will ignore equipped item requirements| |
- | TRIGGERED_NO_PERIODIC_RESET 1048576 0x00100000 Periodic aura tick wont be reset on override | + | |TRIGGERED_NO_PERIODIC_RESET|1048576|0x00100000|Periodic aura tick wont be reset on override| |
- | TRIGGERED_FULL_DEBUG_MASK 4294967295 0xFFFFFFFF | + | |TRIGGERED_FULL_DEBUG_MASK|4294967295|0xFFFFFFFF| | |
- | NOTICE: If triggeredFlags = 0, cast will trigger with TRIGGERED_FULL_MASK = 524287. | + | |
+ | **NOTICE:** If triggeredFlags = 0, cast will trigger with TRIGGERED_FULL_MASK = 524287. | ||
==== React States ==== | ==== React States ==== | ||
- | Name Value Comment | + | ^Name^Value^Comment^ |
- | REACT_PASSIVE 0 Does not defend or attack at all. Does nothing. | + | |REACT_PASSIVE|0|Does not defend or attack at all. Does nothing.| |
- | REACT_DEFENSIVE 1 Only attacks back when attacked. | + | |REACT_DEFENSIVE|1|Only attacks back when attacked.| |
- | REACT_AGGRESSIVE 2 Will attack if on threat list and in threat radius. (default) | + | |REACT_AGGRESSIVE|2|Will attack if on threat list and in threat radius. (default)| |
==== Summon Types ==== | ==== Summon Types ==== | ||
- | Name Value Comment | + | |TEMPSUMMON_TIMED_OR_DEAD_DESPAWN|1|Despawns after a specified time OR when the creature disappears.| |
- | TEMPSUMMON_TIMED_OR_DEAD_DESPAWN 1 Despawns after a specified time OR when the creature disappears. | + | |TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN|2|Despawns after a specified time OR when the creature dies.| |
- | TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN 2 Despawns after a specified time OR when the creature dies. | + | |TEMPSUMMON_TIMED_DESPAWN|3|Despawns after a specified time.| |
- | TEMPSUMMON_TIMED_DESPAWN 3 Despawns after a specified time. | + | |TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT|4|Despawns after a specified time after the creature is out of combat.| |
- | TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT 4 Despawns after a specified time after the creature is out of combat. | + | |TEMPSUMMON_CORPSE_DESPAWN|5|Despawns instantly after death.| |
- | TEMPSUMMON_CORPSE_DESPAWN 5 Despawns instantly after death. | + | |TEMPSUMMON_CORPSE_TIMED_DESPAWN|6|Despawns after a specified time after death.| |
- | TEMPSUMMON_CORPSE_TIMED_DESPAWN 6 Despawns after a specified time after death. | + | |TEMPSUMMON_DEAD_DESPAWN|7|Despawns when the creature disappears.| |
- | TEMPSUMMON_DEAD_DESPAWN 7 Despawns when the creature disappears. | + | |TEMPSUMMON_MANUAL_DESPAWN|8|Despawns when UnSummon() (or Force Despawn action) is called.| |
- | TEMPSUMMON_MANUAL_DESPAWN 8 Despawns when UnSummon() (or Force Despawn action) is called. | + | |
==== Smart Follow Types ==== | ==== Smart Follow Types ==== | ||
- | Name Value Comment | + | ^Name^Value^Comment^ |
- | FOLLOW_TYPE_CIRCLE 1 360º Degrees around leader. 90º Degrees is the maximum angle. | + | |FOLLOW_TYPE_CIRCLE|1|360º Degrees around leader. 90º Degrees is the maximum angle.| |
- | FOLLOW_TYPE_SEMI_CIRCLE_BEHIND 2 180º Degrees behind leader. | + | |FOLLOW_TYPE_SEMI_CIRCLE_BEHIND|2|180º Degrees behind leader.| |
- | FOLLOW_TYPE_SEMI_CIRCLE_FRONT 3 180º Degrees in front of leader. | + | |FOLLOW_TYPE_SEMI_CIRCLE_FRONT|3|180º Degrees in front of leader.| |
- | FOLLOW_TYPE_LINE 4 Front -> Back -> Front -> Back. | + | |FOLLOW_TYPE_LINE|4|Front -> Back -> Front -> Back.| |
- | FOLLOW_TYPE_COLUMN 5 Left -> Right -> Left -> Right. | + | |FOLLOW_TYPE_COLUMN|5|Left -> Right -> Left -> Right.| |
- | FOLLOW_TYPE_ANGULAR 6 Geese-like formation 135º and 225º degrees behind leader. | + | |FOLLOW_TYPE_ANGULAR|6|Geese-like formation 135º and 225º degrees behind leader.| |
==== Power Types ==== | ==== Power Types ==== | ||
- | Name Value | + | ^Name^Value^ |
- | POWER_MANA 0 | + | |POWER_MANA|0| |
- | POWER_RAGE 1 | + | |POWER_RAGE|1| |
- | POWER_FOCUS 2 | + | |POWER_FOCUS|2| |
- | POWER_ENERGY 3 | + | |POWER_ENERGY|3| |
==== Invoker: ==== | ==== Invoker: ==== | ||
数据库/world数据库/smart_scripts.1696327399.txt.gz · 最后更改: 2023/10/03 18:03 由 admin