ss
This commit is contained in:
parent
091afc2b5c
commit
28591233f3
85 changed files with 946 additions and 267 deletions
|
|
@ -449,6 +449,13 @@
|
|||
target.fearTimer = Math.max(num(target.fearTimer), 0.8);
|
||||
target.electricShockUntil = Math.max(num(target.electricShockUntil), now + 0.62);
|
||||
target.setActionState?.("panic", { target: null, reason: "\u611f\u96fb\u3057\u3066\u3044\u308b", wake: true, sleeping: false });
|
||||
if (target.isAcquiredTarinai && now >= Number(target.ochibiElectricVoiceAt || 0)) {
|
||||
target.ochibiElectricVoiceAt = now + 1.8;
|
||||
if (target.bubble?.("びりびりちゃ!", 1.4, "rgba(70,104,168,0.82)", { force: true })) {
|
||||
const a = global.TarinaiAudio;
|
||||
if (a?.playSample) a.playSample("voice_ochibi_electric_006", 0.9, "voice") || a.play?.("voice_ochibi_electric_006", { category: "voice", minGap: 0.9 });
|
||||
}
|
||||
}
|
||||
}
|
||||
emitEffect(worldRef, "electric_shock", target.x, target.y - Math.max(3, num(target.radius ?? target.r, 12) * 0.12), {
|
||||
size: Math.max(12, num(target.radius ?? target.r, 12) * 1.15),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue