土鳖小屋

 找回密码
 请使用中文注册

大衮剃刀的即死原理

[复制链接]
弗罗多 发表于 2015-7-9 20:45 | 显示全部楼层 |阅读模式
既死原理就是这个
ScriptName DA07MehrunesRazorMagicEffectScript extends ActiveMagicEffect
Faction Property pDA07MehrunesRazorImmuneFaction autoWeapon Property DA07MehrunesRazor Auto
Event OnEffectStart(Actor akTarget, Actor akCaster)
;Apply this effect if the target is not in the excluded faction        If akTarget.IsInFaction(pDA07MehrunesRazorImmuneFaction) == 1        Return        Else        ;1 percent chance to kill target; debug.trace(self + " hitting " + akTarget + " with Mehrunes' Razor")        If (Utility.RandomInt() <= 1); debug.trace(self + "Instant Kill effect applied on" + akTarget)        If Game.GetPlayer().GetItemCount(DA07MehrunesRazor) >= 1 akTarget.Kill(Game.GetPlayer())        Else        akTarget.Kill()        EndIf        EndIf        EndIf
EndEvent
    您需要登录后才可以回帖 登录 | 请使用中文注册

    本版积分规则

    小黑屋|手机版|土鳖小屋 ( 蜀ICP备2022018145号 )

    GMT+8, 2024-3-28 16:37

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表