7.肾上腺素,使用无效果且不消耗

This commit is contained in:
aozhiwei 2021-06-23 10:33:45 +00:00
parent 7f15d2d2e8
commit 9ec0b6fd47

View File

@ -311,7 +311,12 @@ void Player::UpdateCancelAction()
void Player::UpdateUseItemIdx()
{
if (downed) {
#if 1
if (use_item_idx == 24) {
use_item_idx = IS_SHEN_BAO;
}
#endif
if (downed && use_item_idx != IS_SHEN_BAO) {
return;
}
if (use_item_idx >= 0 && use_item_idx < IS_END) {