Commit 96a70486 authored by mercury233's avatar mercury233

update Semi-Nomi monster didn't summoned hint

parent 8779c0b1
......@@ -50,6 +50,7 @@ public static class InterString
GameStringHelper.mudi = Get("墓地");
GameStringHelper.chuwai = Get("除外");
GameStringHelper.ewai = Get("额外");
GameStringHelper.SemiNomi = Get("未正规召唤");
//GameStringHelper.diefang = Get("叠放");
GameStringHelper._wofang = Get("我方");
GameStringHelper._duifang = Get("对方");
......
......@@ -765,6 +765,7 @@ public static class BinaryExtensions
{
int status = r.ReadInt32();
cardToRefresh.disabled = (status & 0x0001) == 0x0001;
cardToRefresh.SemiNomiSummoned = (status & 0x0008) == 0x0008;
}
if ((flag & (int)Query.LScale) != 0)
data.LScale = r.ReadInt32();
......
......@@ -232,6 +232,7 @@ public class gameCard : OCGobject
GameObject nagaSign = null;
public bool disabled = false;
public bool SemiNomiSummoned = false;
public enum flashType
{
......@@ -1036,39 +1037,32 @@ public class gameCard : OCGobject
{
loaded_controller = (int)p.controller;
loaded_location = (int)p.location;
set_text("");
if (p.controller == 0 && (p.location & (UInt32)CardLocation.Deck) > 0)
{
set_text(GameStringHelper.kazu);
}
if (p.controller == 0 && (p.location & (UInt32)CardLocation.Extra) > 0)
{
set_text(GameStringHelper.ewai);
}
if (p.controller == 0 && (p.location & (UInt32)CardLocation.Grave) > 0)
string loc = "";
if ((p.location & (UInt32)CardLocation.Deck) > 0)
{
set_text(GameStringHelper.mudi);
loc = GameStringHelper.kazu;
}
if (p.controller == 0 && (p.location & (UInt32)CardLocation.Removed) > 0)
if ((p.location & (UInt32)CardLocation.Extra) > 0)
{
set_text(GameStringHelper.chuwai);
loc = GameStringHelper.ewai;
}
if (p.controller == 1 && (p.location & (UInt32)CardLocation.Deck) > 0)
if ((p.location & (UInt32)CardLocation.Grave) > 0)
{
set_text("<#ff8888>" + GameStringHelper.kazu + "</color>");
loc = GameStringHelper.mudi;
}
if (p.controller == 1 && (p.location & (UInt32)CardLocation.Extra) > 0)
if ((p.location & (UInt32)CardLocation.Removed) > 0)
{
set_text("<#ff8888>" + GameStringHelper.ewai + "</color>");
loc = GameStringHelper.chuwai;
}
if (p.controller == 1 && (p.location & (UInt32)CardLocation.Grave) > 0)
if (!SemiNomiSummoned && (data.Type & 0x68020C0) > 0 && (p.location & ((UInt32)CardLocation.Grave + (UInt32)CardLocation.Removed)) > 0)
{
set_text("<#ff8888>" + GameStringHelper.mudi + "</color>");
loc = GameStringHelper.SemiNomi;
}
if (p.controller == 1 && (p.location & (UInt32)CardLocation.Removed) > 0)
if (p.controller == 1 && loc != "")
{
set_text("<#ff8888>" + GameStringHelper.chuwai + "</color>");
loc = "<#ff8888>" + loc + "</color>";
}
set_text(loc);
}
}
......
......@@ -31,6 +31,7 @@ public class GameStringHelper
public static string mudi = "";
public static string chuwai = "";
public static string ewai = "";
public static string SemiNomi = "";
public static bool differ(long a, long b)
{
......
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: 0439708dd1f05224499df1de9c11f594
timeCreated: 1621927581
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
1234567890QWERTYUIOPLKJHGFDSAZXCVBNMqwertyuioplkjhgfdsazxcvbnm?/ҷĹؿ
\ No newline at end of file
1234567890QWERTYUIOPLKJHGFDSAZXCVBNMqwertyuioplkjhgfdsazxcvbnm?/()_我方对手牌墓地卡组除外额未正规召唤
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment