猫咪戏法修改

This commit is contained in:
hahwu 2025-07-29 18:46:23 +08:00
parent 6118aba235
commit cd687ee1e2

View File

@ -453,7 +453,7 @@ func (l *LimitedTimeEventMod) GetCatTrickReward() ([]*item.Item, error) {
if d.Energy < 100 {
return nil, fmt.Errorf("CatTrick energy not enough")
}
d.Energy = 0
d.Energy -= 100
return []*item.Item{
{Id: item.ITEM_DIAMOND_ID, Num: 1},
}, nil