Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scn HematophageUDF
- ref rTarget
- begin Function
- rTarget = GetCrosshairRef
- if rTarget.getitemcount HematophageToken == 0
- if player.getav Endurance < 3
- Player.RestoreAv Health 15
- if Player.IsHardcore
- Player.RestoreAv Dehydration 65
- endif
- elseif player.getav Endurance < 6
- Player.RestoreAv Health 25
- if Player.IsHardcore
- Player.RestoreAv Dehydration 85
- endif
- elseif player.getav Endurance < 9
- Player.RestoreAv Health 35
- if Player.IsHardcore
- Player.RestoreAv Dehydration 105
- endif
- elseif player.getav Endurance > 8
- Player.RestoreAv Health 45
- if Player.IsHardcore
- Player.RestoreAv Dehydration 125
- endif
- endif
- rTarget.additem HematophageToken 1
- Player.DamageAv RadiationRads 18
- RewardKarma -50
- endif
- end
Advertisement
Add Comment
Please, Sign In to add comment