Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 2001/ze_hr_dead_center/deinfect.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Instance, Entity, CSWeaponAttackType } from "cs_script/point_script";
/**
* 防化脚本
* 此脚本用于实现类似求生之路中的感染者攻击而非ze模式中的直接感染
* 此脚本为针对风云社参数适配后的版本,对比原版,将僵尸低血量时的1000血降为600血
* 此脚本为针对风云社适配后的版本
* 使用其他方式来代替返回abort实现免抓的效果
* 此脚本由皮皮猫233编写
* 2026/3/17
* 2026/4/20
*/

let deinfectSwitch = false;
Expand Down Expand Up @@ -107,7 +107,7 @@ function SetLowHP(player) {
if (player.GetMaxHealth() > 100) {
Delay(0.5, () => {
player.SetMaxHealth(1);
player.SetHealth(600);
player.SetHealth(1000);
});
}
}
Expand Down
4 changes: 2 additions & 2 deletions 2001/ze_hr_dead_center/save_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { CSPlayerPawn, Instance, CSGearSlot } from "cs_script/point_script";
* 数据存读取脚本
* 此脚本用于实现回合结算后仍能恢复连关数据
* 此脚本由皮皮猫233编写
* 2026/3/16
* 2026/3/6
*/

let continuousSwitch = true;
let continuousSwitch = false;
const playerData = new Map();

Instance.OnScriptInput("SaveData", () => {
Expand Down