mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-19 01:20:08 +08:00
[fix] GiftSend
This commit is contained in:
parent
1baae21060
commit
6f3ea08085
@ -248,6 +248,9 @@ class GiftSend
|
||||
if ($gift['gift_id'] == 6) {
|
||||
$amt = (floor($surplus_num / 10) > $gift['gift_num']) ? $gift['gift_num'] : floor($surplus_num / 10);
|
||||
}
|
||||
if ($gift['gift_id'] == 30607) {
|
||||
$amt = (floor($surplus_num / 50) > $gift['gift_num']) ? $gift['gift_num'] : floor($surplus_num / 50);
|
||||
}
|
||||
return ($amt < 1) ? 1 : $amt;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user