星际争霸1编写三国杀触发及触发内容

-- This text is generated by TrigEditPlus

Trigger { -- randomseeds
    players = {AllPlayers},
    conditions = {
        Switch("身份完成标志", Cleared);
    },
    actions = {
        Comment("randomseeds");
        SetSwitch("seed1", Random);
        SetSwitch("seed2", Random);
        PreserveTrigger();
    },
}

Trigger { -- fenpeijunzhu
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Switch("seed1", Cleared);
        Switch("seed2", Cleared);
        Deaths(CurrentPlayer, Exactly, 0, "已有身份标志");
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
    },
    actions = {
        Comment("fenpeijunzhu");
        SetDeaths(CurrentPlayer, SetTo, 1, "身份代码1234");
        SetDeaths(AllPlayers, SetTo, 1, "主公数量");
        SetDeaths(CurrentPlayer, SetTo, 1, "已有身份标志");
        DisplayText("主公", 4);
    },
}

Trigger { -- fenpeizhognchen
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Switch("seed1", Cleared);
        Switch("seed2", Set);
        Deaths(CurrentPlayer, Exactly, 0, "已有身份标志");
        Deaths(CurrentPlayer, AtMost, 1, "忠臣数量");
    },
    actions = {
        Comment("fenpeizhognchen");
        SetDeaths(CurrentPlayer, SetTo, 2, "身份代码1234");
        SetDeaths(AllPlayers, Add, 1, "忠臣数量");
        SetDeaths(CurrentPlayer, SetTo, 1, "已有身份标志");
        DisplayText("zhongchen", 4);
    },
}

Trigger { -- fenpeifanzei
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Switch("seed1", Set);
        Switch("seed2", Cleared);
        Deaths(CurrentPlayer, Exactly, 0, "已有身份标志");
        Deaths(CurrentPlayer, AtMost, 2, "反贼数量");
    },
    actions = {
        Comment("fenpeifanzei");
        SetDeaths(CurrentPlayer, SetTo, 3, "身份代码1234");
        SetDeaths(AllPlayers, Add, 1, "反贼数量");
        SetDeaths(CurrentPlayer, SetTo, 1, "已有身份标志");
        DisplayText("fanzei", 4);
    },
}

Trigger { -- fenpeineijian
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Switch("seed1", Set);
        Switch("seed2", Set);
        Deaths(CurrentPlayer, Exactly, 0, "已有身份标志");
        Deaths(CurrentPlayer, AtMost, 1, "内奸数量");
    },
    actions = {
        Comment("fenpeineijian");
        SetDeaths(CurrentPlayer, SetTo, 4, "身份代码1234");
        SetDeaths(AllPlayers, Add, 1, "内奸数量");
        SetDeaths(CurrentPlayer, SetTo, 1, "已有身份标志");
        DisplayText("neijian", 4);
    },
}

Trigger { -- junzhubornstartgame
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Switch("身份完成标志", Cleared);
        Deaths(CurrentPlayer, AtLeast, 1, "已有身份标志");
        Deaths(CurrentPlayer, Exactly, 1, "身份代码1234");
        Deaths(CurrentPlayer, Exactly, 1, "主公数量");
        Deaths(CurrentPlayer, Exactly, 2, "忠臣数量");
        Deaths(CurrentPlayer, Exactly, 3, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 2, "内奸数量");
    },
    actions = {
        Comment("junzhubornstartgame");
        SetSwitch("身份完成标志", Set);
        CreateUnitWithProperties(1, "君主", "junzhuborn", CurrentPlayer, {
            clocked = false,
            burrowed = false,
            intransit = false,
            hallucinated = false,
            invincible = false,
            hitpoint = 100,
            shield = 100,
            energy = 100,
            resource = 0,
            hanger = 0,
        });
        SetResources(CurrentPlayer, SetTo, 400, Ore);
        CreateUnit(1, "Terran SCV", "junzhuborn", CurrentPlayer);
        CreateUnit(1, "Protoss Probe", "junzhuborn", CurrentPlayer);
        CreateUnit(1, "Zerg Drone", "junzhuborn", CurrentPlayer);
        CreateUnitWithProperties(1, "Protoss Dark Archon", "junzhuborn", CurrentPlayer, {
            clocked = false,
            burrowed = false,
            intransit = false,
            hallucinated = false,
            invincible = false,
            hitpoint = 255,
            shield = 100,
            energy = 0,
            resource = 0,
            hanger = 0,
        });
    },
}

Trigger { -- zhongfanneichushihua
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Switch("身份完成标志", Set);
        Deaths(CurrentPlayer, AtLeast, 2, "身份代码1234");
    },
    actions = {
        SetResources(CurrentPlayer, SetTo, 50, Ore);
        CreateUnitWithProperties(1, "兵符", "Anywhere", CurrentPlayer, {
            clocked = false,
            burrowed = false,
            intransit = false,
            hallucinated = false,
            invincible = false,
            hitpoint = 100,
            shield = 100,
            energy = 100,
            resource = 0,
            hanger = 0,
        });
        Comment("zhongfanneichushihua");
    },
}

Trigger { -- junzhukilled
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 20);
        Deaths(CurrentPlayer, Exactly, 1, "身份代码1234");
        Command(CurrentPlayer, AtMost, 0, "君主");
    },
    actions = {
        Comment("junzhukilled");
        SetDeaths(AllPlayers, SetTo, 0, "主公数量");
        KillUnit("Any unit", CurrentPlayer);
        KillUnit("Men", CurrentPlayer);
    },
}

Trigger { -- zhongchenkilled
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 20);
        Deaths(CurrentPlayer, Exactly, 2, "身份代码1234");
        Command(CurrentPlayer, AtMost, 0, "Buildings");
    },
    actions = {
        Comment("zhongchenkilled");
        SetDeaths(AllPlayers, Subtract, 1, "忠臣数量");
    },
}

Trigger { -- fanzeikilled
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 20);
        Deaths(CurrentPlayer, Exactly, 3, "身份代码1234");
        Command(CurrentPlayer, AtMost, 0, "Buildings");
    },
    actions = {
        Comment("fanzeikilled");
        SetDeaths(AllPlayers, Subtract, 1, "反贼数量");
    },
}

Trigger { -- neijiankilled
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 20);
        Deaths(CurrentPlayer, Exactly, 4, "身份代码1234");
        Command(CurrentPlayer, AtMost, 0, "Buildings");
    },
    actions = {
        Comment("neijiankilled");
        SetDeaths(AllPlayers, Subtract, 1, "内奸数量");
    },
}

Trigger { -- junzhushenglitojunzhuzhongchen
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 1, "主公数量");
        Deaths(CurrentPlayer, Exactly, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 0, "内奸数量");
        Deaths(CurrentPlayer, AtMost, 2, "身份代码1234");
    },
    actions = {
        Comment("junzhushenglitojunzhuzhongchen");
        DisplayText("King win", 4);
        Victory();
    },
}

Trigger { -- junzhushenglitofanzeineijian
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 1, "主公数量");
        Deaths(CurrentPlayer, Exactly, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 0, "内奸数量");
        Deaths(CurrentPlayer, AtLeast, 2, "身份代码1234");
    },
    actions = {
        Comment("junzhushenglitofanzeineijian");
        DisplayText("King win", 4);
        Defeat();
    },
}

Trigger { -- fanzeishenglitofanzei
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtLeast, 1, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 3, "身份代码1234");
    },
    actions = {
        Comment("fanzeishenglitofanzei");
        DisplayText("反贼 赢了", 4);
        Victory();
    },
}

Trigger { -- fanzeishenglitojunzhuzhongchen
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtLeast, 1, "反贼数量");
        Deaths(CurrentPlayer, AtMost, 2, "身份代码1234");
    },
    actions = {
        Comment("fanzeishenglitojunzhuzhongchen");
        DisplayText("反贼 赢了", 4);
        Defeat();
    },
}

Trigger { -- fanzeishenglitoneijian
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtLeast, 1, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 4, "身份代码1234");
    },
    actions = {
        Comment("fanzeishenglitoneijian");
        DisplayText("反贼 赢了", 4);
        Defeat();
    },
}

Trigger { -- neijianshenglitoneijian
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtMost, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 1, "内奸数量");
        Deaths(CurrentPlayer, Exactly, 4, "身份代码1234");
    },
    actions = {
        Comment("neijianshenglitoneijian");
        DisplayText("内奸赢了", 4);
        Victory();
    },
}

Trigger { -- neijianshenglitojunzhuzhongchen
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtMost, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 1, "内奸数量");
        Deaths(CurrentPlayer, AtMost, 2, "身份代码1234");
    },
    actions = {
        Comment("neijianshenglitojunzhuzhongchen");
        DisplayText("内奸赢了", 4);
        Defeat();
    },
}

Trigger { -- neijianshenglitofanzei
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtMost, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 1, "内奸数量");
        Deaths(CurrentPlayer, Exactly, 3, "身份代码1234");
    },
    actions = {
        Comment("neijianshenglitofanzei");
        DisplayText("内奸赢了", 4);
        Defeat();
    },
}

Trigger { -- neijianshenglitoneijian2
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtMost, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 2, "内奸数量");
        Deaths(CurrentPlayer, AtMost, 0, "忠臣数量");
        Deaths(CurrentPlayer, Exactly, 4, "身份代码1234");
    },
    actions = {
        Comment("neijianshenglitoneijian2");
        DisplayText("内奸赢了", 4);
        Victory();
    },
}

Trigger { -- neijianshenglitojunzhuzhongchen2
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtMost, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 2, "内奸数量");
        Deaths(CurrentPlayer, AtMost, 0, "忠臣数量");
        Deaths(CurrentPlayer, AtMost, 2, "身份代码1234");
    },
    actions = {
        Comment("neijianshenglitojunzhuzhongchen2");
        DisplayText("内奸赢了", 4);
        Defeat();
    },
}

Trigger { -- neijianshenglitofanzei2
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtMost, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 2, "内奸数量");
        Deaths(CurrentPlayer, AtMost, 0, "忠臣数量");
        Deaths(CurrentPlayer, Exactly, 3, "身份代码1234");
    },
    actions = {
        Comment("neijianshenglitofanzei2");
        DisplayText("内奸赢了", 4);
        Defeat();
    },
}

Trigger { -- no winner
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        ElapsedTime(AtLeast, 30);
        Deaths(CurrentPlayer, Exactly, 0, "主公数量");
        Deaths(CurrentPlayer, AtMost, 0, "反贼数量");
        Deaths(CurrentPlayer, Exactly, 2, "内奸数量");
        Deaths(CurrentPlayer, AtLeast, 1, "忠臣数量");
    },
    actions = {
        Comment("no winner");
        DisplayText("no winner", 4);
        Defeat();
    },
}

Trigger { -- tishijunzhu
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Deaths(CurrentPlayer, Exactly, 1, "身份代码1234");
    },
    actions = {
        Comment("tishijunzhu");
        DisplayText("junzhu", 4);
        PreserveTrigger();
    },
}

Trigger { -- tishizhongchen
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Deaths(CurrentPlayer, Exactly, 2, "身份代码1234");
    },
    actions = {
        Comment("tishizhongchen");
        DisplayText("zhongchen", 4);
        PreserveTrigger();
    },
}

Trigger { -- tishifanzei
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Deaths(CurrentPlayer, Exactly, 3, "身份代码1234");
    },
    actions = {
        Comment("tishifanzei");
        DisplayText("fanzei", 4);
        PreserveTrigger();
    },
}

Trigger { -- tishineijian
    players = {P1, P2, P3, P4, P5, P6, P7, P8},
    conditions = {
        Deaths(CurrentPlayer, Exactly, 4, "身份代码1234");
    },
    actions = {
        Comment("tishineijian");
        DisplayText("neijian", 4);
        PreserveTrigger();
    },
}

Trigger { -- No comment (6BCC2CF2)
    players = {P1},
    conditions = {
        Always();
    },
    actions = {
        LeaderBoardScore(Custom, "12345678");
        LeaderBoardGoalScore(0, KillsAndRazings, "qwert");
    },
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值