脚本常量

From Valve Developer Community
Jump to: navigation, search
English (en)中文 (zh)Translate (Translate)

Contents

常量

AbilityUnitDamageType(技能伤害类型)

  • DAMAGE_TYPE_COMPOSITE
  • DAMAGE_TYPE_HP_REMOVAL
  • DAMAGE_TYPE_MAGICAL
  • DAMAGE_TYPE_PHYSICAL
  • DAMAGE_TYPE_PURE

ItemDeclarations(物品购买提醒)

  • DECLARE_PURCHASES_IN_SPEECH
  • DECLARE_PURCHASES_TO_SPECTATORS
  • DECLARE_PURCHASES_TO_TEAMMATES

AbilityBehavior(技能行为)

  • DOTA_ABILITY_BEHAVIOR_AOE
  • DOTA_ABILITY_BEHAVIOR_ATTACK
  • DOTA_ABILITY_BEHAVIOR_AURA
  • DOTA_ABILITY_BEHAVIOR_AUTOCAST
  • DOTA_ABILITY_BEHAVIOR_CHANNELLED
  • DOTA_ABILITY_BEHAVIOR_DIRECTIONAL
  • DOTA_ABILITY_BEHAVIOR_DONT_ALERT_TARGET
  • DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_MOVEMENT
  • DOTA_ABILITY_BEHAVIOR_DONT_RESUME_ATTACK
  • DOTA_ABILITY_BEHAVIOR_DONT_RESUME_MOVEMENT
  • DOTA_ABILITY_BEHAVIOR_HIDDEN
  • DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING
  • DOTA_ABILITY_BEHAVIOR_IGNORE_CHANNEL
  • DOTA_ABILITY_BEHAVIOR_IGNORE_PSEUDO_QUEUE
  • DOTA_ABILITY_BEHAVIOR_IGNORE_TURN
  • DOTA_ABILITY_BEHAVIOR_IMMEDIATE
  • DOTA_ABILITY_BEHAVIOR_ITEM
  • DOTA_ABILITY_BEHAVIOR_NO_TARGET
  • DOTA_ABILITY_BEHAVIOR_NOASSIST
  • DOTA_ABILITY_BEHAVIOR_NONE
  • DOTA_ABILITY_BEHAVIOR_NORMAL_WHEN_STOLEN
  • DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE
  • DOTA_ABILITY_BEHAVIOR_PASSIVE
  • DOTA_ABILITY_BEHAVIOR_POINT
  • DOTA_ABILITY_BEHAVIOR_ROOT_DISABLES
  • DOTA_ABILITY_BEHAVIOR_RUNE_TARGET
  • DOTA_ABILITY_BEHAVIOR_TOGGLE
  • DOTA_ABILITY_BEHAVIOR_UNIT_TARGET
  • DOTA_ABILITY_BEHAVIOR_UNRESTRICTED

AbilityType(技能类型)

  • DOTA_ABILITY_TYPE_ATTRIBUTES
  • DOTA_ABILITY_TYPE_BASIC
  • DOTA_ABILITY_TYPE_HIDDEN
  • DOTA_ABILITY_TYPE_ULTIMATE

Attributes(属性)

  • DOTA_ATTRIBUTE_AGILITY
  • DOTA_ATTRIBUTE_INTELLECT
  • DOTA_ATTRIBUTE_STRENGTH

HeroType(英雄类型)

  • DOTA_BOT_GANKER
  • DOTA_BOT_HARD_CARRY
  • DOTA_BOT_NUKER
  • DOTA_BOT_PURE_SUPPORT
  • DOTA_BOT_PUSH_SUPPORT
  • DOTA_BOT_SEMI_CARRY
  • DOTA_BOT_STUN_SUPPORT
  • DOTA_BOT_TANK

CombatClassAttack(攻击战斗类型)

  • DOTA_COMBAT_CLASS_ATTACK_BASIC
  • DOTA_COMBAT_CLASS_ATTACK_HERO
  • DOTA_COMBAT_CLASS_ATTACK_LIGHT
  • DOTA_COMBAT_CLASS_ATTACK_PIERCE
  • DOTA_COMBAT_CLASS_ATTACK_SIEGE

CombatClassDefend(防守战斗类型)

  • DOTA_COMBAT_CLASS_DEFEND_BASIC
  • DOTA_COMBAT_CLASS_DEFEND_HERO
  • DOTA_COMBAT_CLASS_DEFEND_SOFT
  • DOTA_COMBAT_CLASS_DEFEND_STRONG
  • DOTA_COMBAT_CLASS_DEFEND_STRUCTURE
  • DOTA_COMBAT_CLASS_DEFEND_WEAK

GameRules States(游戏规则状态)

  • DOTA_GAMERULES_STATE_DISCONNECT
  • DOTA_GAMERULES_STATE_GAME_IN_PROGRESS
  • DOTA_GAMERULES_STATE_HERO_SELECTION
  • DOTA_GAMERULES_STATE_INIT
  • DOTA_GAMERULES_STATE_LAST
  • DOTA_GAMERULES_STATE_POST_GAME
  • DOTA_GAMERULES_STATE_PRE_GAME
  • DOTA_GAMERULES_STATE_STRATEGY_TIME
  • DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD

GC Teams(GC 队伍)

  • DOTA_GC_TEAM_BAD_GUYS
  • DOTA_GC_TEAM_BROADCASTER 中文定义:DOTA广播员
  • DOTA_GC_TEAM_GOOD_GUYS
  • DOTA_GC_TEAM_NOTEAM
  • DOTA_GC_TEAM_PLAYER_POOL
  • DOTA_GC_TEAM_SPECTATOR 中文定义:DOTA观众

HeroPick States(英雄选择状态)

  • DOTA_HEROPICK_STATE_AD_SELECT
  • DOTA_HEROPICK_STATE_AP_SELECT
  • DOTA_HEROPICK_STATE_AR_SELECT
  • DOTA_HEROPICK_STATE_CD_BAN1
  • DOTA_HEROPICK_STATE_CD_BAN2
  • DOTA_HEROPICK_STATE_CD_BAN3
  • DOTA_HEROPICK_STATE_CD_BAN4
  • DOTA_HEROPICK_STATE_CD_CAPTAINPICK
  • DOTA_HEROPICK_STATE_CD_INTRO
  • DOTA_HEROPICK_STATE_CD_PICK
  • DOTA_HEROPICK_STATE_CD_SELECT1
  • DOTA_HEROPICK_STATE_CD_SELECT10
  • DOTA_HEROPICK_STATE_CD_SELECT2
  • DOTA_HEROPICK_STATE_CD_SELECT3
  • DOTA_HEROPICK_STATE_CD_SELECT4
  • DOTA_HEROPICK_STATE_CD_SELECT5
  • DOTA_HEROPICK_STATE_CD_SELECT6
  • DOTA_HEROPICK_STATE_CD_SELECT7
  • DOTA_HEROPICK_STATE_CD_SELECT8
  • DOTA_HEROPICK_STATE_CD_SELECT9
  • DOTA_HEROPICK_STATE_CM_BAN1
  • DOTA_HEROPICK_STATE_CM_BAN10
  • DOTA_HEROPICK_STATE_CM_BAN2
  • DOTA_HEROPICK_STATE_CM_BAN3
  • DOTA_HEROPICK_STATE_CM_BAN4
  • DOTA_HEROPICK_STATE_CM_BAN5
  • DOTA_HEROPICK_STATE_CM_BAN6
  • DOTA_HEROPICK_STATE_CM_BAN7
  • DOTA_HEROPICK_STATE_CM_BAN8
  • DOTA_HEROPICK_STATE_CM_BAN9
  • DOTA_HEROPICK_STATE_CM_CAPTAINPICK
  • DOTA_HEROPICK_STATE_CM_INTRO
  • DOTA_HEROPICK_STATE_CM_PICK
  • DOTA_HEROPICK_STATE_CM_SELECT1
  • DOTA_HEROPICK_STATE_CM_SELECT10
  • DOTA_HEROPICK_STATE_CM_SELECT2
  • DOTA_HEROPICK_STATE_CM_SELECT3
  • DOTA_HEROPICK_STATE_CM_SELECT4
  • DOTA_HEROPICK_STATE_CM_SELECT5
  • DOTA_HEROPICK_STATE_CM_SELECT6
  • DOTA_HEROPICK_STATE_CM_SELECT7
  • DOTA_HEROPICK_STATE_CM_SELECT8
  • DOTA_HEROPICK_STATE_CM_SELECT9
  • DOTA_HEROPICK_STATE_COUNT
  • DOTA_HEROPICK_STATE_FH_SELECT
  • DOTA_HEROPICK_STATE_INTRO_SELECT
  • DOTA_HEROPICK_STATE_MO_SELECT
  • DOTA_HEROPICK_STATE_NONE
  • DOTA_HEROPICK_STATE_RD_SELECT
  • DOTA_HEROPICK_STATE_SD_SELECT

BoundsHullName(边界外壳名)

  • DOTA_HULL_SIZE_BARRACKS
  • DOTA_HULL_SIZE_BUILDING
  • DOTA_HULL_SIZE_FILLER
  • DOTA_HULL_SIZE_HERO
  • DOTA_HULL_SIZE_HUGE
  • DOTA_HULL_SIZE_REGULAR
  • DOTA_HULL_SIZE_SIEGE
  • DOTA_HULL_SIZE_SMALL
  • DOTA_HULL_SIZE_TOWER

Inventory Options(物品栏选项)

  • DOTA_INVENTORY_ALL_ACCESS
  • DOTA_INVENTORY_ALLOW_DROP_AT_FOUNTAIN
  • DOTA_INVENTORY_ALLOW_DROP_ON_GROUND
  • DOTA_INVENTORY_ALLOW_MAIN
  • DOTA_INVENTORY_ALLOW_NONE
  • DOTA_INVENTORY_ALLOW_STASH

ItemDisassembleRule(物品拆分规则)

  • DOTA_ITEM_DISASSEMBLE_ALWAYS
  • DOTA_ITEM_DISASSEMBLE_NEVER

Item Stuff(物品)

  • DOTA_ITEM_INVENTORY_SIZE
  • DOTA_ITEM_MAX
  • DOTA_ITEM_STASH_MAX
  • DOTA_ITEM_STASH_MIN
  • DOTA_ITEM_STASH_SIZE
  • DOTA_ITEM_TRANSIENT_CAST_ITEM
  • DOTA_ITEM_TRANSIENT_ITEM
  • DOTA_ITEM_TRANSIENT_RECIPE

Gold Modifiers(金币修改器)

  • DOTA_ModifyGold_AbandonedRedistribute
  • DOTA_ModifyGold_AbilityCost
  • DOTA_ModifyGold_Buyback
  • DOTA_ModifyGold_Death
  • DOTA_ModifyGold_PurchaseConsumable
  • DOTA_ModifyGold_PurchaseItem
  • DOTA_ModifyGold_SellItem
  • DOTA_ModifyGold_Unspecified

Music Status(音乐状态)

  • DOTA_MUSIC_STATUS_BATTLE
  • DOTA_MUSIC_STATUS_DEAD
  • DOTA_MUSIC_STATUS_EXPLORATION
  • DOTA_MUSIC_STATUS_NONE
  • DOTA_MUSIC_STATUS_PRE_GAME_EXPLORATION

Think Contexts(计时器环境)

  • DOTA_NPC_MODIFIER_MANAGER_THINK_CONTEXT
  • DOTA_NPC_STATS_REGEN_THINK_CONTEXT
  • DOTA_NPC_THINK_CONTEXT

UnitRelationshipClass(单位关系类)

  • DOTA_NPC_UNIT_RELATIONSHIP_TYPE_BARRACKS
  • DOTA_NPC_UNIT_RELATIONSHIP_TYPE_BUILDING
  • DOTA_NPC_UNIT_RELATIONSHIP_TYPE_COURIER
  • DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT
  • DOTA_NPC_UNIT_RELATIONSHIP_TYPE_HERO
  • DOTA_NPC_UNIT_RELATIONSHIP_TYPE_SIEGE
  • DOTA_NPC_UNIT_RELATIONSHIP_TYPE_WARD

Orb Labels(法球标签)

  • DOTA_ORB_LABEL_DEFAULT
  • DOTA_ORB_LABEL_EXCEPTION
  • DOTA_ORB_LABEL_NONE
  • DOTA_ORB_LABEL_SKADI

Orb Priorities(法球属性)

  • DOTA_ORB_PRIORITY_ABILITY
  • DOTA_ORB_PRIORITY_DEFAULT
  • DOTA_ORB_PRIORITY_ITEM
  • DOTA_ORB_PRIORITY_ITEM_PROC
  • DOTA_ORB_PRIORITY_NONE

Precache Filename(预载文件名)

  • DOTA_PRECACHE_FILENAME

Projectile Attatchments(弹道附着物)

  • DOTA_PROJECTILE_ATTACHMENT_ATTACK_1
  • DOTA_PROJECTILE_ATTACHMENT_ATTACK_2
  • DOTA_PROJECTILE_ATTACHMENT_ATTACK_3
  • DOTA_PROJECTILE_ATTACHMENT_ATTACK_4
  • DOTA_PROJECTILE_ATTACHMENT_HITLOCATION
  • DOTA_PROJECTILE_ATTACHMENT_NONE

Pseudo-Random Types(伪随机类型)

  • DOTA_PSEUDO_RANDOM_BREWMASTER_CRIT
  • DOTA_PSEUDO_RANDOM_CHAOS_CRIT
  • DOTA_PSEUDO_RANDOM_FACELESS_BASH
  • DOTA_PSEUDO_RANDOM_ITEM_ABYSSAL
  • DOTA_PSEUDO_RANDOM_ITEM_BASHER
  • DOTA_PSEUDO_RANDOM_ITEM_BUTTERFLY
  • DOTA_PSEUDO_RANDOM_ITEM_GREATERCRIT
  • DOTA_PSEUDO_RANDOM_ITEM_HALBRED_MAIM
  • DOTA_PSEUDO_RANDOM_ITEM_LESSERCRIT
  • DOTA_PSEUDO_RANDOM_ITEM_MAELSTROM
  • DOTA_PSEUDO_RANDOM_ITEM_MJOLLNIR
  • DOTA_PSEUDO_RANDOM_ITEM_MJOLLNIR_STATIC
  • DOTA_PSEUDO_RANDOM_ITEM_MKB
  • DOTA_PSEUDO_RANDOM_ITEM_PMS
  • DOTA_PSEUDO_RANDOM_ITEM_SANGE_MAIM
  • DOTA_PSEUDO_RANDOM_ITEM_SANGEYASHA_MAIM
  • DOTA_PSEUDO_RANDOM_ITEM_STOUT
  • DOTA_PSEUDO_RANDOM_ITEM_VANGUARD
  • DOTA_PSEUDO_RANDOM_JUGG_CRIT
  • DOTA_PSEUDO_RANDOM_LYCAN_CRIT
  • DOTA_PSEUDO_RANDOM_PHANTOMASSASSIN_CRIT
  • DOTA_PSEUDO_RANDOM_SKELETONKING_CRIT
  • DOTA_PSEUDO_RANDOM_SLARDAR_BASH
  • DOTA_PSEUDO_RANDOM_SNIPER_HEADSHOT
  • DOTA_PSEUDO_RANDOM_TROLL_BASH

Rune Types(神符类型)

  • DOTA_RUNE_DOUBLEDAMAGE
  • DOTA_RUNE_HASTE
  • DOTA_RUNE_HAUNTED
  • DOTA_RUNE_ILLUSION
  • DOTA_RUNE_INVISIBILITY
  • DOTA_RUNE_MYSTERY
  • DOTA_RUNE_RAPIER
  • DOTA_RUNE_REGENERATION
  • DOTA_RUNE_SPOOKY
  • DOTA_RUNE_TURBO

Teams(队伍)

  • DOTA_TEAM_BADGUYS
  • DOTA_TEAM_GOODGUYS
  • DOTA_TEAM_NEUTRALS
  • DOTA_TEAM_NOTEAM
  • DOTA_MAX_PLAYERS
  • DOTA_MAX_TEAM
  • DOTA_MAX_PLAYER_TEAMS
  • DOTA_MAX_TEAM_PLAYERS

Attack Capabilities(攻击设定)

  • DOTA_UNIT_CAP_MELEE_ATTACK
  • DOTA_UNIT_CAP_RANGED_ATTACK
  • DOTA_UNIT_CAP_NO_ATTACK

Movement Capabilities(移动设定)

  • DOTA_UNIT_CAP_MOVE_GROUND
  • DOTA_UNIT_CAP_MOVE_FLY
  • DOTA_UNIT_CAP_MOVE_NONE


Unit Order Types(单位命令类型)

  • DOTA_UNIT_ORDER_ATTACK_MOVE
  • DOTA_UNIT_ORDER_ATTACK_TARGET
  • DOTA_UNIT_ORDER_BUYBACK
  • DOTA_UNIT_ORDER_CAST_NO_TARGET
  • DOTA_UNIT_ORDER_CAST_POSITION
  • DOTA_UNIT_ORDER_CAST_RUNE
  • DOTA_UNIT_ORDER_CAST_TARGET
  • DOTA_UNIT_ORDER_CAST_TARGET_TREE
  • DOTA_UNIT_ORDER_CAST_TOGGLE
  • DOTA_UNIT_ORDER_CAST_TOGGLE_AUTO
  • DOTA_UNIT_ORDER_DISASSEMBLE_ITEM
  • DOTA_UNIT_ORDER_DROP_ITEM
  • DOTA_UNIT_ORDER_EJECT_ITEM_FROM_STASH
  • DOTA_UNIT_ORDER_GIVE_ITEM
  • DOTA_UNIT_ORDER_GLYPH
  • DOTA_UNIT_ORDER_HOLD_POSITION
  • DOTA_UNIT_ORDER_MOVE_ITEM
  • DOTA_UNIT_ORDER_MOVE_TO_POSITION
  • DOTA_UNIT_ORDER_MOVE_TO_TARGET
  • DOTA_UNIT_ORDER_NONE
  • DOTA_UNIT_ORDER_PICKUP_ITEM
  • DOTA_UNIT_ORDER_PICKUP_RUNE
  • DOTA_UNIT_ORDER_PURCHASE_ITEM
  • DOTA_UNIT_ORDER_SELL_ITEM
  • DOTA_UNIT_ORDER_STOP
  • DOTA_UNIT_ORDER_TAUNT
  • DOTA_UNIT_ORDER_TRAIN_ABILITY

AbilityUnitTargetType(技能目标单位类型)

  • DOTA_UNIT_TARGET_ALL
  • DOTA_UNIT_TARGET_BASIC
  • DOTA_UNIT_TARGET_BUILDING
  • DOTA_UNIT_TARGET_COURIER
  • DOTA_UNIT_TARGET_CREEP
  • DOTA_UNIT_TARGET_CUSTOM
  • DOTA_UNIT_TARGET_HERO
  • DOTA_UNIT_TARGET_MECHANICAL
  • DOTA_UNIT_TARGET_NONE
  • DOTA_UNIT_TARGET_OTHER
  • DOTA_UNIT_TARGET_TREE

Unit Target Flags(单位目标标签)

  • DOTA_UNIT_TARGET_FLAG_CHECK_DISABLE_HELP
  • DOTA_UNIT_TARGET_FLAG_DEAD
  • DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE
  • DOTA_UNIT_TARGET_FLAG_INVULNERABLE
  • DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES
  • DOTA_UNIT_TARGET_FLAG_MANA_ONLY
  • DOTA_UNIT_TARGET_FLAG_MELEE_ONLY
  • DOTA_UNIT_TARGET_FLAG_NO_INVIS
  • DOTA_UNIT_TARGET_FLAG_NONE
  • DOTA_UNIT_TARGET_FLAG_NOT_ANCIENTS
  • DOTA_UNIT_TARGET_FLAG_NOT_ATTACK_IMMUNE
  • DOTA_UNIT_TARGET_FLAG_NOT_CREEP_HERO
  • DOTA_UNIT_TARGET_FLAG_NOT_DOMINATED
  • DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS
  • DOTA_UNIT_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES
  • DOTA_UNIT_TARGET_FLAG_NOT_NIGHTMARED
  • DOTA_UNIT_TARGET_FLAG_NOT_SUMMONED
  • DOTA_UNIT_TARGET_FLAG_OUT_OF_WORLD
  • DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
  • DOTA_UNIT_TARGET_FLAG_RANGED_ONLY

AbilityUnitTargetTeam(技能可作用的目标单位队伍)

  • DOTA_UNIT_TARGET_TEAM_BOTH
  • DOTA_UNIT_TARGET_TEAM_CUSTOM
  • DOTA_UNIT_TARGET_TEAM_ENEMY
  • DOTA_UNIT_TARGET_TEAM_FRIENDLY
  • DOTA_UNIT_TARGET_TEAM_NONE

ConVar Flags(控制台变量标签)

  • FCVAR_ARCHIVE
  • FCVAR_CHEAT
  • FCVAR_DEMO
  • FCVAR_DEVELOPMENTONLY
  • FCVAR_DONTRECORD
  • FCVAR_HIDDEN
  • FCVAR_NEVER_AS_STRING
  • FCVAR_NOT_CONNECTED
  • FCVAR_NOTIFY
  • FCVAR_PRINTABLEONLY
  • FCVAR_PROTECTED
  • FCVAR_REPLICATED
  • FCVAR_SPONLY
  • FCVAR_SS
  • FCVAR_UNLOGGED
  • FCVAR_UNREGISTERED
  • FCVAR_USERINFO
  • FCVAR_VCONSOLE_SET_FOCUS

Find Types(寻找类型)

  • FIND_ANY_ORDER
  • FIND_CLOSEST
  • FIND_FARTHEST
  • FIND_UNITS_EVERYWHERE

ItemShareability(物品的共享属性)

  • ITEM_FULLY_SHAREABLE
  • ITEM_FULLY_SHAREABLE_STACKING
  • ITEM_NOT_SHAREABLE
  • ITEM_PARTIALLY_SHAREABLE

Item Types(物品类型)

  • ITEM_CONSUMABLE
  • ITEM_CORE
  • ITEM_DERIVED
  • ITEM_EXTENSION
  • ITEM_LUXURY
  • ITEM_SELLABLE

Item Flags(物品标签)

  • ITEM_FLAG_DOHITLOCATIONDMG
  • ITEM_FLAG_EXHAUSTIBLE
  • ITEM_FLAG_LIMITINWORLD
  • ITEM_FLAG_NOAMMOPICKUPS
  • ITEM_FLAG_NOAUTORELOAD
  • ITEM_FLAG_NOAUTOSWITCHEMPTY
  • ITEM_FLAG_NOITEMPICKUP
  • ITEM_FLAG_SELECTONEMPTY

Modifier Attributes(修改器属性)

  • MODIFIER_ATTRIBUTE_IGNORE_INVULNERABLE
  • MODIFIER_ATTRIBUTE_MULTIPLE
  • MODIFIER_ATTRIBUTE_NONE
  • MODIFIER_ATTRIBUTE_PERMANENT

Modifier Events(修改器事件)

  • MODIFIER_EVENT_ON_ABILITY_END_CHANNEL
  • MODIFIER_EVENT_ON_ABILITY_EXECUTED
  • MODIFIER_EVENT_ON_ABILITY_START
  • MODIFIER_EVENT_ON_ATTACK
  • MODIFIER_EVENT_ON_ATTACK_ALLIED
  • MODIFIER_EVENT_ON_ATTACK_FAIL
  • MODIFIER_EVENT_ON_ATTACK_LANDED
  • MODIFIER_EVENT_ON_ATTACK_START
  • MODIFIER_EVENT_ON_ATTACKED
  • MODIFIER_EVENT_ON_BREAK_INVISIBILITY
  • MODIFIER_EVENT_ON_DEATH
  • MODIFIER_EVENT_ON_HEALTH_GAINED
  • MODIFIER_EVENT_ON_MANA_GAINED
  • MODIFIER_EVENT_ON_ORB_EFFECT
  • MODIFIER_EVENT_ON_ORDER
  • MODIFIER_EVENT_ON_PROCESS_UPGRADE
  • MODIFIER_EVENT_ON_PROJECTILE_DODGE
  • MODIFIER_EVENT_ON_REFRESH
  • MODIFIER_EVENT_ON_RESPAWN
  • MODIFIER_EVENT_ON_SPENT_MANA
  • MODIFIER_EVENT_ON_STATE_CHANGED
  • MODIFIER_EVENT_ON_TAKEDAMAGE
  • MODIFIER_EVENT_ON_TAKEDAMAGE_REAPERSCYTHE
  • MODIFIER_EVENT_ON_TELEPORTED
  • MODIFIER_EVENT_ON_TELEPORTING
  • MODIFIER_EVENT_ON_UNIT_MOVED

Modifier Functions(修改器功能,之前的wiki版本叫做: Modifier Properties -> 修改器属性)

这部分常量是在lua中定义modifer的时候使用的。
作用和技能KV文件中modifier的Properties属性一致(kv里其实用的就是这个),只是有好多在kv里不生效,但是通过lua去定义modifier就可以使用,比如 MODIFIER_PROPERTY_TOTALDAMAGEOUTGOING_PERCENTAGE。
Name是常量的标识,value是对应的常量值。
Lua function 指的是在Lua Modifier 的 DeclareFunctions 方法中定义了对应的常量以后,该modifier必须“实现”的功能(添加对应的函数)。
具体的应用可以参考 Lua_Abilities_and_Modifiers(en)

Name Value Lua function Description
MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE 0 GetModifierPreAttack_BonusDamage
MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE_PROC 1 GetModifierPreAttack_BonusDamage_Proc
MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE_POST_CRIT 2 GetModifierPreAttack_BonusDamagePostCrit
MODIFIER_PROPERTY_BASEATTACK_BONUSDAMAGE 3 GetModifierBaseAttack_BonusDamage
MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_PHYSICAL 4 GetModifierProcAttack_BonusDamage_Physical
MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_MAGICAL 5 GetModifierProcAttack_BonusDamage_Magical
MODIFIER_PROPERTY_PROCATTACK_BONUS_DAMAGE_PURE 6 GetModifierProcAttack_BonusDamage_Pure
MODIFIER_PROPERTY_PROCATTACK_FEEDBACK 7 GetModifierProcAttack_Feedback
MODIFIER_PROPERTY_PRE_ATTACK 8 GetModifierPreAttack
MODIFIER_PROPERTY_INVISIBILITY_LEVEL 9 GetModifierInvisibilityLevel Generates a level of opacity on the parent.
MODIFIER_PROPERTY_PERSISTENT_INVISIBILITY 10 GetModifierPersistentInvisibility
MODIFIER_PROPERTY_MOVESPEED_BONUS_CONSTANT 11 GetModifierMoveSpeedBonus_Constant Increases the move speed of the parent by a constant returned to it. Can get negative values.
MODIFIER_PROPERTY_MOVESPEED_BASE_OVERRIDE 12 GetModifierMoveSpeedOverride changes the base move speed of the parent by a value returned to it. Minimum of 100 move speed.
MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE 13 GetModifierMoveSpeedBonus_Percentage Increases the move speed of the parent by a percentage returned to it. Can get negative values.
MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE_UNIQUE 14 GetModifierMoveSpeedBonus_Percentage_Unique
MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE_UNIQUE_2 15 GetModifierMoveSpeedBonus_Percentage_Unique_2
MODIFIER_PROPERTY_MOVESPEED_BONUS_UNIQUE 16 GetModifierMoveSpeedBonus_Special_Boots
MODIFIER_PROPERTY_MOVESPEED_BONUS_UNIQUE_2 17 GetModifierMoveSpeedBonus_Special_Boots_2
MODIFIER_PROPERTY_MOVESPEED_ABSOLUTE 18 GetModifierMoveSpeed_Absolute Sets the move speed of the parent to a value. Nothing can increase or decrease move speed.
MODIFIER_PROPERTY_MOVESPEED_ABSOLUTE_MIN 19 GetModifierMoveSpeed_AbsoluteMin Sets the move speed of the parent to a minimum value. Nothing can decrease move speed below the chosen value.
MODIFIER_PROPERTY_MOVESPEED_LIMIT 20 GetModifierMoveSpeed_Limit Sets the move speed limit of the parent.
MODIFIER_PROPERTY_MOVESPEED_MAX 21 GetModifierMoveSpeed_Max
MODIFIER_PROPERTY_ATTACKSPEED_BASE_OVERRIDE 22 GetModifierAttackSpeedBaseOverride
MODIFIER_PROPERTY_FIXED_ATTACK_RATE 23 GetModifierAttackSpeedBaseOverride
MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT 24 GetModifierAttackSpeedBonus_Constant Increases the attack speed of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_COOLDOWN_REDUCTION_CONSTANT 25 GetModifierCooldownReduction_Constant Reduces the cooldown of all skills and items of the parent by a constant returned to it. Can get negative values to increase cooldowns instead.
MODIFIER_PROPERTY_BASE_ATTACK_TIME_CONSTANT 26 GetModifierBaseAttackTimeConstant Decreases the base attack time of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_ATTACK_POINT_CONSTANT 27 GetModifierAttackPointConstant
MODIFIER_PROPERTY_DAMAGEOUTGOING_PERCENTAGE 28 GetModifierDamageOutgoing_Percentage Increases the raw damage that the parent deals by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_DAMAGEOUTGOING_PERCENTAGE_ILLUSION 29 GetModifierDamageOutgoing_Percentage_Illusion
MODIFIER_PROPERTY_TOTALDAMAGEOUTGOING_PERCENTAGE 30 GetModifierTotalDamageOutgoing_Percentage Increases the damage of all sources that the parent deals by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_SPELL_AMPLIFY_PERCENTAGE 31 GetModifierSpellAmplify_Percentage
MODIFIER_PROPERTY_HEAL_AMPLIFY_PERCENTAGE 32 GetModifierHealAmplify_Percentage
MODIFIER_PROPERTY_MAGICDAMAGEOUTGOING_PERCENTAGE 33 GetModifierMagicDamageOutgoing_Percentage Increases the magic damage that the parent deals by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_BASEDAMAGEOUTGOING_PERCENTAGE 34 GetModifierBaseDamageOutgoing_Percentage Increases the base damage of that the parent deals by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_BASEDAMAGEOUTGOING_PERCENTAGE_UNIQUE 35 GetModifierBaseDamageOutgoing_PercentageUnique
MODIFIER_PROPERTY_INCOMING_DAMAGE_PERCENTAGE 36 GetModifierIncomingDamage_Percentage Increases the damage of all sources that the parent takes by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_INCOMING_PHYSICAL_DAMAGE_PERCENTAGE 37 GetModifierIncomingPhysicalDamage_Percentage Increases the damage of physical sources that the parent takes by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_INCOMING_PHYSICAL_DAMAGE_CONSTANT 38 GetModifierIncomingPhysicalDamageConstant
MODIFIER_PROPERTY_INCOMING_SPELL_DAMAGE_CONSTANT 39 GetModifierIncomingSpellDamageConstant Increases the damage of magical sources that the parent takes by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_EVASION_CONSTANT 40 GetModifierEvasion_Constant Increases the evasion of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_NEGATIVE_EVASION_CONSTANT 41 GetModifierNegativeEvasion_Constant
MODIFIER_PROPERTY_AVOID_DAMAGE 42 GetModifierAvoidDamage
MODIFIER_PROPERTY_AVOID_SPELL 43 GetModifierAvoidSpell
MODIFIER_PROPERTY_MISS_PERCENTAGE 44 GetModifierMiss_Percentage Increases the chance of the parent to miss by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS 45 GetModifierPhysicalArmorBonus Increases the armor of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_UNIQUE 46 GetModifierPhysicalArmorBonusUnique
MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS_UNIQUE_ACTIVE 47 GetModifierPhysicalArmorBonusUniqueActive
MODIFIER_PROPERTY_IGNORE_PHYSICAL_ARMOR 48 GetModifierIgnorePhysicalArmor
MODIFIER_PROPERTY_MAGICAL_RESISTANCE_DIRECT_MODIFICATION 49 GetModifierMagicalResistanceDirectModification
MODIFIER_PROPERTY_MAGICAL_RESISTANCE_BONUS 50 GetModifierMagicalResistanceBonus Increases the magical resistance of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_MAGICAL_RESISTANCE_DECREPIFY_UNIQUE 51 GetModifierMagicalResistanceDecrepifyUnique
MODIFIER_PROPERTY_BASE_MANA_REGEN 52 GetModifierBaseRegen Increases the base mana regeneration of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_MANA_REGEN_CONSTANT 53 GetModifierConstantManaRegen Increases the mana regeneration of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_MANA_REGEN_CONSTANT_UNIQUE 54 GetModifierConstantManaRegenUnique
MODIFIER_PROPERTY_MANA_REGEN_PERCENTAGE 55 GetModifierPercentageManaRegen Increases the mana regeneration of the parent by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_MANA_REGEN_TOTAL_PERCENTAGE 56 GetModifierTotalPercentageManaRegen Increases the total mana regeneration of the parent by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_HEALTH_REGEN_CONSTANT 57 GetModifierConstantHealthRegen Increases the health regeneration of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_HEALTH_REGEN_PERCENTAGE 58 GetModifierHealthRegenPercentage Increases the evasion of the parent by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_HEALTH_BONUS 59 GetModifierHealthBonus Increases the maximum health of the parent by a constant returned to it. Can return negative values. Health is scaled to the same percentage as before the increase.
MODIFIER_PROPERTY_MANA_BONUS 60 GetModifierManaBonus Increases the maximum mana of the parent by a constant returned to it. Can return negative values. Mana is scaled to the same percentage as before the increase.
MODIFIER_PROPERTY_EXTRA_STRENGTH_BONUS 61 GetModifierExtraStrengthBonus
MODIFIER_PROPERTY_EXTRA_HEALTH_BONUS 62 GetModifierExtraHealthBonus Increases the maximum health of the parent by a constant returned to it. Can return negative values. Ignores current health.
MODIFIER_PROPERTY_EXTRA_MANA_BONUS 63 GetModifierExtraManaBonus Increases the maximum mana of the parent by a constant returned to it. Can return negative values. Ignores current mana.
MODIFIER_PROPERTY_EXTRA_HEALTH_PERCENTAGE 64 GetModifierExtraHealthPercentage Increases the maximum health of the parent by a percentage returned to it. Can return negative values. Ignores current health.
MODIFIER_PROPERTY_STATS_STRENGTH_BONUS 65 GetModifierBonusStats_Strength Increases the strength stat of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_STATS_AGILITY_BONUS 66 GetModifierBonusStats_Agility Increases the agility stat of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_STATS_INTELLECT_BONUS 67 GetModifierBonusStats_Intellect Increases the intelligence stat of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_CAST_RANGE_BONUS 68 GetModifierCastRangeBonus Increases the cast range of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_CAST_RANGE_BONUS_STACKING 69 GetModifierCastRangeBonusStacking
MODIFIER_PROPERTY_ATTACK_RANGE_BONUS 70 GetModifierAttackRangeBonus Increases the attack range of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_ATTACK_RANGE_BONUS_UNIQUE 71 GetModifierAttackRangeBonusUnique
MODIFIER_PROPERTY_MAX_ATTACK_RANGE 72 GetModifierMaxAttackRange
MODIFIER_PROPERTY_PROJECTILE_SPEED_BONUS 73 GetModifierProjectileSpeedBonus Increases the projectile speed of attacks sourced by the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_REINCARNATION 74 ReincarnateTime
MODIFIER_PROPERTY_RESPAWNTIME 75 GetModifierConstantRespawnTime Increases the respawn time of the parent by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_RESPAWNTIME_PERCENTAGE 76 GetModifierPercentageRespawnTime Increases the respawn time of the parent by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_RESPAWNTIME_STACKING 77 GetModifierStackingRespawnTime Increases the respawn time of the parent by a constant returned to it. Can return negative values. Stacks with other modifiers.
MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE 78 GetModifierPercentageCooldown Increases the cooldown of the parent by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE_STACKING 79 GetModifierPercentageCooldownStacking
MODIFIER_PROPERTY_CASTTIME_PERCENTAGE 80 GetModifierPercentageCasttime Increases the cast time of the parent's abilities by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_MANACOST_PERCENTAGE 81 GetModifierPercentageManacost Increases the mana cost of the parent's abilities by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_DEATHGOLDCOST 82 GetModifierConstantDeathGoldCost
MODIFIER_PROPERTY_EXP_RATE_BOOST 83 GetModifierPercentageExpRateBoost
MODIFIER_PROPERTY_PREATTACK_CRITICALSTRIKE 84 GetModifierPreAttack_CriticalStrike Procs a critical strike dealing the extra damage returned to it.
MODIFIER_PROPERTY_PREATTACK_TARGET_CRITICALSTRIKE 85 GetModifierPreAttack_Target_CriticalStrike
MODIFIER_PROPERTY_MAGICAL_CONSTANT_BLOCK 86 GetModifierMagical_ConstantBlock
MODIFIER_PROPERTY_PHYSICAL_CONSTANT_BLOCK 87 GetModifierPhysical_ConstantBlock Blocks damage the parent takes by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_PHYSICAL_CONSTANT_BLOCK_SPECIAL 88 GetModifierPhysical_ConstantBlockSpecial
MODIFIER_PROPERTY_TOTAL_CONSTANT_BLOCK_UNAVOIDABLE_PRE_ARMOR 89 GetModifierPhysical_ConstantBlockUnavoidablePreArmor
MODIFIER_PROPERTY_TOTAL_CONSTANT_BLOCK 90 GetModifierTotal_ConstantBlock
MODIFIER_PROPERTY_OVERRIDE_ANIMATION 91 GetOverrideAnimation Forces the parent to play a specific animation.
MODIFIER_PROPERTY_OVERRIDE_ANIMATION_WEIGHT 92 GetOverrideAnimationWeight
MODIFIER_PROPERTY_OVERRIDE_ANIMATION_RATE 93 GetOverrideAnimationRate
MODIFIER_PROPERTY_ABSORB_SPELL 94 GetAbsorbSpell Allows the parent to ignore targeted abilities. (Similar to linken's sphere)
MODIFIER_PROPERTY_REFLECT_SPELL 95 GetReflectSpell Allows the parent to reflect targeted abilities. (Similar to Lotus Orb)
MODIFIER_PROPERTY_DISABLE_AUTOATTACK 96 GetDisableAutoAttack
MODIFIER_PROPERTY_BONUS_DAY_VISION 97 GetBonusDayVision Increases the vision of the parent during the day by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_BONUS_NIGHT_VISION 98 GetBonusNightVision Increases the vision of the parent during the night by a constant returned to it. Can return negative values.
MODIFIER_PROPERTY_BONUS_NIGHT_VISION_UNIQUE 99 GetBonusNightVisionUnique
MODIFIER_PROPERTY_BONUS_VISION_PERCENTAGE 100 GetBonusVisionPercentage Increases the vision of the parent by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_FIXED_DAY_VISION 101 GetFixedDayVision Sets the vision of the parent during the day to a fixed value returned to it. Cannot be changed by any means.
MODIFIER_PROPERTY_FIXED_NIGHT_VISION 102 GetFixedNightVision Sets the vision of the parent during the night to a fixed value returned to it. Cannot be changed by any means.
MODIFIER_PROPERTY_MIN_HEALTH 103 GetMinHealth
MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_PHYSICAL 104 GetAbsoluteNoDamagePhysical
MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_MAGICAL 105 GetAbsoluteNoDamageMagical
MODIFIER_PROPERTY_ABSOLUTE_NO_DAMAGE_PURE 106 GetAbsoluteNoDamagePure
MODIFIER_PROPERTY_IS_ILLUSION 107 GetIsIllusion
MODIFIER_PROPERTY_ILLUSION_LABEL 108 GetModifierIllusionLabel
MODIFIER_PROPERTY_SUPER_ILLUSION 109 GetModifierSuperIllusion
MODIFIER_PROPERTY_SUPER_ILLUSION_WITH_ULTIMATE 110 GetModifierSuperIllusionWithUltimate
MODIFIER_PROPERTY_TURN_RATE_PERCENTAGE 111 GetModifierTurnRate_Percentage Increases the turn rate of the parent by a percentage returned to it. Can return negative values.
MODIFIER_PROPERTY_DISABLE_HEALING 112 GetDisableHealing Negates healing applied to the parent.
MODIFIER_PROPERTY_ALWAYS_ALLOW_ATTACK 113 GetAlwaysAllowAttack
MODIFIER_PROPERTY_OVERRIDE_ATTACK_MAGICAL 114 GetOverrideAttackMagical
MODIFIER_PROPERTY_UNIT_STATS_NEEDS_REFRESH 115 GetModifierUnitStatsNeedsRefresh
MODIFIER_PROPERTY_BOUNTY_CREEP_MULTIPLIER 116 GetModifierBountyCreepMultiplier
MODIFIER_PROPERTY_BOUNTY_OTHER_MULTIPLIER 117 GetModifierBountyOtherMultiplier
MODIFIER_EVENT_ON_SPELL_TARGET_READY 118 OnSpellTargetReady
MODIFIER_EVENT_ON_ATTACK_RECORD 119 OnAttackRecord
MODIFIER_EVENT_ON_ATTACK_START 120 OnAttackStart Event that fires when an attack starts.
MODIFIER_EVENT_ON_ATTACK 121 OnAttack Event that fires when an attack was completed, regardless of the result of it.
MODIFIER_EVENT_ON_ATTACK_LANDED 122 OnAttackLanded Event that fires when an attack landed on its target successfully.
MODIFIER_EVENT_ON_ATTACK_FAIL 123 OnAttackFail Event that fires when an attack failed to land on its target.
MODIFIER_EVENT_ON_ATTACK_ALLIED 124 OnAttackAllied Event that fires when attacking allies.
MODIFIER_EVENT_ON_PROJECTILE_DODGE 125 OnProjectileDodge Event that fires when dodging a projectile. (Disjointing it)
MODIFIER_EVENT_ON_ORDER 126 OnOrder Event that fires when an order is given to the parent.
MODIFIER_EVENT_ON_UNIT_MOVED 127 OnUnitMoved Event that fires when a unit moved.
MODIFIER_EVENT_ON_ABILITY_START 128 OnAbilityStart Event that fires when starting to use an ability.
MODIFIER_EVENT_ON_ABILITY_EXECUTED 129 OnAbilityExecuted Event that fires when finishing the ability phase stage of the ability.
MODIFIER_EVENT_ON_ABILITY_FULLY_CAST 130 OnAbilityFullyCast Event that fires when the ability has completely activated.
MODIFIER_EVENT_ON_BREAK_INVISIBILITY 131 OnBreakInvisibility Event that fires when breaking invisibility.
MODIFIER_EVENT_ON_ABILITY_END_CHANNEL 132 OnAbilityEndChannel Event that fires when finishing a channel.
MODIFIER_EVENT_ON_PROCESS_UPGRADE 133
MODIFIER_EVENT_ON_REFRESH 134
MODIFIER_EVENT_ON_TAKEDAMAGE 135 OnTakeDamage Event that fires when taking damage.
MODIFIER_EVENT_ON_STATE_CHANGED 136 OnStateChanged Event that fires when a state is changed.
MODIFIER_EVENT_ON_ORB_EFFECT 137
MODIFIER_EVENT_ON_ATTACKED 138 OnAttacked Event that fires when being attacked.
MODIFIER_EVENT_ON_DEATH 139 OnDeath Event that fires when dying.
MODIFIER_EVENT_ON_RESPAWN 140 OnRespawn Event that fires when respawning.
MODIFIER_EVENT_ON_SPENT_MANA 141 OnSpentMana Event that fires when spending mana on items or abilities.
MODIFIER_EVENT_ON_TELEPORTING 142 OnTeleporting Event that fires when starting to teleporting.
MODIFIER_EVENT_ON_TELEPORTED 143 OnTeleported Event that fires when completing a teleport.
MODIFIER_EVENT_ON_SET_LOCATION 144 OnSetLocation
MODIFIER_EVENT_ON_HEALTH_GAINED 145 OnHealthGained
MODIFIER_EVENT_ON_MANA_GAINED 146 OnManaGained
MODIFIER_EVENT_ON_TAKEDAMAGE_KILLCREDIT 147 OnTakeDamageKillCredit
MODIFIER_EVENT_ON_HERO_KILLED 148 OnHeroKilled Event that fires when a hero is killed.
MODIFIER_EVENT_ON_HEAL_RECEIVED 149 OnHealReceived Event that fires when being healed.
MODIFIER_EVENT_ON_BUILDING_KILLED 150 OnBuildingKilled Event that fires when a building is destroyed.
MODIFIER_EVENT_ON_MODEL_CHANGED 151 OnModelChanged Event that fires when the model changes.
MODIFIER_EVENT_ON_MODIFIER_ADDED 152 OnModifierAdded
MODIFIER_PROPERTY_TOOLTIP 153 OnTooltip
MODIFIER_PROPERTY_MODEL_CHANGE 154 GetModifierModelChange Changes the parent's model.
MODIFIER_PROPERTY_MODEL_SCALE 155 GetModifierModelScale Changes the parent's model scale.
MODIFIER_PROPERTY_IS_SCEPTER 156 GetModifierScepter
MODIFIER_PROPERTY_TRANSLATE_ACTIVITY_MODIFIERS 157 GetActivityTranslationModifiers
MODIFIER_PROPERTY_TRANSLATE_ATTACK_SOUND 158 GetAttackSound
MODIFIER_PROPERTY_LIFETIME_FRACTION 159 GetUnitLifetimeFraction
MODIFIER_PROPERTY_PROVIDES_FOW_POSITION 160 GetModifierProvidesFOWVision Return 1 if parent's model would show to his enemies.
MODIFIER_PROPERTY_SPELLS_REQUIRE_HP 161 GetModifierSpellsRequireHP
MODIFIER_PROPERTY_FORCE_DRAW_MINIMAP 162 GetForceDrawOnMinimap
MODIFIER_PROPERTY_DISABLE_TURNING 163 GetModifierDisableTurning
MODIFIER_PROPERTY_IGNORE_CAST_ANGLE 164 GetModifierIgnoreCastAngle
MODIFIER_PROPERTY_CHANGE_ABILITY_VALUE 165 GetModifierChangeAbilityValue
MODIFIER_PROPERTY_ABILITY_LAYOUT 166 GetModifierAbilityLayout Changes the ability layout.
MODIFIER_EVENT_ON_DOMINATED 167 OnDominated An event that fires when a unit is being dominated.
MODIFIER_PROPERTY_TEMPEST_DOUBLE 168 GetModifierTempestDouble
MODIFIER_PROPERTY_PRESERVE_PARTICLES_ON_MODEL_CHANGE 169 PreserveParticlesOnModelChanged
MODIFIER_EVENT_ON_ATTACK_FINISHED 170 OnAttackFinished
MODIFIER_PROPERTY_IGNORE_COOLDOWN 171 GetModifierIgnoreCooldown
MODIFIER_PROPERTY_CAN_ATTACK_TREES 172 GetModifierCanAttackTrees
MODIFIER_PROPERTY_VISUAL_Z_DELTA 173 GetVisualZDelta
MODIFIER_PROPERTY_INCOMING_DAMAGE_ILLUSION 174
MODIFIER_FUNCTION_LAST 175
MODIFIER_FUNCTION_INVALID 255

Modifier States(修改器状态)

  • MODIFIER_STATE_ATTACK_IMMUNE
  • MODIFIER_STATE_BLIND
  • MODIFIER_STATE_BLOCK_DISABLED
  • MODIFIER_STATE_CANNOT_MISS
  • MODIFIER_STATE_COMMAND_RESTRICTED
  • MODIFIER_STATE_DISARMED
  • MODIFIER_STATE_DOMINATED
  • MODIFIER_STATE_EVADE_DISABLED
  • MODIFIER_STATE_FLYING
  • MODIFIER_STATE_FROZEN
  • MODIFIER_STATE_HEXED
  • MODIFIER_STATE_INVISIBLE
  • MODIFIER_STATE_INVULNERABLE
  • MODIFIER_STATE_LOW_ATTACK_PRIORITY
  • MODIFIER_STATE_MAGIC_IMMUNE
  • MODIFIER_STATE_MUTED
  • MODIFIER_STATE_NIGHTMARED
  • MODIFIER_STATE_NO_HEALTH_BAR
  • MODIFIER_STATE_NO_TEAM_MOVE_TO
  • MODIFIER_STATE_NO_TEAM_SELECT
  • MODIFIER_STATE_NO_UNIT_COLLISION
  • MODIFIER_STATE_NOT_ON_MINIMAP
  • MODIFIER_STATE_NOT_ON_MINIMAP_FOR_ENEMIES
  • MODIFIER_STATE_OUT_OF_GAME
  • MODIFIER_STATE_PASSIVES_DISABLED
  • MODIFIER_STATE_PROVIDES_VISION
  • MODIFIER_STATE_ROOTED
  • MODIFIER_STATE_SILENCED
  • MODIFIER_STATE_SOFT_DISARMED
  • MODIFIER_STATE_SPECIALLY_DENIABLE
  • MODIFIER_STATE_STUNNED
  • MODIFIER_STATE_UNSELECTABLE
  • MODIFIER_STATE_VALUE_DISABLED
  • MODIFIER_STATE_VALUE_ENABLED
  • MODIFIER_STATE_VALUE_NO_ACTION

Particle Attach Types(粒子附着类型)

  • MAX_PATTACH_TYPES
  • PATTACH_ABSORIGIN
  • PATTACH_ABSORIGIN_FOLLOW
  • PATTACH_CUSTOMORIGIN
  • PATTACH_CUSTOMORIGIN_FOLLOW
  • PATTACH_EYES_FOLLOW
  • PATTACH_OVERHEAD_FOLLOW
  • PATTACH_POINT
  • PATTACH_POINT_FOLLOW
  • PATTACH_POINT_FOLLOW_SUBSTEPPED
  • PATTACH_RENDERORIGIN_FOLLOW
  • PATTACH_ROOTBONE_FOLLOW
  • PATTACH_WORLDORIGIN

Quest Text Replacement(任务文本替换)

  • QUEST_TEXT_REPLACE_VALUE_CURRENT_VALUE
  • QUEST_TEXT_REPLACE_VALUE_REWARD
  • QUEST_TEXT_REPLACE_VALUE_ROUND
  • QUEST_TEXT_REPLACE_VALUE_TARGET_VALUE

Subquest Text Replacement(支线任务文本替换)

  • SUBQUEST_TEXT_REPLACE_VALUE_CURRENT_VALUE
  • SUBQUEST_TEXT_REPLACE_VALUE_TARGET_VALUE