Advertisement
Guest User

barrowMagus.lua

a guest
Sep 26th, 2022
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. local config = require('mer.characterBackgrounds.config')
  2. local function getData()
  3. local data = tes3.player.data.merBackgrounds or {}
  4. return data
  5. end
  6.  
  7. return {
  8. id = "barrowMagus",
  9. name = "Barrow-Magus",
  10. description = (
  11. "Whilst most nords spent their days hacking through their enemies with an axe, " ..
  12. "you spent most of them in Skyrim's barrows. Not as an archaelogist of course; " ..
  13. "you have dedicated your life to studying necromancy. You have become far more " ..
  14. "intelligent than your peers (+20 to intelligence, +30 to conjuration), though " ..
  15. "as you've learned in your studies: All power demands sacrifice. Due to your " ..
  16. "studies, your capabilities as a warrior are lacking (-10 to strength and " ..
  17. "endurance, -10 to axe and medium armour, -5 to long blade and spear), not " ..
  18. "that you care of course." ..
  19. "\n\nRequirements: Nords only."
  20. ),
  21.  
  22. checkDisabled = function()
  23. local race = tes3.player.object.race.id
  24. return race ~= "Nord"
  25. end,
  26.  
  27. doOnce = function()
  28. tes3.modStatistic({
  29. reference = tes3.player,
  30. attribute = tes3.attribute.intelligence,
  31. value = 20
  32. })
  33. tes3.modStatistic({
  34. reference = tes3.player,
  35. skill = tes3.skill.conjuration,
  36. value = 30
  37. })
  38.  
  39. tes3.modStatistic({
  40. reference = tes3.player,
  41. attribute = tes3.attribute.strength,
  42. value = -10
  43. })
  44. tes3.modStatistic({
  45. reference = tes3.player,
  46. attribute = tes3.attribute.endurance,
  47. value = -10
  48. })
  49. tes3.modStatistic({
  50. reference = tes3.player,
  51. skill = tes3.skill.mediumArmor,
  52. value = -10
  53. })
  54. tes3.modStatistic({
  55. reference = tes3.player,
  56. attribute = tes3.skill.axe,
  57. value = -10
  58. })
  59. tes3.modStatistic({
  60. reference = tes3.player,
  61. attribute = tes3.skill.longBlade,
  62. value = -5
  63. })
  64. tes3.modStatistic({
  65. reference = tes3.player,
  66. attribute = tes3.skill.spear,
  67. value = -5
  68. })
  69. end
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement