comma
This commit is contained in:
parent
6fc554d0d1
commit
1b8393e27d
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user