Vlue

Weapon/Armor Randomization Template

Feb 10th, 2014
190
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Weapon/Armor Randomization v1.8
  2. #----------#
  3. #Features: Allow the stats of an item to be randomized, yay! Also can tack
  4. #           on random prefixes and suffixes. Oooh, fancy.
  5. #
  6. #Usage:    Basic Usage:
  7. #
  8. #           Note tags for weapons and armors:
  9. #
  10. #            <HP amount>  <HP% amount>  <ATK amount>  <ATK% amount>
  11. #            <MP amount>  <MP% amount>  <DEF amount>  <DEF% amount>
  12. #          <MAT amount>  <MAT% amount>  <MDF amount>  <MDF% amount>
  13. #          <AGI amount>  <AGI% amount>  <LUK amount>  <LUK% amount>
  14. #          <PRICE amount> <PRICE% amount>
  15. #
  16. #           Where amount is the amount to be randomly added on, with % being
  17. #             a percentage instead of specific.
  18. #           Examples: <HP 500>  or  <HP% 10>
  19. #
  20. #           Script calls:
  21. #            add_armor(base_id, amount)
  22. #            add_weapon(base_id, amount)
  23. #          
  24. #           These script calls create a new version of the item of the base_id
  25. #            number, with randomized stats as set in their note.
  26. #
  27. #          Advanced Usage:
  28. #          
  29. #           Note tags for weapons and armors:
  30. #
  31. #            <SUFFIX# rarity>    <PREFIX# rarity>
  32. #
  33. #           Where # is the id number of the affix and rarity is the chance of it
  34. #            occuring with 100 always occuring and 1 almost never occuring.
  35. #            Multiple affix notes can be added and the first one that passes it's
  36. #            rarity chance will be added.
  37. #           Examples: <PREFIX1 50>  or  <SUFFIX2 90>
  38. #
  39. #          The Complicated Part: (Affixes)
  40. #           See that AFFIXES hash down there? That's where you set these up.
  41. #           Basic setup is:
  42. #             ID => { :symbol => data, },
  43. #           You can have as many different symbols in there as you want, each
  44. #            seperated by a comma, and don't forget the comma between each AFFIX
  45. #            id.
  46. #
  47. #           Usable Symbols:
  48. #          :name = "name"               :color = Color.new(r,g,b)
  49. #          :nameP = "prefix name"       :nameS = "suffix name"
  50. #          :rarity = value              #Arbitrary value
  51. #          :animation = id      
  52. #          :icon = id
  53. #          :desc = "description"
  54. #
  55. #   :hp,   :mp,   :atk,   :def,   :mat,   :mdf,   :agi,   :luk    (random bonus)
  56. #   :Shp,  :Smp,  :Satk,  :Sdef,  :Smat,  :Smdf,  :Sagi,  :Sluk   (static bonus)
  57. #   :hpP,  :mpP,  :atkP,  :defP,  :matP,  :mdfP,  :agiP,  :lukP   (random % bonus)
  58. #   :ShpP, :SmpP, :SatkP, :SdefP, :SmatP, :SmdfP, :SagiP, :SlukP  (static % bonus)
  59. #   :hpA,  :mpA,  :atkA,  :defA,  :matA,  :mdfA,  :agiA,  :lukA   (random average bonus)
  60. #   :ShpA, :SmpA, :SatkA, :SdefA, :SmatA, :SmdfA, :SagiA, :SlukA  (static average bonus)
  61. #
  62. #
  63. #   :price, :Sprice, :priceP, :SpriceP
  64. #
  65. #       each of these goes :symbol = value
  66. #
  67. #          The fun part, :features
  68. #           You can have as many features as you want, set up in an array:
  69. #           :features = [[code, id, value],[code, id, value]] etc...
  70. #          But what are the codes, ids, and values?? Don't worry, I found out:
  71. #
  72. #           Element Rate   = 11, element_id, float value
  73. #           Debuff Rate    = 12, param_id, float value
  74. #           State Rate     = 13, state_id, float value
  75. #           State Resist   = 14, state_id, 0
  76. #
  77. #           Parameter      = 21, param_id, float value
  78. #           Ex-Parameter   = 22, exparam_id, float value
  79. #           Sp-Parameter   = 23, spparam_id, float value
  80. #
  81. #           Atk Element    = 31, element_id, 0
  82. #           Atk State      = 32, state_id, float value
  83. #           Atk Speed      = 33, 0, value
  84. #           Atk Times+     = 34, 0, value
  85. #
  86. #           Add Skill Type = 41, skill_type, 0
  87. #          Seal Skill Type = 42, skill_type, 0
  88. #           Add Skill      = 43, skill_id, 0
  89. #           Seal Skill     = 44, skill_id, 0
  90. #
  91. #           Equip Weapon   = 51, weapon_skill, 0
  92. #           Equip Armor    = 52, armor_skill, 0
  93. #           Fix Equip      = 53, item_type, 0
  94. #           Seal Equip     = 54, item_type, 0
  95. #           Slot Type      = 55, 1, 0
  96. #
  97. #           Action Times+  = 61, 0, value
  98. #           Special Flag   = 62, flag_id, 0
  99. #          Collapse Effect = 62, flag_id, 0
  100. #           Party Ability  = 63, flag_id, 0
  101. #
  102. #     float value = percentage value where 1 = 100%, 0.75 = 75%, and 1.25 = 125%
  103. #     param_id, 0=hp, 1=mp, 2=atk, 3=def, 4=mat, 5=mdf, 6=agi, 7=luk
  104. #
  105. #     Examples: [21, 2, 1.5] which would increase atk to 150%
  106. #               [62, 0, 0]   which makes the item give the auto-battle flag
  107. #               [32, 1, 0.5] which gives a 50% of applying death state
  108. #
  109. #----------#
  110. #-- Script by: Vlue of Daimonious Tails
  111. #
  112. #- Questions or comments can be:
  113. #    posted on the thread for the script
  114. #    given by email: sumptuaryspade@live.ca
  115. #    provided on facebook: http://www.facebook.com/DaimoniousTailsGames
  116. #
  117. #--- Free to use in any project, commercial or non-commercial, with credit given
  118. # - - Though a donation's always a nice way to say thank you~ (I also accept actual thank you's)
  119.  
  120. AFFIXES = {
  121.             #COLORS
  122.             0 => { },
  123.             1 => { :name => "Superior ", :color => Color.new(50,255,0),
  124.             :ShpP => 25, :SmpP => 25, :SatkP => 25, :SdefP => 25,
  125.             :SmatP => 25, :SmdfP => 25, :SagiP => 25, :SlukP => 25}, #UNCOMMON
  126.             2 => { :name => "Rare ", :color => Color.new(50,100,235),
  127.             :ShpP => 45, :SmpP => 45, :SatkP => 45, :SdefP => 45,
  128.             :SmatP => 45, :SmdfP => 45, :SagiP => 45, :SlukP => 45}, #RARE
  129.             3 => { :name => "Epic ", :color => Color.new(255,25,255),
  130.             :ShpP => 70, :SmpP => 70, :SatkP => 70, :SdefP => 70,
  131.             :SmatP => 70, :SmdfP => 70, :SagiP => 70, :SlukP => 70}, #EPIC
  132.             4 => { :name => "Legendary ", :color => Color.new(255,175,75),
  133.             :ShpP => 95, :SmpP => 95, :SatkP => 95, :SdefP => 95,
  134.             :SmatP => 95, :SmdfP => 95, :SagiP => 95, :SlukP => 95}, #LEGENDARY
  135.            
  136.             5 => { },
  137.             6 => { :name => " +1",
  138.             :ShpP => 10, :SmpP => 10, :SatkP => 10, :SdefP => 10,
  139.             :SmatP => 10, :SmdfP => 10, :SagiP => 10, :SlukP => 10},
  140.             7 => { :name => " +2",
  141.             :ShpP => 25, :SmpP => 25, :SatkP => 25, :SdefP => 25,
  142.             :SmatP => 25, :SmdfP => 25, :SagiP => 25, :SlukP => 25},
  143.             8 => { :name => " +3",
  144.             :ShpP => 40, :SmpP => 40, :SatkP => 40, :SdefP => 40,
  145.             :SmatP => 40, :SmdfP => 40, :SagiP => 40, :SlukP => 40},
  146.            
  147.             #ATK+
  148.             10 => { :nameP => "Attacker's ", :nameS => " of Attack", :SatkA => 1},
  149.             11 => { :nameP => "Strong ", :nameS => " of Strength", :SatkA => 1.5},
  150.             12 => { :nameP => "Powerful ", :nameS => " of Power", :SatkA => 2},
  151.             13 => { :nameP => "Violent ", :nameS => " of Violence", :SatkA => 2.5},
  152.             14 => { :nameP => "Striking ", :nameS => " of Striking", :SatkA => 3},
  153.            
  154.             #DEF+
  155.             15 => { :nameP => "Defensive ", :nameS => " of Defense", :SdefA => 1},
  156.             16 => { :nameP => "Armored ", :nameS => " of Armor", :SdefA => 1.5},
  157.             17 => { :nameP => "Barricaded ", :nameS => " of the Barricade", :SdefA => 2},
  158.             18 => { :nameP => "Aegis ", :nameS => " of the Aegis", :SdefA => 2.5},
  159.             19 => { :nameP => "Iron Hide ", :nameS => " of Iron Hide", :SdefA => 3},
  160.            
  161.             #INT+
  162.             20 => { :nameP => "Smart ", :nameS => " of Smarts", :SmatA => 1},
  163.             21 => { :nameP => "Intelligent ", :nameS => " of Intelligence", :SmatA => 1.5},
  164.             22 => { :nameP => "Astute ", :nameS => " of Astuteness", :SmatA => 2},
  165.             23 => { :nameP => "Brilliant ", :nameS => " of Brilliance", :SmatA => 2.5},
  166.             24 => { :nameP => "Keen ", :nameS => " of Genius", :SmatA => 3},
  167.            
  168.             #MDF+
  169.             25 => { :nameP => "Wise ", :nameS => " of Wisdom", :SmdfA => 1},
  170.             26 => { :nameP => "Insightful ", :nameS => " of Foresight", :SmdfA => 1.5},
  171.             27 => { :nameP => "Sage ", :nameS => " of the Sage", :SmdfA => 2},
  172.             28 => { :nameP => "Warded ", :nameS => " of Warding", :SmdfA => 2.5},
  173.             29 => { :nameP => "Prudent ", :nameS => " of Prudence", :SmdfA => 3},
  174.            
  175.             #AGI+
  176.             30 => { :nameP => "Agile ", :nameS => " of Agility", :SagiA => 1},
  177.             31 => { :nameP => "Dextrous ", :nameS => " of Dexterity", :SagiA => 1.5},
  178.             32 => { :nameP => "Swift ", :nameS => " of Swiftness", :SagiA => 2},
  179.             33 => { :nameP => "Speedy ", :nameS => " of Speed", :SagiA => 2.5},
  180.             34 => { :nameP => "Fleet ", :nameS => " of Fleetness", :SagiA => 3},
  181.            
  182.             #LUK+
  183.             35 => { :nameP => "Lucky ", :nameS => " of Luck", :SlukA => 1},
  184.             36 => { :nameP => "Blessed ", :nameS => " of Blessings", :SlukA => 1.5},
  185.             37 => { :nameP => "Karmic ", :nameS => " of Karma", :SlukA => 2},
  186.             38 => { :nameP => "Dicey ", :nameS => " of the Dice", :SlukA => 2.5},
  187.             39 => { :nameP => "Gambler's ", :nameS => " of Gambling", :SlukA => 3},
  188.            
  189.             #HP+
  190.             40 => { :nameP => "Healthy ", :nameS => " of Health", :ShpA => 2},
  191.             41 => { :nameP => "Hardy ", :nameS => " of Hardiness", :ShpA => 3},
  192.             42 => { :nameP => "Robust ", :nameS => " of Robustness", :ShpA => 4},
  193.             43 => { :nameP => "Stamina ", :nameS => " of Stamina", :ShpA => 5},
  194.             44 => { :nameP => "Vigorous ", :nameS => " of Vigour", :ShpA => 6},
  195.            
  196.             #MP+
  197.             45 => { :nameP => "Manawise ", :nameS => " of Mana", :SmpA => 2},
  198.             46 => { :nameP => "Magical ", :nameS => " of Magic", :SmpA => 3},
  199.             47 => { :nameP => "Soulful ", :nameS => " of the Soul", :SmpA => 4},
  200.             48 => { :nameP => "Energized ", :nameS => " of Energy", :SmpA => 5},
  201.             49 => { :nameP => "Azure ", :nameS => " of the Azure", :SmpA => 6},
  202.            
  203.             #ATK/DEF+
  204.             50 => { :nameP => "Fighter's ", :nameS => " of the Fighter",
  205.                     :SatkA => 1,   :SdefA => 1},
  206.             51 => { :nameP => "Soldier's ", :nameS => " of the Soldier",
  207.                     :SatkA => 1.25,:SdefA => 1.25},
  208.             52 => { :nameP => "Strongman's ", :nameS => " of the Strong",
  209.                     :SatkA => 1.5, :SdefA => 1.5},
  210.             53 => { :nameP => "Basher's ", :nameS => " of Bashing",
  211.                     :SatkA => 1.75,:SdefA => 1.75},
  212.             54 => { :nameP => "Clawed ", :nameS => " of the Claw",
  213.                     :SatkA => 2,   :SdefA => 2},
  214.            
  215.             #INT/MDF+
  216.             55 => { :nameP => "Magician's ", :nameS => " of the Magician",
  217.                     :SmatA => 1,   :SmdfA => 1},
  218.             56 => { :nameP => "Wizard's ", :nameS => " of the Wizard",
  219.                     :SmatA => 1.25,:SmdfA => 1.25},
  220.             57 => { :nameP => "Casters ", :nameS => " of Casting",
  221.                     :SmatA => 1.5, :SmdfA => 1.5},
  222.             58 => { :nameP => "Warlock's ", :nameS => " of the Warlock",
  223.                     :SmatA => 1.75,:SmdfA => 1.75},
  224.             59 => { :nameP => "Archmage's ", :nameS => " of the Arch Mage",
  225.                     :SmatA => 2,   :SmdfA => 2},
  226.            
  227.             #ATK/INT+
  228.             60 => { :nameP => "The Jack's ", :nameS => " of the Jack",
  229.                     :SmatA => 1,   :SatkA => 1},
  230.             61 => { :nameP => "Spellblade's ", :nameS => " of the Spellblade",
  231.                     :SmatA => 1.25,:SatkA => 1.25},
  232.             62 => { :nameP => "Charged ", :nameS => " of Charging",
  233.                     :SmatA => 1.5, :SatkA => 1.5},
  234.             63 => { :nameP => "The Owl ", :nameS => " of the Wise Owl",
  235.                     :SmatA => 1.75,:SatkA => 1.75},
  236.             64 => { :nameP => "Artenzed ", :nameS => " of the Artenzer",
  237.                     :SmatA => 2,   :SatkA => 2},
  238.            
  239.             #DEF/MDF+
  240.             65 => { :nameP => "The Walled ", :nameS => " of the Wall",
  241.                     :SdefA => 1,   :SmdfA => 1},
  242.             66 => { :nameP => "Knight's ", :nameS => " of the Knight",
  243.                     :SdefA => 1.25,:SmdfA => 1.25},
  244.             67 => { :nameP => "Gladiator's ", :nameS => " of the Gladiator",
  245.                     :SdefA => 1.5, :SmdfA => 1.5},
  246.             68 => { :nameP => "Boar's Head ", :nameS => " of the Boar",
  247.                     :SdefA => 1.75,:SmdfA => 1.75},
  248.             69 => { :nameP => "Bear Hide ", :nameS => " of the Bear",
  249.                     :SdefA => 2,   :SmdfA => 2},
  250.            
  251.             #AGI/LUK+
  252.             70 => { :nameP => "The Hunter ", :nameS => " of the Hunter",
  253.                     :SagiA => 1,   :SlukA => 1},
  254.             71 => { :nameP => "The Ranger ", :nameS => " of the Ranger",
  255.                     :SagiA => 1.25,:SlukA => 1.25},
  256.             72 => { :nameP => "Swift Luck ", :nameS => " of Swift Luck",
  257.                     :SagiA => 1.5, :SlukA => 1.5},
  258.             73 => { :nameP => "Snake Skin ", :nameS => " of the Snake",
  259.                     :SagiA => 1.75,:SlukA => 1.75},
  260.             74 => { :nameP => "Dakarai ", :nameS => " of the Dakara",
  261.                     :SagiA => 2,   :SlukA => 2},
  262.            
  263.             #ATK/AGI
  264.             75 => { :nameP => "Swift Strike ", :nameS => " of the Swift Strike",
  265.                     :SatkA => 1,   :SagiA => 1},
  266.             76 => { :nameP => "Rougish ", :nameS => " of the Rogue",
  267.                     :SatkA => 1.25,:SagiA => 1.25},
  268.             77 => { :nameP => "Brawler's ", :nameS => " of the Brawler",
  269.                     :SatkA => 1.5, :SagiA => 1.5},
  270.             78 => { :nameP => "The Thief ", :nameS => " of the Thief",
  271.                     :SatkA => 1.75,:SagiA => 1.75},
  272.             79 => { :nameP => "Nova's ", :nameS => " of Nova",
  273.                     :SatkA => 2,   :SagiA => 2},
  274.            
  275.             #INT/AGI+
  276.             80 => { :nameP => "Wingtipped ", :nameS => " of the Wingtips",
  277.                     :SmatA => 1,   :SagiA => 1},
  278.             81 => { :nameP => "Nightblade ", :nameS => " of the Nightblade",
  279.                     :SmatA => 1.25,:SagiA => 1.25},
  280.             82 => { :nameP => "Swift Mind ", :nameS => " of the Swift Mind",
  281.                     :SmatA => 1.5, :SagiA => 1.5},
  282.             83 => { :nameP => "Stalker ", :nameS => " of the Stalker",
  283.                     :SmatA => 1.75,:SagiA => 1.75},
  284.             84 => { :nameP => "Delima's ", :nameS => " of Delima",
  285.                     :SmatA => 2,   :SagiA => 2},
  286.            
  287.             #HP/DEF+
  288.             85 => { :nameP => "Lancer's ", :nameS => " of the Lancer",
  289.                     :ShpA => 2,  :SdefA => 1},
  290.             86 => { :nameP => "Commando ", :nameS => " of the Commando",
  291.                     :ShpA => 2.5,:SdefA => 1.25},
  292.             87 => { :nameP => "Defender's ", :nameS => " of the Defender",
  293.                     :ShpA => 3,  :SdefA => 1.5},
  294.             88 => { :nameP => "Dragoon's ", :nameS => " of the Dragoon",
  295.                     :ShpA => 3.5,:SdefA => 1.75},
  296.             89 => { :nameP => "Twisted ", :nameS => " of the Twisted",
  297.                     :ShpA => 4,  :SdefA => 2},
  298.            
  299.             #MP/MDF+
  300.             90 => { :nameP => "Abjurer's ", :nameS => " of the Abjurer",
  301.                     :SmpA => 2,  :SmdfA => 1},
  302.             91 => { :nameP => "Manazized ", :nameS => " of Manazize",
  303.                     :SmpA => 2.5,:SmdfA => 1.25},
  304.             92 => { :nameP => "Bishop's ", :nameS => " of the Bishop",
  305.                     :SmpA => 3,  :SmdfA => 1.5},
  306.             93 => { :nameP => "Illusionary  ", :nameS => " of Illusions",
  307.                     :SmpA => 3.5,:SmdfA => 1.75},
  308.             94 => { :nameP => "Conjuring ", :nameS => " of Conjury",
  309.                     :SmpA => 4,  :SmdfA => 2},
  310.            
  311.             #HP/MP+
  312.             95 => { :nameP => "Redoubt ", :nameS => " of Redoubt",
  313.                     :ShpA => 2,  :SmpA => 2},
  314.             96 => { :nameP => "Vigourful ", :nameS => " of Great Vigour",
  315.                     :ShpA => 2.5,:SmpA => 2.5},
  316.             97 => { :nameP => "Ancient ", :nameS => " of the Ancients",
  317.                     :ShpA => 3,  :SmpA => 3},
  318.             98 => { :nameP => "Elderly ", :nameS => " of the Elder",
  319.                     :ShpA => 3.5,:SmpA => 3.5},
  320.             99 => { :nameP => "Soulless ", :nameS => " of the Soulless",
  321.                     :ShpA => 4,  :SmpA => 4},
  322.            
  323.             #ATK+ INT-
  324.             100 => { :nameP => "Bitter ", :nameS => " of Bitterment",
  325.                      :SatkA => 2,  :SmatA => -1},
  326.             101 => { :nameP => "Fury ", :nameS => " of Fury",
  327.                      :SatkA => 2.5,:SmatA => -1.25},
  328.             102 => { :nameP => "Resenting ", :nameS => " of the Resentful",
  329.                      :SatkA => 3,  :SmatA => -1.5},
  330.             103 => { :nameP => "Furious ", :nameS => " of the Furious",
  331.                      :SatkA => 3.5,:SmatA => -1.75},
  332.             104 => { :nameP => "Destroyer's ", :nameS => " of the Destroyer",
  333.                      :SatkA => 4,  :SmatA => -2},
  334.            
  335.             #ATK+ DEF-
  336.             105 => { :nameP => "Reckless ", :nameS => " of the Reckless",
  337.                      :SatkA => 2,  :SdefA => -1},
  338.             106 => { :nameP => "Ragged ", :nameS => " of the Ragged",
  339.                      :SatkA => 2.5,:SdefA => -1.25},
  340.             107 => { :nameP => "Edged ", :nameS => " of the Double Edge",
  341.                      :SatkA => 3,  :SdefA => -1.5},
  342.             108 => { :nameP => "Sharpened ", :nameS => " of Sharpness",
  343.                      :SatkA => 3.5,:SdefA => -1.75},
  344.             109 => { :nameP => "Wrecking ", :nameS => " of Wrecking",
  345.                      :SatkA => 4,  :SdefA => -2},
  346.            
  347.             #ATK+ AGI-
  348.             110 => { :nameP => "Sloth ", :nameS => "of the Sloth",
  349.                      :SatkA => 2,  :SagiA => -1},
  350.             111 => { :nameP => "Congealed ", :nameS => " of Congealing",
  351.                      :SatkA => 2.5,:SagiA => -1.25},
  352.             112 => { :nameP => "Heavy ", :nameS => " with Weight",
  353.                      :SatkA => 3,  :SagiA => -1.5},
  354.             113 => { :nameP => "Hard Iron ", :nameS => " of Hard Iron",
  355.                      :SatkA => 3.5,:SagiA => -1.75},
  356.             114 => { :nameP => "Adamntite ", :nameS => " of Adamantium",
  357.                      :SatkA => 4,  :SagiA => -2},
  358.            
  359.             #DEF+ ATK-
  360.             115 => { :nameP => "Brass ", :nameS => " of Brass",
  361.                      :SdefA => 2,  :SatkA => -1},
  362.             116 => { :nameP => "Blocking ", :nameS => " of Blocking",
  363.                      :SdefA => 2.5,:SatkA => -1.25},
  364.             117 => { :nameP => "Parrying ", :nameS => " of Parrying",
  365.                      :SdefA => 3,  :SatkA => -1.5},
  366.             118 => { :nameP => "Tactful ", :nameS => " of Tactics",
  367.                      :SdefA => 3.5,:SatkA => -1.75},
  368.             119 => { :nameP => "Iron Bark ", :nameS => " of Iron Bark",
  369.                      :SdefA => 4,  :SatkA => -2},
  370.            
  371.             #DEF+ AGI-
  372.             120 => { :nameP => "Turtle Shell ", :nameS => " of the Turtle",
  373.                      :SdefA => 2,  :SagiA => -1},
  374.             121 => { :nameP => "Yew ", :nameS => " of Yew Bark",
  375.                      :SdefA => 2.5,:SagiA => -1.25},
  376.             122 => { :nameP => "Familiar ", :nameS => " of the Familiar",
  377.                      :SdefA => 3,  :SagiA => -1.5},
  378.             123 => { :nameP => "Striped ", :nameS => " of the Stripped",
  379.                      :SdefA => 3.5,:SagiA => -1.75},
  380.             124 => { :nameP => "Charred ", :nameS => " of the Charred",
  381.                      :SdefA => 4,  :SagiA => -2},
  382.            
  383.             #INT+ ATK-
  384.             125 => { :nameP => "Scholar's ", :nameS => " of the Scholar",
  385.                      :SmatA => 2,  :SatkA => -1},
  386.             126 => { :nameP => "Learned ", :nameS => " of Learning",
  387.                      :SmatA => 2.5,:SatkA => -1.25},
  388.             127 => { :nameP => "Witty ", :nameS => " of Wit",
  389.                      :SmatA => 3,  :SatkA => -1.5},
  390.             128 => { :nameP => "Bright ", :nameS => " of the Bright",
  391.                      :SmatA => 3.5,:SatkA => -1.75},
  392.             129 => { :nameP => "Mage's ", :nameS => " of the Mage",
  393.                      :SmatA => 4,  :SatkA => -2},
  394.            
  395.             #INT+ MDF-
  396.             130 => { :nameP => "Near-sighted ", :nameS => " of Near Sight",
  397.                      :SmatA => 2,  :SmdfA => -1},
  398.             131 => { :nameP => "Tunneler's ", :nameS => " of Tunneling",
  399.                      :SmatA => 2.5,:SmdfA => -1.25},
  400.             132 => { :nameP => "Mole Whisker ", :nameS => " of the Mole",
  401.                      :SmatA => 3,  :SmdfA => -1.5},
  402.             133 => { :nameP => "Dolphin Eye ", :nameS => " of the Dolphin",
  403.                      :SmatA => 3.5,:SmdfA => -1.75},
  404.             134 => { :nameP => "Bra-injun's ", :nameS => " of Bra-injun",
  405.                      :SmatA => 4,  :SmdfA => -2},
  406.            
  407.             #INT+ DEF-
  408.             135 => { :nameP => "Frail ", :nameS => " of Frailty",
  409.                      :SmatA => 2,  :SdefA => -1},
  410.             136 => { :nameP => "Feeble ", :nameS => " of the Feeble",
  411.                      :SmatA => 2.5,:SdefA => -1.25},
  412.             137 => { :nameP => "Slender ", :nameS => " of Slimness",
  413.                      :SmatA => 3,  :SdefA => -1.5},
  414.             138 => { :nameP => "Brittle ", :nameS => " of Brittleness",
  415.                      :SmatA => 3.5,:SdefA => -1.75},
  416.             139 => { :nameP => "Delicate ", :nameS => " of the Delicate",
  417.                      :SmatA => 4,  :SdefA => -2},
  418.            
  419.             #INT+ AGI-
  420.             140 => { :nameP => "Farmer's ", :nameS => " of the Farmer",
  421.                      :SmatA => 2,  :SagiA => -1},
  422.             141 => { :nameP => "Summoner's ", :nameS => " of the Summoner",
  423.                      :SmatA => 2.5,:SagiA => -1.25},
  424.             142 => { :nameP => "Amazing ", :nameS => " of the Amazed",
  425.                      :SmatA => 3,  :SagiA => -1.5},
  426.             143 => { :nameP => "Rennet ", :nameS => " of Rennet",
  427.                      :SmatA => 3.5,:SagiA => -1.75},
  428.             144 => { :nameP => "Mindful ", :nameS => " of the Mind",
  429.                      :SmatA => 4,  :SagiA => -2},
  430.            
  431.             #MDF+ DEF-
  432.             145 => { :nameP => "Shielded ", :nameS => " of the Shield",
  433.                      :SmdfA => 2,  :SdefA => -1},
  434.             146 => { :nameP => "Conjured ", :nameS => " of the Conjured",
  435.                      :SmdfA => 2.5,:SdefA => -1.25},
  436.             147 => { :nameP => "Resistant ", :nameS => " of Resistance",
  437.                      :SmdfA => 3,  :SdefA => -1.5},
  438.             148 => { :nameP => "Screened ", :nameS => " of Screening",
  439.                      :SmdfA => 3.5,:SdefA => -1.75},
  440.             149 => { :nameP => "Lief's ", :nameS => " of Lief",
  441.                      :SmdfA => 4,  :SdefA => -2},
  442.            
  443.             #MDF+ INT-
  444.             150 => { :nameP => "Gifted ", :nameS => " of the Gifted",
  445.                      :SmdfA => 2,  :SmatA => -1},
  446.             151 => { :nameP => "Willing ", :nameS => " of the Willing",
  447.                      :SmdfA => 2.5,:SmatA => -1.25},
  448.             152 => { :nameP => "Fearful ", :nameS => " of the Fearful",
  449.                      :SmdfA => 3,  :SmatA => -1.5},
  450.             153 => { :nameP => "Finest ", :nameS => " of the Finest",
  451.                      :SmdfA => 3.5,:SmatA => -1.75},
  452.             154 => { :nameP => "Diviner's ", :nameS => " of the Diviner",
  453.                      :SmdfA => 4,  :SmatA => -2},
  454.            
  455.             #AGI+ ATK-
  456.             155 => { :nameP => "Bard's ", :nameS => " of the Bard",
  457.                      :SagiA => 2,  :SatkA => -1},
  458.             156 => { :nameP => "Songweave ", :nameS => " of the Song",
  459.                      :SagiA => 2.5,:SatkA => -1.25},
  460.             157 => { :nameP => "Sound ", :nameS => " of Sound",
  461.                      :SagiA => 3,  :SatkA => -1.5},
  462.             158 => { :nameP => "Singer's ", :nameS => " of Singing",
  463.                      :SagiA => 3.5,:SatkA => -1.75},
  464.             159 => { :nameP => "Totakai's ", :nameS => " of Totokai",
  465.                      :SagiA => 4,  :SatkA => -2},
  466.            
  467.             #AGI+ DEF-
  468.             160 => { :nameP => "Burglar's ", :nameS => " of the Burglar",
  469.                      :SagiA => 2,  :SdefA => -1},
  470.             161 => { :nameP => "Leather ", :nameS => " of Leather",
  471.                      :SagiA => 2.5,:SdefA => -1.25},
  472.             162 => { :nameP => "Tiger Fang ", :nameS => " of the Tiger",
  473.                      :SagiA => 3,  :SdefA => -1.5},
  474.             163 => { :nameP => "Nightblade's ", :nameS => " of the Nightblade",
  475.                      :SagiA => 3.5,:SdefA => -1.75},
  476.             164 => { :nameP => "Crood's ", :nameS => " of Crood",
  477.                      :SagiA => 4,  :SdefA => -2},
  478.            
  479.             #AGI+ LUK-
  480.             165 => { :nameP => "Alacrity ", :nameS => " of Alacrity",
  481.                      :SagiA => 2,  :SlukA => -1},
  482.             166 => { :nameP => "Brisk ", :nameS => " of Briskness",
  483.                      :SagiA => 2.5,:SlukA => -1.25},
  484.             167 => { :nameP => "Lithe ", :nameS => " of Litheness",
  485.                      :SagiA => 3,  :SlukA => -1.5},
  486.             168 => { :nameP => "Frisk ", :nameS => " of Friskyness",
  487.                      :SagiA => 3.5,:SlukA => -1.75},
  488.             169 => { :nameP => "Acrobatic ", :nameS => " of Acrobatics",
  489.                      :SagiA => 4,  :SlukA => -2},
  490.            
  491.             #LUK+ AGI-
  492.             170 => { :nameP => "Roller's ", :nameS => " of the High Roller",
  493.                      :SlukA => 2,  :SagiA => -1},
  494.             171 => { :nameP => "Trapper's ", :nameS => " of the Trapper",
  495.                      :SlukA => 2.5,:SagiA => -1.25},
  496.             172 => { :nameP => "Favoured ", :nameS => " of the Favoured",
  497.                      :SlukA => 3,  :SagiA => -1.5},
  498.             173 => { :nameP => "Lady's ", :nameS => " of Lady Luck",
  499.                      :SlukA => 3.5,:SagiA => -1.75},
  500.             174 => { :nameP => "Rabbit Foot ", :nameS => " of the Rabbit",
  501.                      :SlukA => 4,  :SagiA => -2},
  502.            
  503.             #DEF+ MP-
  504.             175 => { :nameP => "Craven ", :nameS => " of the Craven",
  505.                      :SdefA => 2,  :SmpA => -2},
  506.             176 => { :nameP => "Shelled ", :nameS => " of Shells",
  507.                      :SdefA => 2.5,:SmpA => -2.5},
  508.             177 => { :nameP => "Slimy ", :nameS => " of Slime",
  509.                      :SdefA => 3,  :SmpA => -3},
  510.             178 => { :nameP => "Demon Fang ", :nameS => " of Demons",
  511.                      :SdefA => 3.5,:SmpA => -3.5},
  512.             179 => { :nameP => "Crevice ", :nameS => " of the Crevice",
  513.                      :SdefA => 4,  :SmpA => -4},
  514.            
  515.             #MDF+ HP-
  516.             180 => { :nameP => "Weak ", :nameS => " of the Weak",
  517.                      :SmdfA => 2,  :ShpA => -2},
  518.             181 => { :nameP => "Petal ", :nameS => " of Petals",
  519.                      :SmdfA => 2.5,:ShpA => -2.5},
  520.             182 => { :nameP => "Carved ", :nameS => " of Carvings",
  521.                      :SmdfA => 3,  :ShpA => -3},
  522.             183 => { :nameP => "Juggler's ", :nameS => " of the Juggler",
  523.                      :SmdfA => 3.5,:ShpA => -3.5},
  524.             184 => { :nameP => "Kraine's ", :nameS => " of Kraine",
  525.                      :SmdfA => 4,  :ShpA => -4},
  526.            
  527.             #ATK+ HP-
  528.             185 => { :nameP => "Raging ", :nameS => " of Rage",
  529.                      :SatkA => 2,  :ShpA => -2},
  530.             186 => { :nameP => "Brash ", :nameS => " of Brashness",
  531.                      :SatkA => 2.5,:ShpA => -2.5},
  532.             187 => { :nameP => "Beserker's ", :nameS => " of the Beserker",
  533.                      :SatkA => 3,  :ShpA => -3},
  534.             188 => { :nameP => "Desperate ", :nameS => " of Desperation",
  535.                      :SatkA => 3.5,:ShpA => -3.5},
  536.             189 => { :nameP => "Grugg's ", :nameS => " of Grugg",
  537.                      :SatkA => 4,  :ShpA => -4},
  538.            
  539.             #INT+ MP-
  540.             190 => { :nameP => "Compulsive ", :nameS => " of Compulsion",
  541.                      :SmatA => 2,  :SmpA => -2},
  542.             191 => { :nameP => "Urgent ", :nameS => " of Urgency",
  543.                      :SmatA => 2.5,:SmpA => -2.5},
  544.             192 => { :nameP => "Compelling ", :nameS => " of Compelling",
  545.                      :SmatA => 3,  :SmpA => -3},
  546.             193 => { :nameP => "Rough ", :nameS => " of Roughness",
  547.                      :SmatA => 3.5,:SmpA => -3.5},
  548.             194 => { :nameP => "Nahasi's ", :nameS => " of Nahasi",
  549.                      :SmatA => 4,  :SmpA => -4},
  550.            
  551.             #ATK- HP+
  552.             195 => { :nameP => "Athletic ", :nameS => " of Athleticism",
  553.                      :ShpA => 4,  :SatkA => -1},
  554.             196 => { :nameP => "Active ", :nameS => " of Activity",
  555.                      :ShpA => 5,  :SatkA => -1.25},
  556.             197 => { :nameP => "Lively ", :nameS => " of Living",
  557.                      :ShpA => 6,  :SatkA => -1.5},
  558.             198 => { :nameP => "Hearty ", :nameS => " of the Heart",
  559.                      :ShpA => 7,  :SatkA => -1.75},
  560.             199 => { :nameP => "Prop ", :nameS => " of Props",
  561.                      :ShpA => 8,  :SatkA => -2},
  562.            
  563.             #INT- MP+
  564.             200 => { :nameP => "Cleric's ", :nameS => " of the Cleric",  
  565.                      :SmpA => 4,  :SmatA => -1},
  566.             201 => { :nameP => "Priest's ", :nameS => " of the Priest",
  567.                      :SmpA => 5,  :SmatA => -1.25},
  568.             202 => { :nameP => "Slacker's ", :nameS => " of the Slacker",
  569.                      :SmpA => 6,  :SmatA => -1.5},
  570.             203 => { :nameP => "Lazy ", :nameS => " of the Lazy",
  571.                      :SmpA => 7,  :SmatA => -1.75},
  572.             204 => { :nameP => "Sprat's ", :nameS => " of Sprat",
  573.                      :SmpA => 8,  :SmatA => -2},
  574.            
  575.             #INT- HP+
  576.             205 => { :nameP => "Jive ", :nameS => " of the Jive",
  577.                      :ShpA => 4,  :SmatA => -1},
  578.             206 => { :nameP => "Restitute ", :nameS => " of Restitution",
  579.                      :ShpA => 5,  :SmatA => -1.25},
  580.             207 => { :nameP => "Turkey Beak ", :nameS => " of the Turkey",
  581.                      :ShpA => 6,  :SmatA => -1.5},
  582.             208 => { :nameP => "Rawhide ", :nameS => " of Rawhide",
  583.                      :ShpA => 7,  :SmatA => -1.75},
  584.             209 => { :nameP => "Otto's ", :nameS => " of Otto",
  585.                      :ShpA => 8,  :SmatA => -2},
  586.            
  587.             #ATK- MP+
  588.             210 => { :name => "Feathered ", :nameS => " of Feathers",
  589.                      :SmpA => 4,  :SatkA => -1},
  590.             211 => { :name => "Woven ", :nameS => " of the Weave",
  591.                      :SmpA => 5,  :SatkA => -1.25},
  592.             212 => { :name => "Wrapped ", :nameS => " of the Wrap",
  593.                      :SmpA => 6,  :SatkA => -1.5},
  594.             213 => { :name => "Strung ", :nameS => " of Strings",
  595.                      :SmpA => 7,  :SatkA => -1.75},
  596.             214 => { :name => "Fram's ", :nameS => " of Fram",
  597.                      :SmpA => 8,  :SatkA => -2},
  598.            
  599.             #HP+ MP-
  600.             215 => { :nameP => "Unbalanced ", :nameS => " of Unbalance",
  601.                      :ShpA => 4,  :SmpA => -2},
  602.             216 => { :nameP => "Buccaneer's ", :nameS => " of the Buccaneer",
  603.                      :ShpA => 5,  :SmpA => -2.5},
  604.             217 => { :nameP => "Koala Toe ", :nameS => " of the Koala",
  605.                      :ShpA => 6,  :SmpA => -3},
  606.             218 => { :nameP => "Pirate's ", :nameS => " of the Pirate",
  607.                      :ShpA => 7,  :SmpA => -3.5},
  608.             219 => { :nameP => "Dire Beast ", :nameS => " of the Dire",
  609.                      :ShpA => 8,  :SmpA => -4},
  610.            
  611.             #MP+ HP-
  612.             220 => { :nameP => "Disturbed ", :nameS => " of Distrubance",
  613.                      :SmpA => 4,  :ShpA => -2},
  614.             221 => { :nameP => "Classic ", :nameS => " of the Classics",
  615.                      :SmpA => 5,  :ShpA => -2.5},
  616.             222 => { :nameP => "Joke ", :nameS => " of Jokes",
  617.                      :SmpA => 6,  :ShpA => -3},
  618.             223 => { :nameP => "Cypress ", :nameS => " of Cypress",
  619.                      :SmpA => 7,  :ShpA => -3.5},
  620.             224 => { :nameP => "Aloe Leaf ", :nameS => " of Aloe",
  621.                      :SmpA => 8,  :ShpA => -4},
  622.            
  623.             #ATK/DEF+ INT/MDF-
  624.             225 => { :nameP => "Gnoll's ", :nameS => " of the Gnoll",
  625.               :SatkA => 2,    :SdefA => 2, :SmatA => -1,   :SmdfA => -1},
  626.             226 => { :nameP => "Goblin's ", :nameS => " of the Goblin",
  627.               :SatkA => 2.5,  :SdefA => 2.5, :SmatA => -1.25,:SmdfA => -1.25},
  628.             227 => { :nameP => "Troll's ", :nameS => " of the Troll",
  629.               :SatkA => 3,    :SdefA => 3, :SmatA => -1.5, :SmdfA => -1.5},
  630.             228 => { :nameP => "Crusher's ", :nameS => " of the Crusher",
  631.               :SatkA => 3.5,  :SdefA => 3.5, :SmatA => -1.75,:SmdfA => -1.75},
  632.             229 => { :nameP => "Giant's ", :nameS => " of the Giant",
  633.               :SatkA => 4,    :SdefA => 4, :SmatA => -2,   :SmdfA => -2},
  634.            
  635.             #INT/MDF+ ATK/DEF-
  636.             230 => { :nameP => "Goldfish's ", :nameS => " of the Goldfish",
  637.               :SmatA => 2,    :SmdfA => 2, :SatkA => -1,   :SdefA => -1},
  638.             231 => { :nameP => "Siren's ", :nameS => " of the Siren",
  639.               :SmatA => 2.5,  :SmdfA => 2.5, :SatkA => -1.25,:SdefA => -1.25},
  640.             232 => { :nameP => "Mermaid's ", :nameS => " of the Mermaid",
  641.               :SmatA => 3,    :SmdfA => 3, :SatkA => -1.5, :SdefA => -1.5},
  642.             233 => { :nameP => "Koi's ", :nameS => " of the Koi",
  643.               :SmatA => 3.5,  :SmdfA => 3.5, :SatkA => -1.75,:SdefA => -1.75},
  644.             234 => { :nameP => "Branded ", :nameS => " of the Brand",
  645.               :SmatA => 4,    :SmdfA => 4, :SatkA => -2,   :SdefA => -2},
  646.            
  647.             #ATK/INT+ DEF/MDF-
  648.             235 => { :nameP => "Lion Mane ", :nameS => " of the Lion",
  649.               :SmatA => 2,    :SmatA => 2, :SmdfA => -1,   :SdefA => -1},
  650.             236 => { :nameP => "Bat Wing ", :nameS => " of the Bat",
  651.               :SmatA => 2.5,  :SmatA => 2.5, :SmdfA => -1.25,:SdefA => -1.25},
  652.             237 => { :nameP => "Harpy's ", :nameS => " of the Harpy",
  653.               :SmatA => 3,    :SmatA => 3, :SmdfA => -1.5, :SdefA => -1.5},
  654.             238 => { :nameP => "Excellent ", :nameS => " of Excelence",
  655.               :SmatA => 3.5,  :SmatA => 3.5, :SmdfA => -1.75,:SdefA => -1.75},
  656.             239 => { :nameP => "Matriarch ", :nameS => " of the Matriarch",
  657.               :SmatA => 4,    :SmatA => 4, :SmdfA => -2,   :SdefA => -2},
  658.            
  659.             #ATK/INT+ AGI/LUK-
  660.             240 => { :nameP => "Panda Fur ", :nameS => " of the Panda",
  661.               :SmatA => 2,    :SatkA => 2, :SagiA => -1,   :SlukA => -1},
  662.             241 => { :nameP => "Fisher's ", :nameS => " of the Fisher",
  663.               :SmatA => 2.5,  :SatkA => 2.5, :SagiA => -1.25,:SlukA => -1.25},
  664.             242 => { :nameP => "Dame's ", :nameS => " of the Dame",
  665.               :SmatA => 3,    :SatkA => 3,:SagiA => -1.5, :SlukA => -1.5},
  666.             243 => { :nameP => "Grand ", :nameS => " of the Grandoise",
  667.               :SmatA => 3.5,  :SatkA => 3.5, :SagiA => -1.75,:SlukA => -1.75},
  668.             244 => { :nameP => "Tyrone's ", :nameS => " of Tyrone",
  669.               :SmatA => 4,    :SatkA => 4, :SagiA => -2,   :SlukA => -2},
  670.            
  671.             #HP/MP+ ATK/INT-
  672.             245 => { :nameP => "Willow ", :nameS => " of the Willow",
  673.               :ShpA => 4,     :SmpA => 4, :SatkA => -1,   :SmatA => -1},
  674.             246 => { :nameP => "Acorn ", :nameS => " of the Acorn",
  675.               :ShpA => 5,     :SmpA => 5, :SatkA => -1.25,:SmatA => -1.25},
  676.             247 => { :nameP => "Cactus ", :nameS => " of the Cactus",
  677.               :ShpA => 6,     :SmpA => 6, :SatkA => -1.5, :SmatA => -1.5},
  678.             248 => { :nameP => "Superb ", :nameS => " of the Superb",
  679.               :ShpA => 7,     :SmpA => 7, :SatkA => -1.75,:SmatA => -1.75},
  680.             249 => { :nameP => "Bursting ", :nameS => " of Bursting",
  681.               :ShpA => 8,     :SmpA => 8, :SatkA => -2,   :SmatA => -2},
  682.            
  683.             #HP/DEF+ ATK/INT-
  684.             250 => { :nameP => "Pinecone ", :nameS => " of the Pinecone",
  685.               :ShpA => 4,     :SdefA => 2, :SatkA => -1,   :SmatA => -1},
  686.             251 => { :nameP => "Armadillo's ", :nameS => " of the Armadillo",
  687.               :ShpA => 5,     :SdefA => 2.5, :SatkA => -1.25,:SmatA => -1.25},
  688.             252 => { :nameP => "Totemic ", :nameS => " of Totems",
  689.               :ShpA => 6,     :SdefA => 3, :SatkA => -1.5, :SmatA => -1.5},
  690.             253 => { :nameP => "Shrew's ", :nameS => " of the Shrew",
  691.               :ShpA => 7,     :SdefA => 3.5, :SatkA => -1.75,:SmatA => -1.75},
  692.             254 => { :nameP => "Nonsense ", :nameS => " of Nonsense",
  693.               :ShpA => 8,     :SdefA => 4, :SatkA => -2,   :SmatA => -2},
  694.            
  695.             #MP/MDF+ ATK/INT-
  696.             255 => { :nameP => "Caned ", :nameS => " of the Caned",
  697.               :SmpA => 4,     :SmdfA => 2, :SatkA => -1,   :SmatA => -1},
  698.             256 => { :nameP => "Wyvern's ", :nameS => " of the Wyvern",
  699.               :SmpA => 5,     :SmdfA => 2.5, :SatkA => -1.25,:SmatA => -1.25},
  700.             257 => { :nameP => "Hemmed ", :nameS => " of Hems",
  701.               :SmpA => 6,     :SmdfA => 3, :SatkA => -1.5, :SmatA => -1.5},
  702.             258 => { :nameP => "Sugar Cane ", :nameS => " of Sugar Cane",
  703.               :SmpA => 7,     :SmdfA => 3.5, :SatkA => -1.75,:SmatA => -1.75},
  704.             259 => { :nameP => "Majestic ", :nameS => " of Majesty",
  705.               :SmpA => 8,     :SmdfA => 4, :SatkA => -2,   :SmatA => -2},
  706.            
  707.             #ATK/INT/AGI+ DEF/MDF/LUK-
  708.             260 => { :nameP => "Cougar Hide ", :nameS => " of the Cougar",
  709.                                   :SmatA => 2,    :SatkA => 2,    :SagiA => 2,
  710.                                   :SdefA => -1,   :SlukA => -1,   :SmdfA => -1},
  711.             261 => { :nameP => "Elven ", :nameS => " of the Elves",
  712.                                   :SmatA => 2.5,  :SatkA => 2.5,  :SagiA => 2.5,
  713.                                   :SdefA => -1.25,:SlukA => -1.25,:SmdfA => -1.25},
  714.             262 => { :nameP => "Drow ", :nameS => " of the Drow's",
  715.                                   :SmatA => 3,    :SatkA => 3,    :SagiA => 3,
  716.                                   :SdefA => -1.5, :SlukA => -1.5, :SmdfA => -1.5},
  717.             263 => { :nameP => "Beastly ", :nameS => " of the Beasts",
  718.                                   :SmatA => 3.5,  :SatkA => 3.5,  :SagiA => 3.5,
  719.                                   :SdefA => -1.75,:SlukA => -1.75,:SmdfA => -1.75},
  720.             264 => { :nameP => "Shade's ", :nameS => " of the Shade",
  721.                                   :SmatA => 4,    :SatkA => 4,    :SagiA => 4,
  722.                                   :SdefA => -2,   :SlukA => -2 ,  :SmdfA => -2},
  723.            
  724.             #DEF/MDF/LUK+ ATK/INT/AGI-
  725.             265 => { :nameP => "Halfling ", :nameS => " of the Halflings",
  726.                                   :SmatA => -1,   :SatkA => -1,   :SagiA => -1,
  727.                                   :SdefA => 2,    :SlukA => 2,    :SmdfA => 2},
  728.             266 => { :nameP => "Dwarven ", :nameS => " of the Dwarves",
  729.                                   :SmatA => -1.25,:SatkA => -1.25,:SagiA => -1.25,
  730.                                   :SdefA => 2.5,  :SlukA => 2.5,  :SmdfA => 2.5},
  731.             267 => { :nameP => "Wanderer's ", :nameS => " of the Wanderer",
  732.                                   :SmatA => -1.5, :SatkA => -1.5, :SagiA => -1.5,
  733.                                   :SdefA => 3,    :SlukA => 3,    :SmdfA => 3},
  734.             268 => { :nameP => "Traveler's ", :nameS => " of the Traveler",
  735.                                   :SmatA => -1.75,:SatkA => -1.75,:SagiA => -1.75,
  736.                                   :SdefA => 3.5,  :SlukA => 3.5,  :SmdfA => 3.5},
  737.             269 => { :nameP => "Staunch ", :nameS => " of the Staunch",
  738.                                   :SmatA => -2,   :SatkA => -2,   :SagiA => -2,
  739.                                   :SdefA => 4,    :SlukA => 4,    :SmdfA => 4},
  740.            
  741.             #ATK/DEF/INT/MDF/AGI/LUK+
  742.             270 => { :nameP => "Noble ", :nameS => " of the Noble",
  743.                                   :SatkA => 0.25, :SdefA => 0.25, :SmatA => 0.25,
  744.                                   :SmdfA => 0.25, :SagiA => 0.25, :SlukA => 0.25},
  745.             271 => { :nameP => "Lord's ", :nameS => " of the Lord",
  746.                                   :SatkA => 0.5,  :SdefA => 0.5,  :SmatA => 0.5,
  747.                                   :SmdfA => 0.5,  :SagiA => 0.5,  :SlukA => 0.5},
  748.             272 => { :nameP => "Princely ", :nameS => " of Princes",
  749.                                   :SatkA => 0.75, :SdefA => 0.75, :SmatA => 0.75,
  750.                                   :SmdfA => 0.75, :SagiA => 0.75, :SlukA => 0.75},
  751.             273 => { :nameP => "Queen's ", :nameS => " of the Queen",
  752.                                   :SatkA => 1,    :SdefA => 1,    :SmatA => 1,
  753.                                   :SmdfA => 1,    :SagiA => 1,    :SlukA => 1},
  754.             274 => { :nameP => "Kingly ", :nameS => " of the King",
  755.                                   :SatkA => 1.25, :SdefA => 1.25, :SmatA => 1.25,
  756.                                   :SmdfA => 1.25, :SagiA => 1.25, :SlukA => 1.25},
  757.            
  758.             #ATK/DEF/INT/MDF/AGI/LUK/HP/MP+
  759.             275 => { :nameP => "Wyrm's ", :nameS => " of the Wyrm",
  760.                                   :SatkA => 0.25, :SdefA => 0.25, :SmatA => 0.25,
  761.                                   :SmdfA => 0.25, :SagiA => 0.25, :SlukA => 0.25,
  762.                                   :ShpA => 0.5,   :SmpA => 0.5},
  763.             276 => { :nameP => "Hatchling ", :nameS => " of the Hatchling",
  764.                                   :SatkA => 0.5,  :SdefA => 0.5,  :SmatA => 0.5,
  765.                                   :SmdfA => 0.5,  :SagiA => 0.5,  :SlukA => 0.5,
  766.                                   :ShpA => 1,     :SmpA => 1},
  767.             277 => { :nameP => "Chromatic ", :nameS => " of the Chromatic",
  768.                                   :SatkA => 0.75, :SdefA => 0.75, :SmatA => 0.75,
  769.                                   :SmdfA => 0.75, :SagiA => 0.75, :SlukA => 0.75,
  770.                                   :ShpA => 1.5,   :SmpA => 1.5},
  771.             278 => { :nameP => "Dragon ", :nameS => " of the Dragon",
  772.                                   :SatkA => 1,    :SdefA => 1,    :SmatA => 1,
  773.                                   :SmdfA => 1,    :SagiA => 1,    :SlukA => 1,
  774.                                   :ShpA => 2,     :SmpA => 2},
  775.             279 => { :nameP => "Prismatic ", :nameS => " of the Prismatic",
  776.                                   :SatkA => 1.25, :SdefA => 1.25, :SmatA => 1.25,
  777.                                   :SmdfA => 1.25, :SagiA => 1.25, :SlukA => 1.25,
  778.                                   :ShpA => 2.5,   :SmpA => 2.5},
  779.            
  780.             #STATE APPLIES
  781.               #Poison
  782.             280 => { :nameP => "Poisoned ", :nameS => " of Poison",
  783.                       :SatkP  => 3, :SmatP => 3,
  784.                      :features => [[32,2,0.10]]},
  785.             281 => { :nameP => "Venom ", :nameS => " of Venom",
  786.                       :SatkP  => 4, :SmatP => 4,
  787.                      :features => [[32,2,0.25]]},
  788.             282 => { :nameP => "Toxic ", :nameS => " of Toxins",
  789.                       :SatkP  => 5, :SmatP => 5,
  790.                      :features => [[32,2,0.5]]},
  791.                      
  792.               #Blind
  793.             283 => { :nameP => "Gouging ", :nameS => " of Gouging",
  794.                       :SatkP  => 3, :SmatP => 3,
  795.                      :features => [[32,3,0.10]]},
  796.             284 => { :nameP => "Blind ", :nameS => " of Blindness",
  797.                       :SatkP  => 4, :SmatP => 4,
  798.                      :features => [[32,3,0.25]]},
  799.             285 => { :nameP => "Sightless ", :nameS => " of the Sightless",
  800.                       :SatkP  => 5, :SmatP => 5,
  801.                      :features => [[32,3,0.5]]},
  802.            
  803.               #Silence
  804.             286 => { :nameP => "Quiet ", :nameS => " of Quietness",
  805.                       :SatkP  => 3, :SmatP => 3,
  806.                      :features => [[32,4,0.10]]},
  807.             287 => { :nameP => "Silent ", :nameS => " of Silence",
  808.                       :SatkP  => 4, :SmatP => 4,
  809.                      :features => [[32,4,0.25]]},
  810.             288 => { :nameP => "Mute ", :nameS => " of the Mute",
  811.                       :SatkP  => 5, :SmatP => 5,
  812.                      :features => [[32,4,0.5]]},
  813.                  
  814.               #Confusion
  815.             289 => { :nameP => "Confused ", :nameS => " of Confusion",
  816.                       :SatkP  => 3, :SmatP => 3,
  817.                      :features => [[32,5,0.10]]},
  818.             290 => { :nameP => "Disoriented ", :nameS => " of Disorientation",
  819.                       :SatkP  => 4, :SmatP => 4,
  820.                      :features => [[32,5,0.25]]},
  821.             291 => { :nameP => "Baffled ", :nameS => " of Baffling",
  822.                       :SatkP  => 5, :SmatP => 5,
  823.                      :features => [[32,5,0.5]]},
  824.                      
  825.               #Sleep
  826.             292 => { :nameP => "Sleepy ", :nameS => " of Sleep",
  827.                       :SatkP  => 3, :SmatP => 3,
  828.                      :features => [[32,6,0.10]]},
  829.             293 => { :nameP => "Tired ", :nameS => " of the Tired",
  830.                       :SatkP  => 4, :SmatP => 4,
  831.                      :features => [[32,6,0.25]]},
  832.             294 => { :nameP => "Resting ", :nameS => " of the Resting",
  833.                       :SatkP  => 5, :SmatP => 5,
  834.                      :features => [[32,6,0.5]]},
  835.                      
  836.               #Paralysis
  837.             295 => { :nameP => "Paralyzing ", :nameS => " of Paralysis",
  838.                       :SatkP  => 3, :SmatP => 3,
  839.                      :features => [[32,7,0.10]]},
  840.             296 => { :nameP => "Disabling ", :nameS => " of Disabling",
  841.                       :SatkP  => 4, :SmatP => 4,
  842.                      :features => [[32,7,0.25]]},
  843.             297 => { :nameP => "Halting ", :nameS => " of Halting",
  844.                       :SatkP  => 5, :SmatP => 5,
  845.                      :features => [[32,7,0.5]]},
  846.            
  847.               #Stun
  848.             298 => { :nameP => "Stunning ", :nameS => " of Stunning",
  849.                       :SatkP  => 3, :SmatP => 3,
  850.                      :features => [[32,8,0.10]]},
  851.             299 => { :nameP => "Stopping ", :nameS => " of Stopping",
  852.                       :SatkP  => 4, :SmatP => 4,
  853.                      :features => [[32,8,0.25]]},
  854.             300 => { :nameP => "Overwhelming ", :nameS => " of Overwhelming",
  855.                       :SatkP  => 5, :SmatP => 5,
  856.                      :features => [[32,8,0.5]]},
  857.                      
  858.               #Death
  859.             301 => { :nameP => "Deadly ", :nameS => " of Death",
  860.                       :SatkP  => 3, :SmatP => 3,
  861.                      :features => [[32,1,0.05]]},
  862.             302 => { :nameP => "Doom Touched ", :nameS => " of Doom",
  863.                       :SatkP  => 4, :SmatP => 4,
  864.                      :features => [[32,1,0.10]]},
  865.             303 => { :nameP => "Reaper's ", :nameS => " of the Reaper",
  866.                       :SatkP  => 5, :SmatP => 5,
  867.                      :features => [[32,1,0.15]]},
  868.            
  869.             #STATE RESISTS
  870.               #Poison
  871.             304 => { :nameP => "Antidotal ", :nameS => " of Antidotes",
  872.                       :SdefP => 3, :SmdfP => 3, :features => [[13,2,0.5]]},
  873.             305 => { :nameP => "Antivenom ", :nameS => " of Antivenom",
  874.                       :SdefP => 5, :SmdfP => 5, :features => [[14,2,0]] },
  875.                      
  876.               #Blind
  877.             306 => { :nameP => "Vision ", :nameS => " of Visions",
  878.                       :SdefP => 3, :SmdfP => 3, :features => [[13,3,0.5]]},
  879.             307 => { :nameP => "Sight ", :nameS => " of Sight",
  880.                       :SdefP => 5, :SmdfP => 5, :features => [[14,3,0]] },
  881.            
  882.               #Silence
  883.             308 => { :nameP => "Loud ", :nameS => " of the Loud",
  884.                       :SdefP => 3, :SmdfP => 3, :features => [[13,4,0.5]]},
  885.             309 => { :nameP => "Ruckus ", :nameS => " of Ruckus",
  886.                       :SdefP => 5, :SmdfP => 5, :features => [[14,4,0]] },
  887.                  
  888.               #Confusion
  889.             310 => { :nameP => "Clarity ", :nameS => " of Clarity",
  890.                       :SdefP => 3, :SmdfP => 3, :features => [[13,5,0.5]]},
  891.             311 => { :nameP => "Lucidity ", :nameS => " of the Lucid",
  892.                       :SdefP => 5, :SmdfP => 5, :features => [[14,5,0]] },
  893.                      
  894.               #Sleep
  895.             312 => { :nameP => "Awakening ", :nameS => " of Awakening",
  896.                       :SdefP => 3, :SmdfP => 3, :features => [[13,6,0.5]]},
  897.             313 => { :nameP => "Insomnia ", :nameS => " of Insomnia",
  898.                       :SdefP => 5, :SmdfP => 5, :features => [[14,6,0]] },
  899.                      
  900.               #Paralysis
  901.             314 => { :nameP => "Antiparalysis ", :nameS => " of Antiparalysis",
  902.                       :SdefP => 3, :SmdfP => 3, :features => [[13,7,0.5]]},
  903.             315 => { :nameP => "Limber ", :nameS => " of the Limber",
  904.                       :SdefP => 5, :SmdfP => 5, :features => [[14,7,0]] },
  905.            
  906.               #Stun
  907.             316 => { :nameP => "Bold ", :nameS => " of the Bold",
  908.                       :SdefP => 3, :SmdfP => 3, :features => [[13,8,0.5]]},
  909.             317 => { :nameP => "Stunless ", :nameS => " of the Stunless",
  910.                       :SdefP => 5, :SmdfP => 5, :features => [[14,8,0]] },
  911.                      
  912.               #Death
  913.             318 => { :nameP => "Inner Fire ", :nameS => " of Inner Fire",
  914.                       :SdefP => 3, :SmdfP => 3, :features => [[13,1,0.5]]},
  915.             319 => { :nameP => "Life ", :nameS => " of Life",
  916.                       :SdefP => 5, :SmdfP => 5, :features => [[13,1,1]] },
  917.            
  918.             #ELEMENT APPLIES
  919.               #Fire
  920.             320 => { :nameP => "Fiery ", :nameS => " of Fire",
  921.                       :SmatP => 3, :SatkP => 3, :features => [[31,3,0]]},
  922.             321 => { :nameP => "Flaming ", :nameS => " of Flames",
  923.                       :SmatP => 5, :SatkP => 3, :features => [[31,3,0]]},
  924.             322 => { :nameP => "Hellfire ", :nameS => " of Hellfire",
  925.                       :SmatP => 7, :SatkP => 7, :features => [[31,3,0]]},
  926.                      
  927.               #Ice
  928.             323 => { :nameP => "Icy ", :nameS => " of Icicles",
  929.                       :SmatP => 3, :SatkP => 3, :features => [[31,4,0]]},
  930.             324 => { :nameP => "Frost ", :nameS => " of Frost",
  931.                       :SmatP => 5, :SatkP => 5, :features => [[31,4,0]]},
  932.             325 => { :nameP => "Blizzard ", :nameS => " of Blizzards",
  933.                       :SmatP => 7, :SatkP => 7, :features => [[31,4,0]]},
  934.                      
  935.               #Thunder
  936.             326 => { :nameP => "Jolt ", :nameS => " of Jolts",
  937.                       :SmatP => 3, :SatkP => 3, :features => [[31,5,0]]},
  938.             327 => { :nameP => "Shocking ", :nameS => " of Shocks",
  939.                       :SmatP => 5, :SatkP => 5, :features => [[31,5,0]]},
  940.             328 => { :nameP => "Thunderous ", :nameS => " of Thunder",
  941.                       :SmatP => 7, :SatkP => 7, :features => [[31,5,0]]},
  942.                    
  943.               #Water
  944.             329 => { :nameP => "Moist ", :nameS => " of Moisture",
  945.                       :SmatP => 3, :SatkP => 3, :features => [[31,6,0]]},
  946.             330 => { :nameP => "Monsoon ", :nameS => " of Monsoons",
  947.                       :SmatP => 5, :SatkP => 5, :features => [[31,6,0]]},
  948.             331 => { :nameP => "Hurricane ", :nameS => " of Hurricanes",
  949.                       :SmatP => 7, :SatkP => 7, :features => [[31,6,0]]},
  950.                      
  951.               #Earth
  952.             332 => { :nameP => "Rocky ", :nameS => " of Rocks",
  953.                       :SmatP => 3, :SatkP => 3, :features => [[31,7,0]]},
  954.             333 => { :nameP => "Craggy ", :nameS => " of Crags",
  955.                       :SmatP => 5, :SatkP => 5, :features => [[31,7,0]]},
  956.             334 => { :nameP => "Quakes ", :nameS => " of Earthquakes",
  957.                       :SmatP => 7, :SatkP => 7, :features => [[31,7,0]]},
  958.                      
  959.               #Wind
  960.             335 => { :nameP => "Gusting ", :nameS => " of Gusts",
  961.                       :SmatP => 3, :SatkP => 3, :features => [[31,8,0]]},
  962.             336 => { :nameP => "Windy ", :nameS => " of Winds",
  963.                       :SmatP => 5, :SatkP => 5, :features => [[31,8,0]]},
  964.             337 => { :nameP => "Tornado ", :nameS => " of Tornadoes",
  965.                       :SmatP => 7, :SatkP => 7, :features => [[31,8,0]]},
  966.                      
  967.               #Holy
  968.             338 => { :nameP => "Shining ", :nameS => " of Light",
  969.                       :SmatP => 3, :SatkP => 3, :features => [[31,9,0]]},
  970.             339 => { :nameP => "Holy ", :nameS => " of the Holy",
  971.                       :SmatP => 5, :SatkP => 5, :features => [[31,9,0]]},
  972.             340 => { :nameP => "Angel's ", :nameS => " of Angels",
  973.                       :SmatP => 7, :SatkP => 7, :features => [[31,9,0]]},
  974.                      
  975.               #Dark
  976.             341 => { :nameP => "Dark ", :nameS => " of Darkness",
  977.                       :SmatP => 3, :SatkP => 3, :features => [[31,10,0]]},
  978.             342 => { :nameP => "Devil's ", :nameS => " of the Devil",
  979.                       :SmatP => 5, :SatkP => 5, :features => [[31,10,0]]},
  980.             343 => { :nameP => "Void ", :nameS => " of the Void",
  981.                       :SmatP => 7, :SatkP => 7, :features => [[31,10,0]]},
  982.            
  983.             #ELEMENT RESISTS
  984.               #Physical
  985.             344 => { :nameP => "Resistant ", :nameS => " of Resistance",
  986.                       :SdefP => 3, :SmdfP => 3, :features => [[11,1,0.80]]},
  987.             345 => { :nameP => "Protected ", :nameS => " of Protection",
  988.                       :SdefP => 5, :SmdfP => 5, :features => [[11,1,0.65]]},
  989.             346 => { :nameP => "Safeguard ", :nameS => " of Safeguards",
  990.                       :SdefP => 7, :SmdfP => 7, :features => [[11,1,0.5]]},
  991.                      
  992.               #Fire
  993.             347 => { :nameP => "Fireproof ", :nameS => " of Fireproofing",
  994.               :SdefP => 3, :SmdfP => 3, :features => [[11,3,0.66],[11,6,1.33]]},
  995.             348 => { :nameP => "Heat Shield ", :nameS => " of Flame Resist",
  996.               :SdefP => 5, :SmdfP => 5, :features => [[11,3,0.33],[11,6,1.66]]},
  997.             349 => { :nameP => "Smoldering ", :nameS => " of Smolders",
  998.               :SdefP => 7, :SmdfP => 7, :features => [[11,3,0],[11,6,2]]},
  999.                      
  1000.               #Ice
  1001.             350 => { :nameP => "Warm ", :nameS => " of Warming",
  1002.               :SdefP => 3, :SmdfP => 3, :features => [[11,4,0.66],[11,3,1.33]]},
  1003.             351 => { :nameP => "Frost Shield ", :nameS => " of Frost Resist",
  1004.               :SdefP => 5, :SmdfP => 5, :features => [[11,4,0.33],[11,3,1.66]]},
  1005.             352 => { :nameP => "Chilling ", :nameS => " of Chills",
  1006.               :SdefP => 7, :SmdfP => 7, :features => [[11,4,0],[11,3,2]]},
  1007.                    
  1008.               #Thunder
  1009.             353 => { :nameP => "Rubber ", :nameS => " of Rubber",
  1010.               :SdefP => 3, :SmdfP => 3, :features => [[11,5,0.66],[11,7,1.33]]},
  1011.             354 => { :nameP => "Thunder Shield ", :nameS => " of Thunder Resist",
  1012.               :SdefP => 5, :SmdfP => 5, :features => [[11,5,0.33],[11,7,1.66]]},
  1013.             355 => { :nameP => "Electric ", :nameS => " of Electricity",
  1014.               :SdefP => 7, :SmdfP => 7, :features => [[11,5,0],[11,7,2]]},
  1015.                      
  1016.               #Water
  1017.             356 => { :nameP => "Waterproof ", :nameS => " of Waterproofing",
  1018.               :SdefP => 3, :SmdfP => 3, :features => [[11,6,0.66],[11,5,1.33]]},
  1019.             357 => { :nameP => "Water Shield ", :nameS => " of Water Resist",
  1020.               :SdefP => 5, :SmdfP => 5, :features => [[11,6,0.33],[11,5,1.66]]},
  1021.             358 => { :nameP => "Bubble ", :nameS => " of Bubbles",
  1022.               :SdefP => 7, :SmdfP => 7, :features => [[11,6,0],[11,5,2]]},
  1023.                      
  1024.               #Earth
  1025.             359 => { :nameP => "Earthen ", :nameS => " of Earth",
  1026.               :SdefP => 3, :SmdfP => 3, :features => [[11,7,0.66],[11,8,1.33]]},
  1027.             360 => { :nameP => "Rock Shield ", :nameS => " of Earth Resist",
  1028.               :SdefP => 5, :SmdfP => 5, :features => [[11,7,0.33],[11,8,1.66]]},
  1029.             361 => { :nameP => "Barkskin ", :nameS => " of Barkskin",
  1030.               :SdefP => 7, :SmdfP => 7, :features => [[11,7,0],[11,8,2]]},
  1031.                    
  1032.               #Wind
  1033.             362 => { :nameP => "Airproof ", :nameS => " of Airproofing",
  1034.               :SdefP => 3, :SmdfP => 3, :features => [[11,8,0.66],[11,4,1.33]]},
  1035.             363 => { :nameP => "Wind Shield ", :nameS => " of Wind Resist",
  1036.               :SdefP => 5, :SmdfP => 5, :features => [[11,8,0.33],[11,4,1.66]]},
  1037.             364 => { :nameP => "Stormy ", :nameS => " of Storms",
  1038.               :SdefP => 7, :SmdfP => 7, :features => [[11,8,0],[11,4,2]]},
  1039.                      
  1040.               #Holy
  1041.             365 => { :nameP => "Aura ", :nameS => " of Auras",
  1042.               :SdefP => 3, :SmdfP => 3, :features => [[11,9,0.66],[11,10,1.33]]},
  1043.             366 => { :nameP => "Holy Shield ", :nameS => " of Holy Resist",
  1044.               :SdefP => 5, :SmdfP => 5, :features => [[11,9,0.33],[11,10,1.66]]},
  1045.             367 => { :nameP => "Light ", :nameS => " of Holy Light",
  1046.               :SdefP => 7, :SmdfP => 7, :features => [[11,9,0],[11,10,2]]},
  1047.                      
  1048.               #Dark
  1049.             368 => { :nameP => "Cursed ", :nameS => " of Curses",
  1050.               :SdefP => 3, :SmdfP => 3, :features => [[11,10,0.66],[11,9,1.33]]},
  1051.             369 => { :nameP => "Dark Shield ", :nameS => " of Dark Resist",
  1052.               :SdefP => 5, :SmdfP => 5, :features => [[11,10,0.33],[11,9,1.66]]},
  1053.             370 => { :nameP => "Evil ", :nameS => " of the Evil",
  1054.               :SdefP => 7, :SmdfP => 7, :features => [[11,10,0],[11,9,2]]},
  1055.            
  1056.             #EXTRA PARAMETERS
  1057.               #Hit Rate
  1058.             371 => { :nameP => "Bullseye ", :nameS => " of Bullseye's",
  1059.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1060.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1061.                                   :ShpP => 2,  :SmpP => 2,
  1062.                                   :features => [[22,0,5]] },
  1063.             372 => { :nameP => "Eagle Eye", :nameS => " of the Eagle",
  1064.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1065.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1066.                                   :ShpP => 4,  :SmpP => 4,
  1067.                                   :features => [[22,0,10]] },
  1068.             373 => { :nameP => "Accurate ", :nameS => " of Accuracy",
  1069.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1070.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1071.                                   :ShpP => 6,  :SmpP => 6,
  1072.                                   :features => [[22,0,15]] },
  1073.                                  
  1074.               #Evasion Rate
  1075.             374 => { :nameP => "Slippery ", :nameS => " of Slipperyness",
  1076.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1077.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1078.                                   :ShpP => 2,  :SmpP => 2,
  1079.                                   :features => [[22,1,4]] },
  1080.             375 => { :nameP => "Evading ", :nameS => " of Evasion",
  1081.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1082.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1083.                                   :ShpP => 4,  :SmpP => 4,
  1084.                                   :features => [[22,1,7]] },
  1085.             376 => { :nameP => "Shadow ", :nameS => " of Shadow's",
  1086.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1087.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1088.                                   :ShpP => 6,  :SmpP => 6,
  1089.                                   :features => [[22,1,10]] },
  1090.                                  
  1091.               #Critical Rate
  1092.             377 => { :nameP => "Critical ", :nameS => " of Criticals",
  1093.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1094.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1095.                                   :ShpP => 2,  :SmpP => 2,
  1096.                                   :features => [[22,2,5]] },
  1097.             378 => { :nameP => "Precise ", :nameS => " of Precision",
  1098.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1099.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1100.                                   :ShpP => 4,  :SmpP => 4,
  1101.                                   :features => [[22,2,10]] },
  1102.             379 => { :nameP => "Skillful ", :nameS => " of Skill",
  1103.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1104.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1105.                                   :ShpP => 6,  :SmpP => 6,
  1106.                                   :features => [[22,2,15]] },
  1107.                                
  1108.               #Critical Evasion Rate
  1109.             380 => { :nameP => "Unmoveable ", :nameS => " of Unmoving",
  1110.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1111.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1112.                                   :ShpP => 2,  :SmpP => 2,
  1113.                                   :features => [[22,3,5]] },
  1114.             381 => { :nameP => "Stiff ", :nameS => " of Stiffness",
  1115.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1116.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1117.                                   :ShpP => 4,  :SmpP => 4,
  1118.                                   :features => [[22,3,10]] },
  1119.             382 => { :nameP => "Stout ", :nameS => " of Stoutness",
  1120.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1121.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1122.                                   :ShpP => 6,  :SmpP => 6,
  1123.                                   :features => [[22,3,15]] },
  1124.                                  
  1125.               #Magic Evasion Rate
  1126.             383 => { :nameP => "Phased ", :nameS => " of Phasing",
  1127.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1128.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1129.                                   :ShpP => 2,  :SmpP => 2,
  1130.                                   :features => [[22,4,4]] },
  1131.             384 => { :nameP => "Phantom ", :nameS => " of Phantoms",
  1132.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1133.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1134.                                   :ShpP => 4,  :SmpP => 4,
  1135.                                   :features => [[22,4,7]] },
  1136.             385 => { :nameP => "Ethereal ", :nameS => " of the Ethereal",
  1137.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1138.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1139.                                   :ShpP => 6,  :SmpP => 6,
  1140.                                   :features => [[22,4,10]] },
  1141.                                  
  1142.               #Magic Reflection Rate
  1143.             386 => { :nameP => "Reflecting ", :nameS => " of Reflection",
  1144.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1145.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1146.                                   :ShpP => 2,  :SmpP => 2,
  1147.                                   :features => [[22,5,25]] },
  1148.             387 => { :nameP => "Mirrored ", :nameS => " of Mirrors",
  1149.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1150.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1151.                                   :ShpP => 4,  :SmpP => 4,
  1152.                                   :features => [[22,5,50]] },
  1153.             388 => { :nameP => "Echoed ", :nameS => " of Echos",
  1154.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1155.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1156.                                   :ShpP => 6,  :SmpP => 6,
  1157.                                   :features => [[22,5,100]] },
  1158.                                  
  1159.               #Counter Attack Rate
  1160.             389 => { :nameP => "Counter ", :nameS => " of Counters",
  1161.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1162.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1163.                                   :ShpP => 2,  :SmpP => 2,
  1164.                                   :features => [[22,6,25]] },
  1165.             390 => { :nameP => "Reversing ", :nameS => " of Reversal",
  1166.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1167.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1168.                                   :ShpP => 4,  :SmpP => 4,
  1169.                                   :features => [[22,6,50]] },
  1170.             391 => { :nameP => "Ricocheting ", :nameS => " of Ricochet",
  1171.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1172.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1173.                                   :ShpP => 6,  :SmpP => 6,
  1174.                                   :features => [[22,6,75]] },
  1175.                                  
  1176.               #Hp Regen Rate
  1177.             392 => { :nameP => "Regen ", :nameS => " of Regeneration",
  1178.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1179.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1180.                                   :ShpP => 2,  :SmpP => 2,
  1181.                                   :features => [[22,7,1]] },
  1182.             393 => { :nameP => "Replenishing ", :nameS => " of Replenishment",
  1183.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1184.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1185.                                   :ShpP => 4,  :SmpP => 4,
  1186.                                   :features => [[22,7,3]] },
  1187.             394 => { :nameP => "Restoring ", :nameS => " of Restoration",
  1188.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1189.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1190.                                   :ShpP => 6,  :SmpP => 6,
  1191.                                   :features => [[22,7,5]] },
  1192.                                  
  1193.               #Mp Regen Rate
  1194.             395 => { :nameP => "Fufilling ", :nameS => " of Fufillment",
  1195.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1196.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1197.                                   :ShpP => 2,  :SmpP => 2,
  1198.                                   :features => [[22,8,1]] },
  1199.             396 => { :nameP => "Refreshing ", :nameS => " of Refreshment",
  1200.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1201.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1202.                                   :ShpP => 4,  :SmpP => 4,
  1203.                                   :features => [[22,8,3]] },
  1204.             397 => { :nameP => "Renewal ", :nameS => " of Renewing",
  1205.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1206.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1207.                                   :ShpP => 6,  :SmpP => 6,
  1208.                                   :features => [[22,8,5]] },
  1209.                                  
  1210.               #Tp Regen Rate
  1211.             398 => { :nameP => "Charging ", :nameS => " of Ability Charge",
  1212.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1213.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1214.                                   :ShpP => 2,  :SmpP => 2,
  1215.                                   :features => [[22,9,1]] },
  1216.             399 => { :nameP => "Default ", :nameS => " of Defaulting",
  1217.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1218.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1219.                                   :ShpP => 4,  :SmpP => 4,
  1220.                                   :features => [[22,9,3]] },
  1221.             400 => { :nameP => "Breather's ", :nameS => " of Breathing",
  1222.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1223.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1224.                                   :ShpP => 6,  :SmpP => 6,
  1225.                                   :features => [[22,9,5]] },
  1226.            
  1227.             #SPECIAL PARAMETERS
  1228.               #Target Rate
  1229.             401 => { :nameP => "Taunting ", :nameS => " of Taunting",
  1230.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1231.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1232.                                   :ShpP => 4,  :SmpP => 4,
  1233.                                   :features => [[23,0,200]] },
  1234.             402 => { :nameP => "Cloaking ", :nameS => " of Cloaking",
  1235.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1236.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1237.                                   :ShpP => 4,  :SmpP => 4,
  1238.                                   :features => [[23,0,10]] },
  1239.                                  
  1240.               #Guard Effect Rate
  1241.             403 => { :nameP => "Guarding ", :nameS => " of the Guarded",
  1242.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1243.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1244.                                   :ShpP => 4,  :SmpP => 4,
  1245.                                   :features => [[23,1,125]] },
  1246.             404 => { :nameP => "Secured ", :nameS => " of Securing",
  1247.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1248.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1249.                                   :ShpP => 6,  :SmpP => 6,
  1250.                                   :features => [[23,1,150]] },
  1251.                                  
  1252.               #Recovery Effect Rate
  1253.             405 => { :nameP => "Mending ", :nameS => " of Mending",
  1254.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1255.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1256.                                   :ShpP => 4,  :SmpP => 4,
  1257.                                   :features => [[23,2,125]] },
  1258.             406 => { :nameP => "Soothed ", :nameS => " of Soothing",
  1259.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1260.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1261.                                   :ShpP => 6,  :SmpP => 6,
  1262.                                   :features => [[23,2,150]] },
  1263.                                  
  1264.               #Pharmacology Rate
  1265.             407 => { :nameP => "Alchemist's ", :nameS => " of Alchemy",
  1266.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1267.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1268.                                   :ShpP => 4,  :SmpP => 4,
  1269.                                   :features => [[23,3,125]] },
  1270.             408 => { :nameP => "Pharmacology ", :nameS => " of Pharmacology",
  1271.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1272.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1273.                                   :ShpP => 6,  :SmpP => 6,
  1274.                                   :features => [[23,3,150]] },
  1275.                                  
  1276.               #MP Cost Rate
  1277.             409 => { :nameP => "Efficient ", :nameS => " of Efficiency",
  1278.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1279.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1280.                                   :ShpP => 4,  :SmpP => 4,
  1281.                                   :features => [[23,4,85]] },
  1282.             410 => { :nameP => "Energetic ", :nameS => " of the Energetic",
  1283.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1284.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1285.                                   :ShpP => 6,  :SmpP => 6,
  1286.                                   :features => [[23,4,70]] },
  1287.                                  
  1288.               #Tp Charge Rate
  1289.             411 => { :nameP => "Quick Charge ", :nameS => " of Quick Charge",
  1290.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1291.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1292.                                   :ShpP => 4,  :SmpP => 4,
  1293.                                   :features => [[23,5,115]] },
  1294.             412 => { :nameP => "Fast Charge ", :nameS => " of Fast Charge",
  1295.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1296.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1297.                                   :ShpP => 6,  :SmpP => 6,
  1298.                                   :features => [[23,5,130]] },
  1299.                                  
  1300.               #Physical Damage Rate
  1301.             413 => { :nameP => "Melee ", :nameS => " of Melee Power",
  1302.                       :features => [[23,6,95]] },
  1303.             414 => { :nameP => "Clash ", :nameS => " of Clashing",
  1304.                       :features => [[23,6,90]] },
  1305.             415 => { :nameP => "Behemoth's ", :nameS => " of the Behemoth",
  1306.                       :features => [[23,6,85]] },
  1307.                                  
  1308.               #Magical Damage Rate
  1309.             416 => { :nameP => "Occult ", :nameS => " of the Occult",
  1310.                       :features => [[23,7,95]] },
  1311.             417 => { :nameP => "Wisp Dust ", :nameS => " of the Wisp",
  1312.                       :features => [[23,7,90]] },
  1313.             418 => { :nameP => "Faetouched ", :nameS => " of the Fae",
  1314.                       :features => [[23,7,85]] },
  1315.                                  
  1316.               #Experience Rate
  1317.             419 => { :nameP => "Trainer's ", :nameS => " of Training",
  1318.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1319.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1320.                                   :ShpP => 2,  :SmpP => 2,
  1321.                                   :features => [[23,9,105]] },
  1322.             420 => { :nameP => "Experienced ", :nameS => " of Experience",
  1323.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1324.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1325.                                   :ShpP => 4,  :SmpP => 4,
  1326.                                   :features => [[23,9,110]] },
  1327.             421 => { :nameP => "Studied ", :nameS => " of Studying",
  1328.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1329.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1330.                                   :ShpP => 6,  :SmpP => 6,
  1331.                                   :features => [[23,9,120]] },
  1332.            
  1333.             #MISCELANEOUS
  1334.               #Attack Speed
  1335.             422 => { :nameP => "Quick ", :nameS => " of the Quick",
  1336.                                   :SatkP => 2, :SdefP => 2, :SmatP => 2,
  1337.                                   :SmdfP => 2, :SagiP => 2, :SlukP => 2,
  1338.                                   :ShpP => 2,  :SmpP => 2,
  1339.                                   :features => [[33,0,75]] },
  1340.             423 => { :nameP => "Greased ", :nameS => " of Grease",
  1341.                                   :SatkP => 4, :SdefP => 4, :SmatP => 4,
  1342.                                   :SmdfP => 4, :SagiP => 4, :SlukP => 4,
  1343.                                   :ShpP => 4,  :SmpP => 4,
  1344.                                   :features => [[33,0,150]] },
  1345.                            
  1346.               #Attack Times
  1347.             424 => { :nameP => "Rapid ", :nameS => " of Rapidness",
  1348.                                   :SatkP => 6, :SdefP => 6, :SmatP => 6,
  1349.                                   :SmdfP => 6, :SagiP => 6, :SlukP => 6,
  1350.                                   :ShpP => 6,  :SmpP => 6,
  1351.                                   :features => [[34,0,1]] },
  1352.                
  1353.               #Encounter Half
  1354.             425 => { :nameP => "Hiding ", :nameS => " of Hiding",
  1355.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1356.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1357.                                   :ShpP => 3,  :SmpP => 3,
  1358.                                   :features => [[63,0,0]] },
  1359.               #Encounter None
  1360.             426 => { :nameP => "Sneaky ", :nameS => " of Sneaking",
  1361.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1362.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1363.                                   :ShpP => 3,  :SmpP => 3,
  1364.                                   :features => [[63,1,0]] },
  1365.               #Cancel Surprise
  1366.             427 => { :nameP => "Perceptive ", :nameS => " of Perception",
  1367.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1368.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1369.                                   :ShpP => 3,  :SmpP => 3,
  1370.                                   :features => [[63,2,0]] },
  1371.               #Raise Preemptive
  1372.             428 => { :nameP => "Preemptive ", :nameS => " of the Preemptive",
  1373.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1374.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1375.                                   :ShpP => 3,  :SmpP => 3,
  1376.                                   :features => [[63,3,0]] },
  1377.               #Double Gold
  1378.             429 => { :nameP => "Treasured ", :nameS => " of Treasures",
  1379.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1380.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1381.                                   :ShpP => 3,  :SmpP => 3,
  1382.                                   :features => [[63,4,0]] },
  1383.                                  
  1384.               #Price
  1385.             430 => { :nameP => "Wealthy ", :nameS => " of the Wealthy",
  1386.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1387.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1388.                                   :ShpP => 3,  :SmpP => 3,
  1389.                                   :SpriceP => 25 },
  1390.             431 => { :nameP => "Golden ", :nameS => " of Gold",
  1391.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1392.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1393.                                   :ShpP => 3,  :SmpP => 3,
  1394.                                   :SpriceP => 50 },
  1395.             432 => { :nameP => "Valuable ", :nameS => " of Value",
  1396.                                   :SatkP => 3, :SdefP => 3, :SmatP => 3,
  1397.                                   :SmdfP => 3, :SagiP => 3, :SlukP => 3,
  1398.                                   :ShpP => 3,  :SmpP => 3,
  1399.                                   :SpriceP => 100 },
  1400.            
  1401.             }
  1402.            
  1403. #If true, then weapons and armors dropped by enemies will be randomized
  1404. RANDOM_ENEMY_DROPS = true
  1405. #Pool Rarity (Instead of a first come first serve, each affix is given a chance)
  1406. POOL_RARITY = false
  1407. #If true, weapons and armors bought from shops will be randomized
  1408. WA_SHOP_RANDOM = false
  1409. #True if you are using Sleek Item Popup, and want those to popup!
  1410. USE_ITEM_POPUP = false
  1411. #Stack random weapons and armor, when false all equips are unique
  1412. STACK_SAME_EQUIP = false
  1413. USE_RARITY = true
  1414. PREFIX_RARITY = [0]*16 + [1]*8 + [2]*4 + [3]*2 + [4]
  1415. SUFFIX_RARITY = [5]*8 + [6]*4 + [7]*2 + [8]
  1416. UNINCLUDED_AFFIXES = [0,1,2,3,4,5,6,7,8]
  1417.  
  1418. class Window_ItemList
  1419.   def col_max; 1; end
  1420.   def draw_item(index)
  1421.     item = @data[index]
  1422.     if item
  1423.       rect = item_rect(index)
  1424.       rect.width -= 4
  1425.       draw_item_name(item, rect.x, rect.y, enable?(item),item_width)
  1426.       draw_item_number(rect, item)
  1427.     end
  1428.   end
  1429. end
  1430.  
  1431. class Game_Interpreter
  1432.   def add_weapon(id, am)
  1433.     item = $game_party.add_weapon(id,am)
  1434.     popup(1,item.id,am) if USE_ITEM_POPUP
  1435.     item
  1436.   end
  1437.   def add_armor(id, am)
  1438.     item = $game_party.add_armor(id, am)
  1439.     popup(2,item.id,am) if USE_ITEM_POPUP
  1440.     item
  1441.   end
  1442.   def add_item(id, am)
  1443.     item = $game_party.add_item(id, am)
  1444.     popup(0,item.id,am) if USE_ITEM_POPUP
  1445.     item
  1446.   end
  1447.   def edit_affixes(item, subnote = nil)
  1448.     $game_party.edit_affixes(item, subnote)
  1449.   end
  1450. end
  1451.  
  1452. class Game_Party
  1453.   alias rig_initialize initialize
  1454.   def initialize
  1455.     rig_initialize
  1456.     @saved_weapons = $data_weapons
  1457.     @saved_armors = $data_armors
  1458.   end
  1459.   attr_accessor :saved_weapons
  1460.   attr_accessor :saved_armors
  1461.   def add_weapon(id, amount)
  1462.     item = Marshal.load(Marshal.dump($data_weapons[id]))
  1463.     edit_item(item)
  1464.     edit_affixes(item)
  1465.     if STACK_SAME_EQUIP
  1466.       $data_weapons.each do |base_item|
  1467.         next if base_item.nil?
  1468.         if ( item.params == base_item.params &&
  1469.             item.price == base_item.price &&
  1470.             item.name == base_item.name &&
  1471.             item.color == base_item.color)
  1472.           $game_party.gain_item(base_item, amount)
  1473.           return base_item
  1474.         end
  1475.       end
  1476.     end
  1477.     item.note = $data_weapons[item.id].note
  1478.     item.id = $data_weapons.size
  1479.     $data_weapons.push(item)
  1480.     $game_party.gain_item(item, amount)
  1481.     return item
  1482.   end
  1483.   def add_armor(id, amount)
  1484.     item = Marshal.load(Marshal.dump($data_armors[id]))
  1485.     edit_item(item)
  1486.     edit_affixes(item)
  1487.     if STACK_SAME_EQUIP
  1488.       $data_armors.each do |base_item|
  1489.         next if base_item.nil?
  1490.         if ( item.params == base_item.params &&
  1491.             item.price == base_item.price &&
  1492.             item.name == base_item.name &&
  1493.             item.color == base_item.color)
  1494.           $game_party.gain_item(base_item, amount)
  1495.           return base_item
  1496.         end
  1497.       end
  1498.     end
  1499.     item.note = $data_armors[item.id].note
  1500.     item.id = $data_armors.size
  1501.     $data_armors.push(item)
  1502.     $game_party.gain_item(item, amount)
  1503.     return item
  1504.   end
  1505.   def add_item(id, amount)
  1506.     item = Marshal.load(Marshal.dump($data_items[id]))
  1507.     edit_item(item)
  1508.     edit_affixes(item)
  1509.     $data_items.each do |base_item|
  1510.       next if base_item.nil?
  1511.       if (item.price == base_item.price &&
  1512.           item.name == base_item.name )
  1513.         $game_party.gain_item(base_item, amount)
  1514.         return base_item
  1515.       end
  1516.     end
  1517.     item.note = $data_items[item.id].note
  1518.     item.id = $data_items.size
  1519.     $data_items.push(item)
  1520.     $game_party.gain_item(item, amount)
  1521.     return item
  1522.   end
  1523.   def edit_affixes(item, subnote = nil)
  1524.     note = item.note.clone
  1525.     note = subnote.clone if subnote
  1526.     affix_pool = []
  1527.     while note.include?("<SUF")
  1528.       id = note =~ /<SUFFIX(\d+) (\d+)>/
  1529.       if !POOL_RARITY
  1530.         if !AFFIXES[$~[1].to_i].nil?
  1531.           break if add_affix(item, $~[1].to_i, false) if rand(100) < $2.to_i
  1532.           note[id] = "N"
  1533.         else
  1534.           msgbox("Affix #" + $1 + " doesn't exist. \nItem creation failed.")
  1535.           return
  1536.         end
  1537.       else
  1538.         if !AFFIXES[$~[1].to_i].nil?
  1539.           $2.to_i.times do
  1540.             affix_pool.push($1)
  1541.           end
  1542.           note[id] = "N"
  1543.         else
  1544.           msgbox("Affix #" + $1 + " doesn't exist. \nItem creation failed.")
  1545.           return
  1546.         end
  1547.       end
  1548.     end
  1549.     if !affix_pool.empty?
  1550.       add_affix(item, affix_pool[rand(affix_pool.size)], false) if POOL_RARITY
  1551.     end
  1552.     affix_pool = []
  1553.     while note.include?("<PRE")
  1554.       id = note =~ /<PREFIX(\d+) (\d+)>/
  1555.       if !POOL_RARITY
  1556.         if !AFFIXES[$~[1].to_i].nil?
  1557.           break if add_affix(item, $~[1].to_i, true) if rand(100) < $2.to_i
  1558.           note[id] = "N"
  1559.         else
  1560.           msgbox("Affix #" + $1 + " doesn't exist. \nItem creation failed.")
  1561.           return
  1562.         end
  1563.       else
  1564.         if !AFFIXES[$~[1].to_i].nil?
  1565.           $2.to_i.times do
  1566.             affix_pool.push($1)
  1567.           end
  1568.           note[id] = "N"
  1569.         else
  1570.           msgbox("Affix #" + $1 + " doesn't exist. \nItem creation failed.")
  1571.           return
  1572.         end
  1573.       end
  1574.     end
  1575.     if note.include?("<ALLPREFIX>")
  1576.       affix_added = false
  1577.       while !affix_added
  1578.         affix_id = AFFIXES.keys[rand(AFFIXES.keys[-1])]
  1579.         if !affix_id.nil? and !UNINCLUDED_AFFIXES.include?(affix_id)
  1580.           add_affix(item, affix_id, true)
  1581.           affix_added = true
  1582.         end
  1583.       end
  1584.     end
  1585.     if note.include?("<ALLSUFFIX>")
  1586.       affix_added = false
  1587.       while !affix_added
  1588.         affix_id = AFFIXES.keys[rand(AFFIXES.keys[-1])]
  1589.         if !affix_id.nil? and !UNINCLUDED_AFFIXES.include?(affix_id)
  1590.           add_affix(item, affix_id, false)
  1591.           affix_added = true
  1592.         end
  1593.       end
  1594.     end
  1595.     if !affix_pool.empty?
  1596.       add_affix(item, affix_pool[rand(affix_pool.size)], true) if POOL_RARITY
  1597.     end
  1598.     if USE_RARITY
  1599.       if !PREFIX_RARITY.empty?
  1600.         add_affix(item, PREFIX_RARITY[rand(PREFIX_RARITY.size)], true)
  1601.       end
  1602.       if !SUFFIX_RARITY.empty?
  1603.         add_affix(item, SUFFIX_RARITY[rand(SUFFIX_RARITY.size)], false)
  1604.       end
  1605.     end
  1606.   end
  1607.   def add_affix(item, id, prefix)
  1608.     affix = AFFIXES[id.to_i]
  1609.     if prefix
  1610.       if affix[:nameP].nil? && !affix[:name].nil?
  1611.         item.name = affix[:name] + item.name
  1612.       elsif !affix[:nameP].nil?
  1613.         item.name = affix[:nameP] + item.name
  1614.       end
  1615.     elsif
  1616.       if affix[:nameS].nil? && !affix[:name].nil?
  1617.         item.name = item.name + affix[:name]
  1618.       elsif !affix[:nameS].nil?
  1619.         item.name = item.name + affix[:nameS]
  1620.       end
  1621.     end
  1622.     if !affix[:rarity].nil?
  1623.       if item.rarity.nil? || item.rarity > affix[:rarity]
  1624.         item.set_color(affix[:color]) if !affix[:color].nil?
  1625.         item.rarity = affix[:rarity]
  1626.       end
  1627.     else
  1628.       item.set_color(affix[:color]) if !affix[:color].nil?
  1629.     end
  1630.    
  1631.     if !affix[:desc].nil?
  1632.       item.description = affix[:desc]
  1633.     end
  1634.    
  1635.     if !item.is_a?(RPG::Armor) && !affix[:animation].nil?
  1636.       item.animation_id = affix[:animation]
  1637.     end
  1638.    
  1639.     item.icon_index = affix[:icon] if !affix[:icon].nil?
  1640.    
  1641.     if !item.is_a?(RPG::Item)
  1642.       item.params[0] += rand(affix[:hp]) if !affix[:hp].nil?
  1643.       item.params[1] += rand(affix[:mp]) if !affix[:mp].nil?
  1644.       item.params[2] += rand(affix[:atk]) if !affix[:atk].nil?
  1645.       item.params[3] += rand(affix[:def]) if !affix[:def].nil?
  1646.       item.params[4] += rand(affix[:mat]) if !affix[:mat].nil?
  1647.       item.params[5] += rand(affix[:mdf]) if !affix[:mdf].nil?
  1648.       item.params[6] += rand(affix[:agi]) if !affix[:agi].nil?
  1649.       item.params[7] += rand(affix[:luk]) if !affix[:luk].nil?
  1650.     end
  1651.     item.price += rand(affix[:price]) if !affix[:price].nil?
  1652.    
  1653.     if !item.is_a?(RPG::Item)
  1654.       item.params[0] += affix[:Shp] if !affix[:Shp].nil?
  1655.       item.params[1] += affix[:Smp] if !affix[:Smp].nil?
  1656.       item.params[2] += affix[:Satk] if !affix[:Satk].nil?
  1657.       item.params[3] += affix[:Sdef] if !affix[:Sdef].nil?
  1658.       item.params[4] += affix[:Smat] if !affix[:Smat].nil?
  1659.       item.params[5] += affix[:Smdf] if !affix[:Smdf].nil?
  1660.       item.params[6] += affix[:Sagi] if !affix[:Sagi].nil?
  1661.       item.params[7] += affix[:Sluk] if !affix[:Sluk].nil?
  1662.     end
  1663.     item.price += affix[:Sprice] if !affix[:Sprice].nil?
  1664.    
  1665.     if !item.is_a?(RPG::Item)
  1666.       item.params[0] += item.params[0] * (rand(affix[:hpP])) / 100 if !affix[:hpP].nil?
  1667.       item.params[1] += item.params[1] * (rand(affix[:mpP])) / 100 if !affix[:mpP].nil?
  1668.       item.params[2] += item.params[2] * (rand(affix[:atkP])) / 100 if !affix[:atkP].nil?
  1669.       item.params[3] += item.params[3] * (rand(affix[:defP])) / 100 if !affix[:defP].nil?
  1670.       item.params[4] += item.params[4] * (rand(affix[:matP])) / 100 if !affix[:matP].nil?
  1671.       item.params[5] += item.params[5] * (rand(affix[:mdfP])) / 100 if !affix[:mdfP].nil?
  1672.       item.params[6] += item.params[6] * (rand(affix[:agiP])) / 100 if !affix[:agiP].nil?
  1673.       item.params[7] += item.params[7] * (rand(affix[:lukP])) / 100 if !affix[:lukP].nil?
  1674.     end
  1675.     item.price += item.price * (rand(affix[:priceP])) / 100 if !affix[:priceP].nil?
  1676.    
  1677.     if !item.is_a?(RPG::Item)
  1678.       item.params[0] += item.params[0] * affix[:ShpP] / 100 if !affix[:ShpP].nil?
  1679.       item.params[1] += item.params[1] * affix[:SmpP] / 100 if !affix[:SmpP].nil?
  1680.       item.params[2] += item.params[2] * affix[:SatkP] / 100 if !affix[:SatkP].nil?
  1681.       item.params[3] += item.params[3] * affix[:SdefP] / 100 if !affix[:SdefP].nil?
  1682.       item.params[4] += item.params[4] * affix[:SmatP] / 100 if !affix[:SmatP].nil?
  1683.       item.params[5] += item.params[5] * affix[:SmdfP] / 100 if !affix[:SmdfP].nil?
  1684.       item.params[6] += item.params[6] * affix[:SagiP] / 100 if !affix[:SagiP].nil?
  1685.       item.params[7] += item.params[7] * affix[:SlukP] / 100 if !affix[:SlukP].nil?
  1686.     end
  1687.     item.price += item.price * affix[:SpriceP] / 100 if !affix[:SpriceP].nil?
  1688.    
  1689.     if !item.is_a?(RPG::Item)
  1690.       item.params[0] += rand(item.avg_params * affix[:hpA]) if !affix[:hpA].nil?
  1691.       item.params[1] += rand(item.avg_params * affix[:mpA]) if !affix[:mpA].nil?
  1692.       item.params[2] += rand(item.avg_params * affix[:atkA]) if !affix[:atkA].nil?
  1693.       item.params[3] += rand(item.avg_params * affix[:defA]) if !affix[:defA].nil?
  1694.       item.params[4] += rand(item.avg_params * affix[:matA]) if !affix[:matA].nil?
  1695.       item.params[5] += rand(item.avg_params * affix[:mdfA]) if !affix[:mdfA].nil?
  1696.       item.params[6] += rand(item.avg_params * affix[:agiA]) if !affix[:agiA].nil?
  1697.       item.params[7] += rand(item.avg_params * affix[:lukA]) if !affix[:lukA].nil?
  1698.     end
  1699.    
  1700.     if !item.is_a?(RPG::Item)
  1701.       item.params[0] += item.avg_params * affix[:ShpA] if !affix[:ShpA].nil?
  1702.       item.params[1] += item.avg_params * affix[:SmpA] if !affix[:SmpA].nil?
  1703.       item.params[2] += item.avg_params * affix[:SatkA] if !affix[:SatkA].nil?
  1704.       item.params[3] += item.avg_params * affix[:SdefA] if !affix[:SdefA].nil?
  1705.       item.params[4] += item.avg_params * affix[:SmatA] if !affix[:SmatA].nil?
  1706.       item.params[5] += item.avg_params * affix[:SmdfA] if !affix[:SmdfA].nil?
  1707.       item.params[6] += item.avg_params * affix[:SagiA] if !affix[:SagiA].nil?
  1708.       item.params[7] += item.avg_params * affix[:SlukA] if !affix[:SlukA].nil?
  1709.     end
  1710.    
  1711.     if !affix[:features].nil? && !item.is_a?(RPG::Item)
  1712.       for feature in affix[:features]
  1713.         new_feature = RPG::BaseItem::Feature.new(feature[0], feature[1], feature[2])
  1714.         item.features.push(new_feature)
  1715.       end
  1716.     end
  1717.    
  1718.     return true
  1719.   end
  1720.   def edit_item(item)
  1721.     if !item.is_a?(RPG::Item)
  1722.       item.note =~ /<HP (\d+)>/
  1723.       item.params[0] += rand($~[1].to_i) if $~
  1724.       item.note =~ /<MP (\d+)>/
  1725.       item.params[1] += rand($~[1].to_i) if $~
  1726.       item.note =~ /<ATK (\d+)>/
  1727.       item.params[2] += rand($~[1].to_i) if $~
  1728.       item.note =~ /<DEF (\d+)>/
  1729.       item.params[3] += rand($~[1].to_i) if $~
  1730.       item.note =~ /<MAT (\d+)>/
  1731.       item.params[4] += rand($~[1].to_i) if $~
  1732.       item.note =~ /<MDF (\d+)>/
  1733.       item.params[5] += rand($~[1].to_i) if $~
  1734.       item.note =~ /<AGI (\d+)>/
  1735.       item.params[6] += rand($~[1].to_i) if $~
  1736.       item.note =~ /<LUK (\d+)>/
  1737.       item.params[7] += rand($~[1].to_i) if $~
  1738.       item.note =~ /<PRICE (\d+)>/
  1739.     end
  1740.     item.price += rand($~[1].to_i) if $~
  1741.    
  1742.     if !item.is_a?(RPG::Item)
  1743.       item.note =~ /<HP% (\d+)>/
  1744.       item.params[0] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1745.       item.note =~ /<MP% (\d+)>/
  1746.       item.params[1] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1747.       item.note =~ /<ATK% (\d+)>/
  1748.       item.params[2] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1749.       item.note =~ /<DEF% (\d+)>/
  1750.       item.params[3] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1751.       item.note =~ /<MAT% (\d+)>/
  1752.       item.params[4] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1753.       item.note =~ /<MDF% (\d+)>/
  1754.       item.params[5] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1755.       item.note =~ /<AGI% (\d+)>/
  1756.       item.params[6] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1757.       item.note =~ /<LUK% (\d+)>/
  1758.       item.params[7] += item.params[2] * (rand($~[1].to_i)) / 100 if $~
  1759.       item.note =~ /<PRICE% (\d+)>/
  1760.     end
  1761.     item.price += item.price * (rand($~[1].to_i)) / 100 if $~
  1762.   end
  1763. end
  1764.  
  1765. module BattleManager
  1766.   def self.gain_drop_items
  1767.     $game_troop.make_drop_items.each do |item|
  1768.       if RANDOM_ENEMY_DROPS
  1769.         if item.is_a?(RPG::Weapon)
  1770.           item = $game_party.add_weapon(item.id, 1)
  1771.         elsif item.is_a?(RPG::Armor)
  1772.           item = $game_party.add_armor(item.id, 1)
  1773.         else
  1774.           $game_party.gain_item(item, 1)
  1775.         end
  1776.       else
  1777.         $game_party.gain_item(item, 1)
  1778.       end
  1779.       $game_message.add(sprintf(Vocab::ObtainItem, item.name))
  1780.     end
  1781.     wait_for_message
  1782.   end
  1783. end
  1784.  
  1785. class Scene_Load
  1786.   alias rig_on_load_success on_load_success
  1787.   def on_load_success
  1788.     rig_on_load_success
  1789.     $data_weapons = $game_party.saved_weapons
  1790.     $data_armors = $game_party.saved_armors
  1791.   end
  1792. end
  1793.  
  1794. class Window_Base
  1795.   def draw_item_name(item, x, y, enabled = true, width = 172)
  1796.     return unless item
  1797.     draw_icon(item.icon_index, x, y, enabled)
  1798.     change_color(item.color, enabled)
  1799.     draw_text(x + 24, y, width, line_height, item.name)
  1800.     change_color(normal_color)
  1801.   end
  1802. end
  1803.  
  1804. class RPG::BaseItem
  1805.   attr_accessor  :rarity
  1806.   def color
  1807.     return Color.new(255,255,255) unless @color
  1808.     @color
  1809.   end
  1810.   def set_color(color)
  1811.     @color = color
  1812.   end
  1813.   def avg_params
  1814.     return 0 unless @params
  1815.     value = 0
  1816.     @params.each do |val|
  1817.       value += val
  1818.     end
  1819.     value / 8
  1820.   end
  1821. end
  1822.  
  1823. class Scene_Shop
  1824.   alias wa_do_buy do_buy
  1825.   def do_buy(number)
  1826.     if WA_SHOP_RANDOM
  1827.       number.times do |i|
  1828.         $game_party.lose_gold(buying_price)
  1829.         $game_party.add_weapon(@item.id, 1) if @item.is_a?(RPG::Weapon)
  1830.         $game_party.add_armor(@item.id, 1) if @item.is_a?(RPG::Armor)
  1831.         $game_party.gain_item(@item, 1) if @item.is_a?(RPG::Item)
  1832.       end
  1833.     else
  1834.       wa_do_buy(number)
  1835.     end
  1836.   end
  1837. end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×