名称 | 值 | 参数1 | 参数2 | 参数3 | 参数4 | 描述 |
SMART_EVENT_UPDATE_IC | 0 | InitialMin | InitialMax | RepeatMin | RepeatMax | 战斗中触发,参1-参2之间随机首次触发,参3-参4随机重复 |
SMART_EVENT_UPDATE_OOC | 1 | InitialMin | InitialMax | RepeatMin | RepeatMax | 非战斗触发,参1-参2之间随机首次触发,参3-参4随机重复 |
SMART_EVENT_HEALT_PCT | 2 | HPMin% | HPMax% | RepeatMin | RepeatMax | 生命百分比,在参1-参2之间随机触发,参3-参4随机重复 |
SMART_EVENT_MANA_PCT | 3 | ManaMin% | ManaMax% | RepeatMin | RepeatMax | 魔法百分比,在参1-参2之间随机触发,参3-参4随机重复 |
SMART_EVENT_AGGRO | 4 | | | | | 生物怪物被引到时触发 |
SMART_EVENT_KILL | 5 | CooldownMin0 | CooldownMax1 | playerOnly2 | else creature entry3 | 生物击杀玩家或其他生物时触发,参1-参2冷却时间 |
SMART_EVENT_DEATH | 6 | | | | | 生物死亡时触发 |
SMART_EVENT_EVADE | 7 | | | | | On Creature Evade Attack |
SMART_EVENT_SPELLHIT | 8 | SpellID | School | CooldownMin | CooldownMax | 生物/物体被技能击中时触发,参1技能ID,参2技能类别 |
SMART_EVENT_RANGE | 9 | MinDist | MaxDist | RepeatMin | RepeatMax | 当生物在参1-参2之间的距离触发,参3-参4随机重复 |
SMART_EVENT_OOC_LOS | 10 | NoHostile | MaxRange | CooldownMin | CooldownMax | 当生物非战斗状态,参1目标(指定友方或者敌方)出现在参2范围内触发,参3-参4冷却时间 |
SMART_EVENT_RESPAWN | 11 | type | MapId | ZoneId | | 生物/物体刷新出来时触发 |
SMART_EVENT_TARGET_HEALTH_PCT | 12 | HPMin% | HPMax% | RepeatMin | RepeatMax | 目标生命在参1-参2百分比之间时触发,参3-参4随机重复 |
SMART_EVENT_TARGET_CASTING | 13 | RepeatMin | RepeatMax | | | 目标正在施法时触发,参1-参2随机重复 |
SMART_EVENT_FRIENDLY_HEALTH | 14 | HPDeficit | Radius | RepeatMin | RepeatMax | 当友方生命赤字参1时触发,参2为寻找半径,参3-参4随机重复 |
SMART_EVENT_FRIENDLY_IS_CC | 15 | Radius | RepeatMin | RepeatMax | | |
SMART_EVENT_FRIENDLY_MISSING_BUFF | 16 | SpellId | Radius | RepeatMin | RepeatMax | 当友方失去参1指定的BUFF时触发,参2寻找半径,参3-参4随机重复 |
SMART_EVENT_SUMMONED_UNIT | 17 | CretureId (0 all) | CooldownMin | CooldownMax | | 当生物/物体召唤出生物单位时触发,参1生物ID,参2-参3冷却时间 |
SMART_EVENT_TARGET_MANA_PCT | 18 | ManaMin% | ManaMax% | RepeatMin | RepeatMax | 目标的魔法百分比,在参1-参2之间随机触发,参3-参4随机重复 |
SMART_EVENT_ACCEPTED_QUEST | 19 | QuestID (0 any) | | | | 当目标接受参1任务时触发 |
SMART_EVENT_REWARD_QUEST | 20 | QuestID (0 any) | | | | 当目标提交参1任务时触发 |
SMART_EVENT_REACHED_HOME | 21 | | | | | 生物返回出生点时触发 |
SMART_EVENT_RECEIVE_EMOTE | 22 | EmoteId | CooldownMin | CooldownMax | condition | 当生物收到参1动作触发,参2-参3冷却时间,参4为条件 |
SMART_EVENT_HAS_AURA | 23 | SpellID | Stacks | RepeatMin | RepeatMax | 生物有参1光环触发 |
SMART_EVENT_TARGET_BUFFED | 24 | SpellID | Stacks | RepeatMin | RepeatMax | 目标有参1光环触发 |
SMART_EVENT_RESET | 25 | | | | | 生物离开战斗,出生,刷新触发 |
SMART_EVENT_IC_LOS | 26 | NoHostile | MaxRange | CooldownMin | CooldownMax | 当生物战斗状态,参1目标(指定友方或者敌方)出现在参2范围内触发,参3-参4冷却时间 |
SMART_EVENT_PASSENGER_BOARDED | 27 | CooldownMin | CooldownMax | | | |
SMART_EVENT_PASSENGER_REMOVED | 28 | CooldownMin | CooldownMax | | | |
SMART_EVENT_CHARMED | 29 | | | | | On Creature Charmed |
SMART_EVENT_CHARMED_TARGET | 30 | | | | | On Target Charmed |
SMART_EVENT_SPELLHIT_TARGET | 31 | SpellId | School | RepeatMin | RepeatMax | On Target Spell Hit |
SMART_EVENT_DAMAGED | 32 | MinDmg | MaxDmg | RepeatMin | RepeatMax | 生物受到参1-参2伤害,参3-参4重复 |
SMART_EVENT_DAMAGED_TARGET | 33 | MinDmg | MaxDmg | RepeatMin | RepeatMax | 目标受到参1-参2伤害,参3-参4重复 |
SMART_EVENT_MOVEMENTINFORM | 34 | MovementType (any) | PointID | | | |
SMART_EVENT_SUMMON_DESPAWNED | 35 | Entry | CooldownMin | CooldownMax | | 当召唤的参1生物消失时触发 |
SMART_EVENT_CORPSE_REMOVED | 36 | | | | | 当尸体消失时触发 |
SMART_EVENT_AI_INIT | 37 | | | | | |
SMART_EVENT_DATA_SET | 38 | Field | Value | CooldownMin | CooldownMax | 当生物/物体参1字段数据被设置为参2数值时触发,由动作触发SMART_ACTION_SET_DATA |
SMART_EVENT_WAYPOINT_START | 39 | PointId (0 any) | pathId (0 any) | | | 当生物路径点参1开始时触发 |
SMART_EVENT_WAYPOINT_REACHED | 40 | PointId (0 any) | pathId (0 any) | | | 当生物路径点参1到达时触发 |
SMART_EVENT_TRANSPORT_ADDPLAYER | 41 | | | | | |
SMART_EVENT_TRANSPORT_ADDCREATURE | 42 | Entry (0 any) | | | | |
SMART_EVENT_TRANSPORT_REMOVE_PLAYER | 43 | | | | | |
SMART_EVENT_TRANSPORT_RELOCATE | 44 | PointId | | | | |
SMART_EVENT_INSTANCE_PLAYER_ENTER | 45 | Team (0 any) | CooldownMin | CooldownMax | | |
SMART_EVENT_AREATRIGGER_ONTRIGGER | 46 | TriggerId (0 any) | | | | |
SMART_EVENT_QUEST_ACCEPTED | 47 | | | | | On Target Quest Accepted |
SMART_EVENT_QUEST_OBJ_COPLETETION | 48 | | | | | On Target Quest Objective Completed |
SMART_EVENT_QUEST_COMPLETION | 49 | | | | | On Target Quest Completed |
SMART_EVENT_QUEST_REWARDED | 50 | | | | | On Target Quest Rewarded |
SMART_EVENT_QUEST_FAIL | 51 | | | | | On Target Quest Field |
SMART_EVENT_TEXT_OVER | 52 | GroupId (from creatue_text) | CreatureId (0 any) | | | SMART_ACTION_TALK动作结束时触发 |
SMART_EVENT_RECEIVE_HEAL | 53 | MinHeal | MaxHeal | CooldownMin | CooldownMax | 生物受到参1-参2治疗时触发 |
SMART_EVENT_JUST_SUMMONED | 54 | | | | | 生物刚刚刷新时触发 |
SMART_EVENT_WAYPOINT_PAUSED | 55 | PointId (0 any) | pathID (0 any) | | | 当生物在参1路径点暂停时触发 |
SMART_EVENT_WAYPOINT_RESUMED | 56 | PointId (0 any) | pathID (0 any) | | | 当生物在参1路径点继续时触发 |
SMART_EVENT_WAYPOINT_STOPPED | 57 | PointId (0 any) | pathID (0 any) | | | 当生物在参1路径点停止时触发 |
SMART_EVENT_WAYPOINT_ENDED | 58 | PointId (0 any) | pathID (0 any) | | | 当生物整个路径点结束时触发 |
SMART_EVENT_TIMED_EVENT_TRIGGERED | 59 | Id | | | | |
SMART_EVENT_UPDATE | 60 | InitialMin | InitialMax | RepeatMin | RepeatMax | |
SMART_EVENT_LINK | 61 | | | | | 内部使用,把多个事件联合起来 |
SMART_EVENT_GOSSIP_SELECT | 62 | menu_ID | ID | | | |
SMART_EVENT_JUST_CREATED | 63 | | | | | |
SMART_EVENT_GOSSIP_HELLO | 64 | | | | | |
SMART_EVENT_FOLLOW_COMPLETED | 65 | | | | | |
SMART_EVENT_DUMMY_EFFECT | 66 | spellId | effectIndex | | | |
SMART_EVENT_IS_BEHIND_TARGET | 67 | CooldownMin | CooldownMax | | | |
SMART_EVENT_GAME_EVENT_START | 68 | game_event.eventEntry | | | | |
SMART_EVENT_GAME_EVENT_END | 69 | game_event.eventEntry | | | | |
SMART_EVENT_GO_STATE_CHANGED | 70 | State (0 - Active, 1 - Ready, 2 - Active alternative) | | | | |
SMART_EVENT_GO_EVENT_INFORM | 71 | EventId | | | | |
SMART_EVENT_ACTION_DONE | 72 | EventId | | | | id=1001 点击技能, id=1002落到地面, id=1003 charge
|