ss
This commit is contained in:
parent
091afc2b5c
commit
28591233f3
85 changed files with 946 additions and 267 deletions
|
|
@ -259,6 +259,7 @@
|
|||
t.hurtTimer=Math.max(t.hurtTimer||0,.22);
|
||||
t.electricShockUntil=Math.max(Number(t.electricShockUntil||0),now+.48);
|
||||
t.setActionState?.("panic",{target:null,reason:"\u611f\u96fb\u3057\u3066\u3044\u308b\u3002",wake:true,sleeping:false});
|
||||
if(t.isAcquiredTarinai&&now>=Number(t.ochibiElectricVoiceAt||0)){t.ochibiElectricVoiceAt=now+1.8;if(t.bubble?.("びりびりちゃ!",1.4,"rgba(70,104,168,0.82)",{force:true})){const a=globalThis.TarinaiAudio;if(a?.playSample)a.playSample("voice_ochibi_electric_006",.9,"voice")||a.play?.("voice_ochibi_electric_006",{category:"voice",minGap:.9});}}
|
||||
world.queueEffect?.("electric_shock",t.x,t.y-Math.max(2,(t.radius||18)*.15),{size:Math.max(18,(t.radius||18)*1.35),life:.32,color:"rgba(122,224,255,0.98)",importance:3,forceVisual:true});
|
||||
hit++;
|
||||
}
|
||||
|
|
@ -365,6 +366,7 @@
|
|||
if(item.type==="leakage_device")return updateLeakage(item,dt,world);
|
||||
if(item.type==="poison_gas_can")return updatePoisonGasCan(item,dt,world);
|
||||
if(item.type==="poison_gas")return updateGas(item,dt,world);
|
||||
if(item.type==="mamekusaredake"||item.type==="mame_spore") return global.TarinaiMamekusaredakeSystem?.updateItem?.(item,dt,world) || false;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue