GraceCB

Untitled

Nov 12th, 2021
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. scn HematophageUDF
  2.  
  3. ref rTarget
  4.  
  5. begin Function
  6.  
  7. rTarget = GetCrosshairRef
  8. if rTarget.getitemcount HematophageToken == 0
  9. if player.getav Endurance < 3
  10. Player.RestoreAv Health 15
  11. if Player.IsHardcore
  12. Player.RestoreAv Dehydration 65
  13. endif
  14. elseif player.getav Endurance < 6
  15. Player.RestoreAv Health 25
  16. if Player.IsHardcore
  17. Player.RestoreAv Dehydration 85
  18. endif
  19. elseif player.getav Endurance < 9
  20. Player.RestoreAv Health 35
  21. if Player.IsHardcore
  22. Player.RestoreAv Dehydration 105
  23. endif
  24. elseif player.getav Endurance > 8
  25. Player.RestoreAv Health 45
  26. if Player.IsHardcore
  27. Player.RestoreAv Dehydration 125
  28. endif
  29. endif
  30. rTarget.additem HematophageToken 1
  31.  
  32. Player.DamageAv RadiationRads 18
  33. RewardKarma -50
  34. endif
  35. end
Advertisement
Add Comment
Please, Sign In to add comment