Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. begin cstm_briarscript
  2.  
  3. short nolore
  4. short var
  5. short PC_win
  6. short NPC_agility
  7. short NPC_h2h
  8. short talk
  9. short once
  10. float temp
  11. float temp2
  12. float temp3
  13. short NPC_Disp
  14. short won
  15.  
  16. if ( NPC_agility < 0 )
  17. set NPC_agility to 0
  18. elseif ( NPC_agility > 100 )
  19. set NPC_agility to 100
  20. endif
  21.  
  22. set temp2 to ( GetAgility )
  23. set temp2 to ( NPC_agility - temp2 )
  24. ModAgility temp2
  25.  
  26. if ( NPC_h2h < 0 )
  27. set NPC_h2h to 0
  28. elseif ( NPC_h2h > 100 )
  29. set NPC_h2h to 100
  30. endif
  31.  
  32. set temp3 to ( GetHandToHand )
  33. set temp3 to ( NPC_h2h - temp3 )
  34. ModHandToHand temp3
  35.  
  36. if ( MenuMode == 1 )
  37. if ( NPC_Disp < 0 )
  38. set NPC_Disp to 0
  39. elseif ( NPC_Disp > 100 )
  40. set NPC_Disp to 100
  41. endif
  42. endif
  43.  
  44. set temp to ( GetDisposition )
  45. set temp to ( NPC_Disp - temp )
  46. ModDisposition temp
  47.  
  48. if ( GetFight != 30 )
  49. setfight 30
  50. endif
  51.  
  52. if ( MenuMode == 1 )
  53. return
  54. endif
  55.  
  56. if once = 0
  57. set var to 0
  58. set NPC_Disp to ( NPC_Disp + 40 )
  59. set NPC_h2h to ( NPC_h2h + 60 )
  60. set NPC_agility to ( NPC_agility + 60 )
  61. set once to 1
  62. endif
  63.  
  64. if var = 0
  65. return
  66. endif
  67.  
  68. if ( player->GetFatigue <= 0 )
  69. stopcombat
  70. forcegreeting
  71. endif
  72.  
  73. if ( GetHealth <= 199 )
  74. if ( GetFatigue < 10 )
  75. stopcombat
  76. setfatigue 500
  77. forcegreeting
  78. endif
  79. endif
  80.  
  81. if ( GetHealth <= 199 )
  82. if ( GetFatigue >= 10 )
  83. set var to 2
  84. stopcombat
  85. forcegreeting
  86. endif
  87. endif
  88.  
  89. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement