Weapon/Armor Randomization

I am using Dekita's Stat Control script too, and all of the settings are working for me, just tested it.


But I am not using the latest version of Stat Control (it was 1.8 when I last checked), because that one got issues with many scripts I am using, so I went back to using the 1.7 version.


So, with that version, all of the settings work for me from Vlue's Randomizer.
I am using Dekita's Stat Control script too, and all of the settings are working for me, just tested it.

But I am not using the latest version of Stat Control (it was 1.8 when I last checked), because that one got issues with many scripts I am using, so I went back to using the 1.7 version.

So, with that version, all of the settings work for me from Vlue's Randomizer.
The problem could be with the 1.8 script. Would it be possible for you to send me the 1.7 version to try out?
Hi! Must say I love your script and I have been building in it for a long time. I requested the prefix and suffix description a while back. I was wondering if I can request another feature? Right now I'm spending lots of hours trying to make a chance of resisting 1 of any resistances. Example, I have 26 different variances of Ceremonial* as a prefix but has a chance of having an elemental resistance. With 26 variances of ceremonial and a chance of getting a resistance on each of them I'm having to make 390 different ceremonial* prefixes lol. Takes a long time but I'm building a long game. I was wondering if you could make my job easier and add a feature that gives you a variable roll for resistance. So 11, 10, 0.95 gives me 5 percent elemental resistance of the 10th element. Can you make it so it rolls between the elements that you choose. So I have a chance of getting 1 of any resistance. Rather than me making 390 different prefixes with the same name. If you get it. I know I'm not the best at explaining but I hope I get ot the message across. Thanks Vlue!
So it'd be 11, 10-25, 0.95 for 5 percent resistance to any 1 of the resistances between 10 and 25
Any 1 of the elements* type o. Thanks 🙂
I am not Vlue, but I can help you with setting up a basic randomizer in this script for features.

Find this line in the script:

new_feature = RPG::BaseItem::Feature.new(feature[0], feature[1], feature[2])Change it to this:

Code:
        if feature[3] != nil          new_feature = RPG::BaseItem::Feature.new(feature[0], feature[1] + rand(feature[3]), feature[2])        else          new_feature = RPG::BaseItem::Feature.new(feature[0], feature[1], feature[2])        end
Now, you can make a randomized feature for your affixes.If you include a 4th number in any ':features' setting, that 4th number will be a random number between 0 and the number you set up minus 1 (!) which will be added to the base feature id.

For example:

104 => { :name => "Random Test", :color => Color.new(50,255,0), :features => [[11,3,0.50,7]]},This affix will add 50% resistance to one of the elements with ID 3 to 10. The ID will randomly change each time you add an item with this affix chance on it.Do note: Never put a higher value than your ('max feature.data_id' - 'the starting feature.data_id') for the new :features number or else you will get errors left and right!

For example, if you have 10 elements set up in the database, and you make a feature for an affix like this:

:features => [[11,5,0.50,8]]This can throw errors, if the total value of the base feature.data_id (5 in the example) plus the random number generated will be a higher number than 10. rand(8) will generate a number between 0 and 7. So, if it generates a number higher than 5, an error will most probably pop out.This can also be used to randomize any other feature setup in your affix settings.

I guess, this is what you wanted, right?

Edit:

Scratch my first version, that limited the usage to affixes with only one :features setup. Now the new setting affects only individual feature setups.
That's so sweet thanks for your help! I will look into it when I get home. I'm so excited to try this out thank you !! 😀 I'll post back on here and let you know how it goes !
I haven't got home to check it out yet but looking at it seems easy enough to do but what do you mean that limits the useage to affixes with only one? And what do you mean It only effects individual feature set ups? I don't get that last "edit" section in your post.
Oh wait I think I get it I can only have 1 feature, I can't have multiple features .vis there a way to fix that?
I guess it's not a big deal tho its better than where I was lol
Nevermind the edit of mine.


If you don't understand what I meant by that, than you probably did not see my original post, which means you don't have to worry about it. 😛


You can have unlimited features set up like that, don't worry. 🙂


Btw, there is an edit button you might find useful. 😛
Oh what! Ok haha that's awsome. Sweet. I'm so excited to try this out that will turn my 3 months of work into 3 days!! You saved a lot of time and I am grateful 🙂
I get a syntax error

Unexpected tIDENTIFIER, expecting keyword _then or ';' or \n'

...f feature [3] != nil new _ feature = RPG::BaseItem::Feature.new
There should be a line break after the nil check.

Change the line I wrote above exactly how I wrote including the line breaks. So, instead of 1 single line, you will get 5.

There should be no errors like that, I tested it.
I tried that it's it's still being buggy says stack level too deep. I will keep trying tho
But it might be a other script I did just put in a bunch of new ones. I'll start looking at those first
Hi, I'm using Yanfly Engine Ace - Convert Damage.
 

Spoiler
#==============================================================================
#
# ▼ Yanfly Engine Ace - Convert Damage v1.02
# -- Last Updated: 2012.01.23
# -- Level: Normal
# -- Requires: n/a
#
#==============================================================================

$imported = {} if $imported.nil?
$imported["YEA-ConvertDamage"] = true

#==============================================================================
# ▼ Updates
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# 2013.02.17 - Bug fixes.
# 2012.01.23 - Compatibility Update: Doppelganger
# 2011.12.21 - Started Script and Finished.
#
#==============================================================================
# ▼ Introduction
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This script gives actors, classes, equipment, enemies, and states passive
# convert damage HP/MP traits. By dealing physical or magical damage (dependant
# on the type of attack), attackers may recover HP or MP depending on what
# kinds of convert damage types they have.
#
#==============================================================================
# ▼ Instructions
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ▼ Materials/素材 but above ▼ Main. Remember to save.
#
# -----------------------------------------------------------------------------
# Actor Notetags - These notetags go in the actors notebox in the database.
# -----------------------------------------------------------------------------
#
#
# Converts any physical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any physical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
#
#
# Prevents attackers from converting damage of those particular types. All
# converted recovery effects of that type will be reduced to 0.
#
# -----------------------------------------------------------------------------
# Class Notetags - These notetags go in the class notebox in the database.
# -----------------------------------------------------------------------------
#
#
# Converts any physical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any physical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
#
#
# Prevents attackers from converting damage of those particular types. All
# converted recovery effects of that type will be reduced to 0.
#
# -----------------------------------------------------------------------------
# Skill Notetags - These notetags go in the skills notebox in the database.
# -----------------------------------------------------------------------------
#
# Prevents any kind of converted damage effects from being applied when this
# skill is used.
#
# -----------------------------------------------------------------------------
# Item Notetags - These notetags go in the items notebox in the database.
# -----------------------------------------------------------------------------
#
# Prevents any kind of converted damage effects from being applied when this
# item is used.
#
# -----------------------------------------------------------------------------
# Weapon Notetags - These notetags go in the weapons notebox in the database.
# -----------------------------------------------------------------------------
#
#
# Converts any physical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any physical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
#
#
# Prevents attackers from converting damage of those particular types. All
# converted recovery effects of that type will be reduced to 0.
#
# -----------------------------------------------------------------------------
# Armour Notetags - These notetags go in the armours notebox in the database.
# -----------------------------------------------------------------------------
#
#
# Converts any physical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any physical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
#
#
# Prevents attackers from converting damage of those particular types. All
# converted recovery effects of that type will be reduced to 0.
#
# -----------------------------------------------------------------------------
# Enemy Notetags - These notetags go in the enemies notebox in the database.
# -----------------------------------------------------------------------------
#
#
# Converts any physical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any physical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
#
#
# Prevents attackers from converting damage of those particular types. All
# converted recovery effects of that type will be reduced to 0.
#
# -----------------------------------------------------------------------------
# State Notetags - These notetags go in the states notebox in the database.
# -----------------------------------------------------------------------------
#
#
# Converts any physical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover HP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if HP
# to be healed is 0 or below.
#
#
#
# Converts any physical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
# Converts any magical damage dealt to recover MP by x% of the damage dealt.
# Bonus converted damage rates are additive. There will be no effects if MP
# to be healed is 0 or below.
#
#
#
#
#
# Prevents attackers from converting damage of those particular types. All
# converted recovery effects of that type will be reduced to 0.
#
#==============================================================================
# ▼ Compatibility
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This script is made strictly for RPG Maker VX Ace. It is highly unlikely that
# it will run with RPG Maker VX without adjusting.
#
# For maximum compatibility with Yanfly Engine Ace - Ace Battle Engine, place
# this script under Ace Battle Engine.
#
#==============================================================================

module YEA
module CONVERT_DAMAGE

#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# - Limit Settings -
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Adjust the maximum converted damage rate for dealing damage (so that an
# attacker cannot gain huge amounts of recovery).
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
MAXIMUM_RATE = 1.0 # Maximum gain from dealing damage.

end # CONVERT_DAMAGE
end # YEA

#==============================================================================
# ▼ Editting anything past this point may potentially result in causing
# computer damage, incontinence, explosion of user's head, coma, death, and/or
# halitosis so edit at your own risk.
#==============================================================================

module YEA
module REGEXP
module BASEITEM

CONVERT_DMG = /<(?:CONVERT|convert)[ ](.*)[ ](.*):[ ]([\+\-]\d+)([%%])>/i
ANTICONVERT = /<(?:ANTI_CONVERT|anti convert|anticonvert)[ ](.*)[ ](.*)>/i

end # BASEITEM
module USABLEITEM

NO_CONVERT = /<(?:NO_CONVERT|no convert)>/i

end # USABLEITEM
end # REGEXP
end # YEA

#==============================================================================
# ■ DataManager
#==============================================================================

module DataManager

#--------------------------------------------------------------------------
# alias method: load_database
#--------------------------------------------------------------------------
class < def self.load_database
load_database_convertdmg
load_notetags_convertdmg
end

#--------------------------------------------------------------------------
# new method: load_notetags_convertdmg
#--------------------------------------------------------------------------
def self.load_notetags_convertdmg
groups = [$data_actors, $data_classes, $data_weapons, $data_armors,
$data_enemies, $data_states, $data_skills, $data_items]
for group in groups
for obj in group
next if obj.nil?
obj.load_notetags_convertdmg
end
end
end

end # DataManager

#==============================================================================
# ■ RPG::BaseItem
#==============================================================================

class RPG::BaseItem

#--------------------------------------------------------------------------
# public instance variables
#--------------------------------------------------------------------------
attr_accessor :convert_dmg
attr_accessor :anticonvert

#--------------------------------------------------------------------------
# common cache: load_notetags_convertdmg
#--------------------------------------------------------------------------
def load_notetags_convertdmg
@convert_dmg ={
:hp_physical => 0.0,
:hp_magical => 0.0,
:mp_physical => 0.0,
:mp_magical => 0.0,
} # Do not remove this.
@anticonvert = []
#---
self.note.split(/[\r\n]+/).each { |line|
case line
#---
when YEA::REGEXP::BASEITEM::CONVERT_DMG
case $1.upcase
when "HP"
case $2.upcase
when "PHYSICAL"; type = :hp_physical
when "MAGICAL"; type = :hp_magical
else; next
end
when "MP"
case $2.upcase
when "PHYSICAL"; type = :mp_physical
when "MAGICAL"; type = :mp_magical
else; next
end
else; next
end
@convert_dmg[type] = $3.to_i * 0.01
#---
when YEA::REGEXP::BASEITEM::ANTICONVERT
case $1.upcase
when "HP"
case $2.upcase
when "PHYSICAL"; type = :hp_physical
when "MAGICAL"; type = :hp_magical
else; next
end
when "MP"
case $2.upcase
when "PHYSICAL"; type = :mp_physical
when "MAGICAL"; type = :mp_magical
else; next
end
else; next
end
@anticonvert.push(type)
#---
end
} # self.note.split
#---
end

end # RPG::BaseItem

#==============================================================================
# ■ RPG::UsableItem
#==============================================================================

class RPG::UsableItem < RPG::BaseItem

#--------------------------------------------------------------------------
# public instance variables
#--------------------------------------------------------------------------
attr_accessor :no_convert

#--------------------------------------------------------------------------
# common cache: load_notetags_convertdmg
#--------------------------------------------------------------------------
def load_notetags_convertdmg
#---
self.note.split(/[\r\n]+/).each { |line|
case line
#---
when YEA::REGEXP::USABLEITEM::NO_CONVERT
@no_convert = true
#---
end
} # self.note.split
#---
end

end # RPG::UsableItem

#==============================================================================
# ■ Game_BattlerBase
#==============================================================================

class Game_BattlerBase

#--------------------------------------------------------------------------
# new method: convert_dmg_rate
#--------------------------------------------------------------------------
def convert_dmg_rate(type)
n = 0.0
if actor?
n += self.actor.convert_dmg[type]
n += self.class.convert_dmg[type]
for equip in equips
next if equip.nil?
n += equip.convert_dmg[type]
end
else
n += self.enemy.convert_dmg[type]
if $imported["YEA-Doppelganger"] && !self.class.nil?
n += self.class.convert_dmg[type]
end
end
for state in states
next if state.nil?
n += state.convert_dmg[type]
end
max_rate = YEA::CONVERT_DAMAGE::MAXIMUM_RATE
return [[n, max_rate].min, -max_rate].max
end

#--------------------------------------------------------------------------
# new method: anti_convert?
#--------------------------------------------------------------------------
def anti_convert?(type)
if actor?
return true if self.actor.anticonvert.include?(type)
return true if self.class.anticonvert.include?(type)
for equip in equips
next if equip.nil?
return true if equip.anticonvert.include?(type)
end
else
return true if self.enemy.anticonvert.include?(type)
end
for state in states
next if state.nil?
return true if state.anticonvert.include?(type)
end
return false
end

end # Game_BattlerBase

#==============================================================================
# ■ Game_Battler
#==============================================================================

class Game_Battler < Game_BattlerBase

#--------------------------------------------------------------------------
# alias method: execute_damage
#--------------------------------------------------------------------------
alias game_battler_execute_damage_convertdmg execute_damage
def execute_damage(user)
apply_vampire_effects(user)
game_battler_execute_damage_convertdmg(user)
end

#--------------------------------------------------------------------------
# new method: apply_vampire_effect
#--------------------------------------------------------------------------
def apply_vampire_effects(user)


return unless $game_party.in_battle
return unless @result.hp_damage > 0 || @result.mp_damage > 0
return if user.current_action.nil?
action = user.current_action.item
return if action == nil
return if action.no_convert
apply_convert_physical_effect(user) if action.physical?
apply_convert_magical_effect(user) if action.magical?
end

#--------------------------------------------------------------------------
# new method: apply_convert_physical_effect
#--------------------------------------------------------------------------
def apply_convert_physical_effect(user)
hp_rate = user.convert_dmg_rate🙂hp_physical)
hp_rate = 0 if anti_convert?🙂hp_physical)
hp_healed = (@result.hp_damage * hp_rate).to_i
mp_rate = user.convert_dmg_rate🙂mp_physical)
mp_rate = 0 if anti_convert?🙂mp_physical)
mp_healed = (@result.mp_damage * mp_rate).to_i
if hp_healed != 0
user.hp += hp_healed
make_ace_battle_engine_convert_hp_popup(user, hp_healed)
end
if mp_healed != 0
user.mp += mp_healed
make_ace_battle_engine_convert_mp_popup(user, mp_healed)
end
end

#--------------------------------------------------------------------------
# new method: apply_convert_magical_effect
#--------------------------------------------------------------------------
def apply_convert_magical_effect(user)
hp_rate = user.convert_dmg_rate🙂hp_magical)
hp_rate = 0 if anti_convert?🙂hp_magical)
hp_healed = (@result.hp_damage * hp_rate).to_i
mp_rate = user.convert_dmg_rate🙂mp_magical)
mp_rate = 0 if anti_convert?🙂mp_magical)
mp_healed = (@result.mp_damage * mp_rate).to_i
if hp_healed != 0
user.hp += hp_healed
make_ace_battle_engine_convert_hp_popup(user, hp_healed)
end
if mp_healed != 0
user.mp += mp_healed
make_ace_battle_engine_convert_mp_popup(user, mp_healed)
end
end

#--------------------------------------------------------------------------
# new method: make_ace_battle_engine_convert_hp_popup
#--------------------------------------------------------------------------
def make_ace_battle_engine_convert_hp_popup(user, hp_healed)
return unless $imported["YEA-BattleEngine"]
setting = hp_healed > 0 ? :hp_heal : :hp_dmg
rules = hp_healed > 0 ? "HP_HEAL" : "HP_DMG"
value = hp_healed.abs
text = sprintf(YEA::BATTLE:😛OPUP_SETTINGS[setting], value.group)
user.create_popup(text, rules)
end

#--------------------------------------------------------------------------
# new method: make_ace_battle_engine_convert_mp_popup
#--------------------------------------------------------------------------
def make_ace_battle_engine_convert_mp_popup(user, mp_healed)
return unless $imported["YEA-BattleEngine"]
setting = mp_healed > 0 ? :mp_heal : :mp_dmg
rules = mp_healed > 0 ? "MP_HEAL" : "MP_DMG"
value = mp_healed.abs
text = sprintf(YEA::BATTLE:😛OPUP_SETTINGS[setting], value.group)
user.create_popup(text, rules)
end

end # Game_Battler

#==============================================================================
#
# ▼ End of File
#
#==============================================================================
;>

By adding <convert hp physical: +x%> on an weapon, x% of damage can be converted to actor's HP. I wanna give a suffix or preffix such a feature. Is it possible?
Try this for convert damage effects:

Make an affix like this (for example):

105 => { :name => "Vampire's ", :color => Color.new(220,55,55), :convert_damage => [[:hp_physical,0.3],[:mp_physical,0.1]], :anticonvert => [:hp_magical,:mp_physical]}, 106 => { :name => " of the Leech", :color => Color.new(55,55,220), :convert_damage => [[:mp_magical,0.3]]},Now, go and find this line in the randomizer script:

Code:
return true
Just above this line, paste this little piece of code:

Code:
    if !affix[:convert_damage].nil? && !item.is_a?(RPG::Item)      for conv_dmg in affix[:convert_damage]        item.convert_dmg[conv_dmg[0]] = conv_dmg[1]      end    end        if !affix[:anticonvert].nil? && !item.is_a?(RPG::Item)      for anti_conv in affix[:anticonvert]        item.anticonvert.push(anti_conv)      end    end
With this, the above affix setup with ID 105 would give 30% hp-drain effect, 10% mp-drain on physical attacks, and anti-convert effects for magical hp-drain effects and for physical mp-drain effects, and the affix with ID 106 would give 30% mp-drain effect on magical attacks.You can use :hp_physical, :mp_physical, :hp_magical and :mp_magical to determine the type of the drain effect.

The number in the affix setup is a float value, meaning 1 = 100%, 0.5 = 50%, 0.01 = 1% and so on.

I tested this on a few items and it works, so I guess it will work for you too.

I will try to add the anti-convert effects too withing a few minutes.

Edit: Added setup for anticonvert effects.

@Psycho

Never put in a lot of scripts at once into your project, that will make debugging an awfully painful job to do. Do it one by one, test the script properly, and if it did not return any errors, incompatibilities or non-functionalism, move on to the next one.

"Stack level too deep" means there is a script inserted multiple times in your project, or there are some methods aliased with the same name.

This is why you should put the scripts one by one instead of putting in many at the same time.
Thanks, works like a charm! 🙂
@ sixth ok thanks for the post. Yeah I always drop a bunch of scripts in at once comment them out and work with them individually lol. I have got more custom scripts than default scripts. I've been in development of my game for over 2 years and have yet to have any game play or eventing. I appreciate your time and efforts in helping me and others on this forum. Actually I'm looking for somebody to write me a basic script if your interested PM me 🙂

Original thread: https://forums.rpgmakerweb.com/threads/weapon-armor-randomization.14771/