-- I make this to literally show people that this was an exploit.
-- prices are in copper
rare_armor = 1780
cost_salvage = 60
sell_ecto = 2400
gold = 0
flakes = 0
ectos = 0
salvages = 1000 -- amount of salvages you wanna do
math.randomseed(os.time())
for x = 1, salvages do
gold = gold - cost_salvage -- costs money to buy kits
gold = gold - rare_armor
if math.random(1,10) ~= 1 then ectos = ectos + 1 end -- you have a 90% chance to get an ecto (as in the large scale master kits will yield .9 ectos per rare)
end
print (ectos .. " ectos salvaged.")
gold = gold + (ectos * sell_ecto) -- sell your ectos for 12s each
print (gold / 10000 .. "g profit.")