瀏覽代碼

Display item_id of current item combo set (#5911)

- fix item_id aren't shown.
HAO YAN 4 年之前
父節點
當前提交
82ff5203ef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -12645,7 +12645,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty
 	}
 
 	if (current_equip_combo_pos && tick == INFINITE_TICK) {
-		ShowWarning("sc_start: Item combo contains an INFINITE_TICK duration. Skipping bonus.\n");
+		ShowWarning("sc_start: Item combo of item #%u contains an INFINITE_TICK duration. Skipping bonus.\n", sd->inventory_data[pc_checkequip(sd, current_equip_combo_pos)]->nameid);
 		return 0;
 	}