没有 这个词条是个没有效果的占位符。复制法术看论坛讲需要修改源码实现
https://uiwow.com/forum.php?mod=redirect&goto=findpost&ptid=16182&pid=592647
- class SpellAura_Copy : public UnitScript
- {
- public:
- SpellAura_Copy() : UnitScript("SpellAura_Copy") { }
-
- uint32 SpellAura_CopyID = 101056; //玩家拥有这个光环即可有10%几率复制上一个技能
-
- void OnDamage(Unit* attacker, Unit* victim, uint32& /*damage*/, SpellInfo const* spellProto)
- {
- if (attacker && victim && spellProto)
- {
- if (attacker->HasAura(101056) && roll_chance_i(10))
- {
- attacker->CastSpell(victim, spellProto->Id, false);
- }
- }
- }
- };
复制代码
|