fix(fight): 修复技能效果获取逻辑并调整伤害计算方式
-
This commit is contained in:
@@ -34,7 +34,8 @@ type OrderedMap[K comparable, V any] struct {
|
||||
// NewOrderedMap 创建一个新的泛型有序Map
|
||||
func NewOrderedMap[K comparable, V any]() *OrderedMap[K, V] {
|
||||
return &OrderedMap[K, V]{
|
||||
hash: &maphash.Hash{},
|
||||
hash: &maphash.Hash{},
|
||||
|
||||
hashTable: make(map[uint64]*MapEntry[K, V]),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user