Advertisement
Guest User

MehruneRazorScript

a guest
Aug 4th, 2014
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Scriptname Req_MehrunesRazorScript extends activemagiceffect
  2.  
  3. Event OnEffectStart(Actor akTarget, Actor akCaster)
  4.  
  5. If Utility.RandomInt(0,100) <= 2 && AkTarget.GetActorValue("Health") > 750
  6.  
  7. AkTarget.DamageActorValue("Health", 750)
  8.  
  9. Endif
  10.  
  11. If Utility.RandomInt(0,100) <= 2 && AkTarget.GetActorValue("Health") <= 750
  12.  
  13. AkTarget.Kill(AkCaster)
  14.  
  15. Endif
  16.  
  17. EndEvent
  18.  
  19. //See http://imgur.com/ZmakfvL for picture evidence.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement