This commit is contained in:
ntr 2019-01-06 23:24:08 +11:00
parent 6fc554d0d1
commit 1b8393e27d

View File

@ -69,8 +69,8 @@ pub fn item_drop(tx: &mut Transaction, account_id: Uuid) -> Result<Item, Error>
let actions = [
(ItemAction::RerollStamina, 1),
(ItemAction::RerollPhysDamage, 1),
(ItemAction::RerollSpellDamage, 1)
(ItemAction::RerollSpeed, 1)
(ItemAction::RerollSpellDamage, 1),
(ItemAction::RerollSpeed, 1),
];
let dist = WeightedIndex::new(actions.iter().map(|item| item.1)).unwrap();