当前位置: 首页>>代码示例>>C++>>正文


C++ SpellEffectFn函数代码示例

本文整理汇总了C++中SpellEffectFn函数的典型用法代码示例。如果您正苦于以下问题:C++ SpellEffectFn函数的具体用法?C++ SpellEffectFn怎么用?C++ SpellEffectFn使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了SpellEffectFn函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: Register

 void Register()
 {
     OnEffect += SpellEffectFn(spell_lord_marrowgar_bone_storm_SpellScript::onEffect, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
 }
开发者ID:ice74,项目名称:blizzwow,代码行数:4,代码来源:boss_lord_marrowgar.cpp

示例2: Register

 void Register()
 {
     OnEffect += SpellEffectFn(spell_gen_divine_storm_cd_reset_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
 }
开发者ID:Dragonspower,项目名称:DragonFire,代码行数:4,代码来源:spell_generic.cpp

示例3: Register

 void Register()
 {
     OnEffectHitTarget += SpellEffectFn(spell_astromancer_wrath_of_the_astromancer_SpellScript::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
     OnUnitTargetSelect += SpellUnitTargetFn(spell_astromancer_wrath_of_the_astromancer_SpellScript::CountTargets, EFFECT_0, TARGET_DEST_CASTER_RADIUS);
 }
开发者ID:ArbacalTrinty,项目名称:TrinityCore,代码行数:5,代码来源:boss_astromancer.cpp

示例4: Register

 void Register() override
 {
     OnEffectHitTarget += SpellEffectFn(spell_warr_vigilance_trigger_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
 }
开发者ID:Allysia1,项目名称:TrinityCore,代码行数:4,代码来源:spell_warrior.cpp

示例5: Register

			void Register()
			{
				OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_entropius_negative_energy_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
				OnEffectHitTarget += SpellEffectFn(spell_entropius_negative_energy_SpellScript::HandleScriptEffect, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
			}
开发者ID:AlexHjelm,项目名称:sunwell,代码行数:5,代码来源:boss_muru.cpp

示例6: Register

 void Register() override
 {
     OnEffectHitTarget += SpellEffectFn(spell_illidari_council_empyreal_equivalency_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
 }
开发者ID:090809,项目名称:TrinityCore,代码行数:4,代码来源:boss_illidari_council.cpp

示例7: Register

 void Register()
 {
     OnEffectHit += SpellEffectFn(spell_rotface_unstable_ooze_explosion_SpellScript::CheckTarget, EFFECT_0, SPELL_EFFECT_TRIGGER_MISSILE);
 }
开发者ID:Anonymus123,项目名称:AtomicCore-3.3.5a,代码行数:4,代码来源:boss_rotface.cpp

示例8: Register

 void Register() override
 {
     OnEffectHitTarget += SpellEffectFn(spell_heigan_eruption_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
 }
开发者ID:AllThing,项目名称:TrinityCore,代码行数:4,代码来源:boss_heigan.cpp

示例9: Register

 void Register() override
 {
     OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_mark_of_nature_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
     OnEffectHitTarget += SpellEffectFn(spell_mark_of_nature_SpellScript::HandleEffect, EFFECT_0, SPELL_EFFECT_APPLY_AURA);
 }
开发者ID:Archarean,项目名称:TrinityCore,代码行数:5,代码来源:boss_emerald_dragons.cpp

示例10: Register

 void Register() override
 {
     OnEffectHitTarget += SpellEffectFn(spell_archimonde_drain_world_tree_dummy_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
 }
开发者ID:Abrek,项目名称:My-WoDCore-6.x.x,代码行数:4,代码来源:boss_archimonde.cpp


注:本文中的SpellEffectFn函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。