Spaces:
Runtime error
Runtime error
File size: 1,826 Bytes
c255694 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
from typing import Dict, List
from base.gain import Gain
from base.recipe import attack_power_recipe, damage_addition_recipe, critical_strike_recipe
RECIPE_GAINS: Dict[str, Dict[str, Gain]] = {
"宫": {
"4%伤害": damage_addition_recipe([18860], 41),
"3%伤害": damage_addition_recipe([18860], 31),
"4%会心": critical_strike_recipe([18860], 400),
"3%会心": critical_strike_recipe([18860], 300),
"2%会心": critical_strike_recipe([18860], 200),
},
"商": {
"5%伤害": attack_power_recipe([14311, 9357], 1.05),
"4%伤害": attack_power_recipe([14311, 9357], 1.04),
"3%伤害": attack_power_recipe([14311, 9357], 1.03),
"4%会心": critical_strike_recipe([14311, 9357], 400),
"3%会心": critical_strike_recipe([14311, 9357], 300),
"2%会心": critical_strike_recipe([14311, 9357], 200),
},
"徵": {
"4%伤害": damage_addition_recipe([14227, 18859], 41),
"3%伤害": damage_addition_recipe([14227, 18859], 31),
"4%会心": critical_strike_recipe([14227, 18859], 400),
"3%会心": critical_strike_recipe([14227, 18859], 300),
"2%会心": critical_strike_recipe([14227, 18859], 200),
},
"羽": {
"4%伤害": damage_addition_recipe([14100], 41),
"3%伤害": damage_addition_recipe([14100], 31),
"4%会心": critical_strike_recipe([14100], 400),
"3%会心": critical_strike_recipe([14100], 300),
}
}
RECIPES: Dict[str, List[str]] = {
"宫": ["4%伤害", "4%会心", "3%伤害", "3%会心", "2%会心"],
"商": ["5%伤害", "4%伤害", "4%会心", "3%伤害", "3%会心", "2%会心"],
"徵": ["4%伤害", "4%会心", "3%伤害", "3%会心", "2%会心"],
"羽": ["4%伤害", "4%会心", "3%伤害", "3%会心"],
}
|