当前位置:首页>>魔兽单机>>正文
技能触发设置spell_proc_event
2013-09-13 22:02:13 作者:wowaii 来源:网络 浏览次数:0

world库spell_proc_event主要是和技能触发有关

先说说我们平原里最常用的功能

\


打开来我们可以看到最后两列是CustomChance和Cooldown

光看单词,我们就可以猜到大致用处了

CustomChance 就是指技能的触发几率,例如:10表示10%的几率

Cooldown 就是技能触发的冷却时间,一般都是30秒或45秒,冷却CD过后才可再次触发

光这两列就很有用了,游戏里我们提高触发几率或减少冷却CD,都可以使任意一件装备或物品成为一件神器

其他的列我们一般很少用到,并且也比较复杂,所以这里不详细解说了

我们只把英文的解说发给大家,有兴趣的可以深入研究


schoolMask  控制某一类的法术才可触发

School ID
Bit
Name
0
1
物理
1
2
神圣
2
4
火焰
3
8
自然
4
16
冰霜
5
32
暗影
6
64
神秘


SpellFamilyName

This field controls what family name spells can proc the triggered spell.

ID
Family Name
0
Generic
3
Mage
4
Warrior
5
Warlock
6
Priest
7
Druid
8
Rogue
9
Hunter
10
Paladin
11
Shaman
13
Potion
15
Death Knight


SpellFamilyMask0
This field controls what spells' family flags can proc the triggered spell.

SpellFamilyMask1
field-no-description|5

SpellFamilyMask2
field-no-description|6

procFlags
A bitmask controlling what events trigger the spell. To combine possible events, add the proc bits together.

Event
Bit
Comment
PROC_FLAG_NONE
0x00000000
 
PROC_FLAG_KILLED
0x00000001
Killed by agressor
PROC_FLAG_KILL_AND_GET_XP
0x00000002
Kill that yields experience or honor
PROC_FLAG_SUCCESSFUL_MILEE_HIT
0x00000004
Successful melee attack
PROC_FLAG_TAKEN_MELEE_HIT
0x00000008
Taken damage from melee strike hit
PROC_FLAG_SUCCESSFUL_MELEE_SPELL_HIT
0x00000010
Successful attack by Spell that use melee weapon
PROC_FLAG_TAKEN_MELEE_SPELL_HIT
0x00000020
Taken damage by Spell that use melee weapon
PROC_FLAG_SUCCESSFUL_RANGED_HIT
0x00000040
Successful Ranged attack (all ranged attack deal as spell so newer set  )
PROC_FLAG_TAKEN_RANGED_HIT
0x00000080
Taken damage from ranged attack (all ranged attack deal as spell so newer set  )
PROC_FLAG_SUCCESSFUL_RANGED_SPELL_HIT
0x00000100
Successful Ranged attack by Spell that use ranged weapon
PROC_FLAG_TAKEN_RANGED_SPELL_HIT
0x00000200
Taken damage by Spell that use ranged weapon
PROC_FLAG_SUCCESSFUL_POSITIVE_AOE_HIT
0x00000400
Successful AoE (not 100% sure unused)
PROC_FLAG_TAKEN_POSITIVE_AOE
0x00000800
Taken AoE (not 100% sure unused)
PROC_FLAG_SUCCESSFUL_AOE_SPELL_HIT
0x00001000
Successful AoE damage spell hit (not 100% sure unused)
PROC_FLAG_TAKEN_AOE_SPELL_HIT
0x00002000
Taken AoE damage spell hit (not 100% sure unused)
PROC_FLAG_SUCCESSFUL_POSITIVE_SPELL
0x00004000
Successful cast positive spell (by default only on healing)
PROC_FLAG_TAKEN_POSITIVE_SPELL
0x00008000
Taken positive spell hit (by default only on healing)
PROC_FLAG_SUCCESSFUL_NEGATIVE_SPELL_HIT
0x00010000
Successful negative spell cast (by default only on damage)
PROC_FLAG_TAKEN_NEGATIVE_SPELL_HIT
0x00020000
Taken negative spell (by default only on damage)
PROC_FLAG_ON_DO_PERIODIC
0x00040000
Successful do periodic (damage / healing determined from 14-17 flags)
PROC_FLAG_ON_TAKE_PERIODIC
0x00080000
Taken spell periodic (damage / healing determined from 14-17 flags)
PROC_FLAG_TAKEN_ANY_DAMAGE
0x00100000
Taken any damage
PROC_FLAG_ON_TRAP_ACTIVATION
0x00200000
On trap activation
PROC_FLAG_TAKEN_OFFHAND_HIT
0x00400000
Taken off-hand melee attacks(not used)
PROC_FLAG_SUCCESSFUL_OFFHAND_HIT
0x00800000
Successful off-hand melee attacks
PROC_FLAG_DEATH
0x01000000
Died in any way


procEx

Name
Bit
Comment
PROC_EX_NONE
0x0000000
If none can tigger on Hit/Crit only (passive spells MUST defined by SpellFamily flag)
PROC_EX_NORMAL_HIT
0x0000001
If set only from normal hit (only damage spells)
PROC_EX_CRITICAL_HIT
0x0000002
 
PROC_EX_MISS
0x0000004
 
PROC_EX_RESIST
0x0000008
 
PROC_EX_DODGE
0x0000010
 
PROC_EX_PARRY
0x0000020
 
PROC_EX_BLOCK
0x0000040
 
PROC_EX_EVADE
0x0000080
 
PROC_EX_IMMUNE
0x0000100
 
PROC_EX_DEFLECT
0x0000200
 
PROC_EX_ABSORB
0x0000400
 
PROC_EX_REFLECT
0x0000800
 
PROC_EX_INTERRUPT
0x0001000
Melee hit result can be Interrupt (not used)
PROC_EX_FULL_BLOCK
0x0002000
Block all attack damage
PROC_EX_RESERVED2
0x0004000
 
PROC_EX_NOT_ACTIVE_SPELL
0x0008000
 
PROC_EX_EX_TRIGGER_ALWAYS
0x0010000
If set trigger always ( no matter another flags) used for drop charges
PROC_EX_EX_ONE_TIME_TRIGGER
0x0020000
If set trigger always but only one time
PROC_EX_ONLY_ACTIVE_SPELL
0x0040000
Spell has to do damage/heal to proc





相关报道:

[关闭] [返回顶部]


  返回首页 | 最新资讯 | 资源下载 | 魔兽图片 | 单机文档 | 技术攻略 | 玩家视频
备案号:蜀ICP备2024062380号-1
免责声明:本网站为热爱怀旧WOW的玩家们建立的魔兽世界资料网站,仅供交流和学习使用,非盈利和商用.如有侵权之处,请联系我们,我们会在24小时内确认删除侵权内容,谢谢合作。
Copyright © 2024 - 2024 WOWAII.COM Corporation, All Rights Reserved

机器人国度