Ascent数据库ai_agents表说明
ai_agents 表说明
本人英语太差不对的请纠正。
EntryId | AI_AGENT | procevent | procChance | procCount | spellId | spellType | spelltargetType | spellCooldown | floatmisc1 | misc2
EntryId------怪ID
AI_AGENT
1 = 混战,
2 = 范围(RANGED),
3 = 逃跑,
4 = 技能,
5 = 求救
ProcEvent
0 = 进入战斗,
1 = 脱离战斗,
2 = DAMAGETAKEN,
3 = 对NPC目标开始施法(TARGETCASTSPELL),
4 = 格挡目标(TARGETPARRYED),
5 = 闪躲目标(TARGETDODGED),
6 = TARGETBLOCKED,
7 = TARGETCRITHIT,
8 = 目标死亡(TARGETDIED),
9 = TARGETDIED,
10 = UNITPARRYED,
11 = UNITDODGED,
12 = UNITBLOCKED,
13 = UNITCRITHIT,
14 = UNITDIED,
15 = ASSISTTARGETDIED,
16 = FOLLOWOWNER
procChance
spellId---------技能ID
spellType------技能类型
1 = ROOT,
2 = 治愈,
3 = 晕眩,
4 = 恐惧,
5 = 沉默,
6 = 诅咒,
7 = AOEDAMAGE,
8 = DAMAGE,
9 = 召唤,
10 = BUFF,
11 = DEBUFF
spelltargetType----------定义目标(This just defines the target)
1 = 单一目标(SINGLETARGET),
2 = 目标(DESTINATION),
3 = 源头(SOURCE)
spellCooldown------Self explanitory
floatmisc1 | misc2
As for "floatMisc1" and "Misc2" are misc values which are used for a few spell types:
STYPE_HEAL
floatMisc1 defines the hp percentage at which it should cast that spell.
lets say you got 20% chance to cast a healing spell at
"DAMAGETAKEN".
with floatMisc1 is 0.40.
Creature has a 20% chance to cast that healing spell when damage taken and hp of it or one of its assistTargets is <= 40%