This commit is contained in:
33333-33333 2026-06-30 22:30:37 +09:00
commit 7455d630fc
82 changed files with 2179 additions and 900 deletions

View file

@ -27,8 +27,8 @@ const HEALTH = (() => {
antEaten: "\u30a2\u30ea\u306b\u98df\u3079\u3089\u308c\u305f",
giantDrug: "\u5de8\u5927\u85ac",
dwarfDrug: "\u77ee\u5c0f\u85ac",
freeze: "凍結",
heatstroke: "熱中症",
freeze: "\u51CD\u7D50",
heatstroke: "\u71B1\u4E2D\u75C7",
});
const DISEASE_RE = /([^\u3001\u3002\s]+\u75c5)/;
@ -36,8 +36,8 @@ const HEALTH = (() => {
const text = String(reason || "");
if (!text) return "";
if (text.includes(WEAKENED_SUFFIX)) return text.replace(/\u3067\u8870\u5f31.*$/, "");
if (/凍結|低温|寒さ|cold|freeze|freezing/i.test(text)) return CAUSES.freeze;
if (/熱中症|高温|暑さ|heat|hot/i.test(text)) return CAUSES.heatstroke;
if (/\u51CD\u7D50|\u4F4E\u6E29|\u5BD2\u3055|cold|freeze|freezing/i.test(text)) return CAUSES.freeze;
if (/\u71B1\u4E2D\u75C7|\u9AD8\u6E29|\u6691\u3055|heat|hot/i.test(text)) return CAUSES.heatstroke;
if (/\u5c04\u6483|shoot/.test(text)) return CAUSES.shooting;
if (/\u77f3\u306b\u6f70\u3055\u308c\u305f|\u77f3.*\u6f70|stone.*crush|crushed.*stone/.test(text)) return CAUSES.stoneCrush;
const collisionWith = text.match(/([^\u3001\u3002\s]+?)(?:\u306b|\u3068\u306e)\u885d\u7a81/);