refactor: 将装备掉落函数重命名为更通用的物品掉落函数
重命名 sq_DropEquipmentUnique 为 sq_DropItemUnique 和 sq_DropEquipment 为 sq_DropItem,使函数命名更准确反映其实际功能,适用于更广泛的物品掉落场景
This commit is contained in:
@@ -291,7 +291,7 @@ function sq_GetCurrentAttackBackForce(attackInfo) {
|
||||
return Res;
|
||||
}
|
||||
|
||||
function sq_DropEquipmentUnique(id, posX, posY) {
|
||||
function sq_DropItemUnique(id, posX, posY) {
|
||||
local T = {
|
||||
op = 21016001,
|
||||
id = id,
|
||||
@@ -301,7 +301,7 @@ function sq_DropEquipmentUnique(id, posX, posY) {
|
||||
Rindro_BaseToolClass.SendPackEx(T);
|
||||
}
|
||||
|
||||
function sq_DropEquipment(rarity, posX, posY)
|
||||
function sq_DropItem(rarity, posX, posY)
|
||||
{
|
||||
local T = {
|
||||
op = 21016003,
|
||||
|
||||
Reference in New Issue
Block a user