mirror of
https://github.com/Hibiya615/TetoraKAScript.git
synced 2025-12-21 01:04:50 +08:00
update
This commit is contained in:
@@ -106,13 +106,9 @@ public class Tsukuyomi
|
||||
public void 月读(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
if (@event.TargetId() != accessory.Data.Me) return;
|
||||
string statusID = @event.StatusId.ToString();
|
||||
if (System.Text.RegularExpressions.Regex.IsMatch(statusID, "^153[89]$"))
|
||||
{
|
||||
string color = statusID == "1538" ? "黑色" : "白色";
|
||||
var color = @event.StatusId == 1538 ? "黑色" : "白色";
|
||||
if (isText) accessory.Method.TextInfo($"吃{color}", duration: 2000, true);
|
||||
if (isTTS) accessory.Method.EdgeTTS($"吃{color}");
|
||||
}
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "月下缭乱(连续分摊)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:11259"])]
|
||||
|
||||
Reference in New Issue
Block a user