Advertisement
nakra

Untitled

Sep 18th, 2023
1,034
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.08 KB | None | 0 0
  1. function overwriteCheck()
  2.   accelerateTable = {}
  3.   accelerateTable =
  4.     {
  5.       "nausea",
  6.       "haemophilia",
  7.       "clumsiness",
  8.       "unweavingbody",
  9.       "unweavingmind",
  10.       "unweavingspirit",
  11.       "shadowmadness",
  12.       "depression",
  13.       "retribution",
  14.       "pyramides",
  15.       "sandfever",
  16.       "darkshade",
  17.     }
  18.   acclerateTableLock = {}
  19.   accelerateTableLock = {"asthma", "slickness", "impatience", "anorexia"}
  20.   accelCount = 0
  21.   accelCountLock = 0
  22.   for i, v in pairs(accelerateTable) do
  23.     if svo.affl[v] then
  24.       accelCount = accelCount + 1
  25.     end
  26.   end
  27.   for i, v in pairs(accelerateTableLock) do
  28.     if svo.affl[v] then
  29.       accelCountLock = accelCountLock + 1
  30.     end
  31.   end
  32.   if
  33.     (accelCountLock >= 3 or (accelCountLock >= 2 and accelCount >= 2)) and
  34.     not svo.affl.paralysis and
  35.     not svo.affl.recklessness and
  36.     canAccel == true
  37.   then
  38.     dwOver = true
  39.     if not svo.affl.prone then
  40.       overwriteBal = "chrono accelerate boost"
  41.     elseif svo.affl.prone then
  42.       overwriteBal = "chrono acclerate"
  43.     end
  44.   end
  45. end
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement