This commit is contained in:
2024-09-29 16:52:10 +08:00
parent b2133d8463
commit 16be225768
19 changed files with 1860 additions and 180 deletions

View File

@@ -363,8 +363,10 @@ class Rindro_Anton_RewardC extends LenheartNewUI_Windows {
}
//绘制物品边框
if (OpenRealXrate >= 0.6) {
local Rarity = Rindro_ItemInfoObject[CardInfo.item].Rarity;
local Name = Rindro_ItemInfoObject[CardInfo.item].Name;
GetItemInfo(CardInfo.item);
local Rarity = L_sq_RA(Rindro_ItemInfoObject[CardInfo.item] + 0xF4);
local NamePointer = L_sq_RA(Rindro_ItemInfoObject[CardInfo.item] + 0x20);
local Name = NativePointer(L_sq_I2P(NamePointer)).readUnicodeString();
L_sq_DrawImg("interface2/raid/anton/reward/anton_reward.img", 5 + Rarity, X + 156 + (160 * i), Y + 378, 1, sq_RGBA(255, 255, 255, CradAlphaOffset), OpenRealXrate, 1.0);
//绘制物品
@@ -459,7 +461,8 @@ class Rindro_Anton_RewardC extends LenheartNewUI_Windows {
//奖励对象
local CardInfo = TeamReward[i];
if (CardInfo.Flag && CardInfo.item != -1) {
local Rarity = Rindro_ItemInfoObject[CardInfo.item].Rarity;
GetItemInfo(CardInfo.item);
local Rarity = L_sq_RA(Rindro_ItemInfoObject[CardInfo.item] + 0xF4);
//物品出现光
if (!CardInfo.grade) {
if (Rarity <= 2) { //低于紫色闪紫光