关灯
开启左侧

spell_proc_event技能触发设置

  [复制链接]
admin实名认证 发表于 2016-5-4 22:22:04 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
 
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



 

精彩评论1

倒序浏览
微信 发表于 2016-10-14 08:20:20 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 
VIP介绍
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 最佳新人

    注册账号后积极发帖的会员
  • 活跃会员

    经常参与各类话题的讨论,发帖内容较有主见
  • 热心会员

    经常帮助其他会员答疑
  • 推广达人

    积极宣传本站,为本站带来更多注册会员
  • 宣传达人

    积极宣传本站,为本站带来更多的用户访问量
  • 灌水之王

    经常在论坛发帖,且发帖量较大
  • 突出贡献

    长期对论坛的繁荣而不断努力,或多次提出建设性意见
  • 优秀版主

    活跃且尽责职守的版主
  • 荣誉管理

    曾经为论坛做出突出贡献目前已离职的版主
  • 论坛元老

    为论坛做出突出贡献的会员

0关注

5粉丝

3421帖子

排行榜
作者专栏

QQ交流群&&微信订阅号

QQ交流群

微信订阅号

吾爱尚玩资源基地永久域名:

Www.523Play.Com

在线管理员QQ:1589479632

邮箱:Email@523play.com

QQ交流群:558936238

Copyright   ©2015-2116  吾爱尚玩资源基地|523play.comPowered by©523Pplay.Com技术支持:吾爱尚玩资源基地