3 ms·
This solution works until you have 1 type that has a different fallback than everything else.
by adgjlsfhk1 5y ago
This solution works until you have 1 type that has a different fallback than everything else.
- ALittleLight 5y agoI think it would still work. You would just need to define every attacker-defender pair for that type. If types with different fallbacks were common then you'd just define a dictionary of attack effectiveness fallbacks and the attack_effectiveness function would get from the attacker-defender dictionary and default to fallback for the attacker type.