永发信息网

求流星蝴蝶剑原文件!

答案:1  悬赏:50  手机版
解决时间 2021-05-14 10:00
  • 提问者网友:送舟行
  • 2021-05-13 22:59
只要sn05和Level文件里的sn05- 的内容。我修改错了,想还原。
最佳答案
  • 五星知识达人网友:人類模型
  • 2021-05-13 23:15

// 皇天城
int Rule = 5;
int RoundTime = 30;
int PlayerSpawn = 83;
int PlayerSpawnDir = 45;
int PlayerWeapon = 24;
int PlayerWeapon2 = 21;
int PlayerHP = 2500;


int trg0 = 0;
int trg1 = 0;
int trg2 = 0;
int trg3 = 0;
int trg4 = 0;
int trg5 = 0;
int trg6 = 0;
int trg7 = 0;
int trg8 = 0;
int trg9 = 0;
int timer0 = 0;
int timer1 = 0;
int timer2 = 0;


int hp0 = 0;
int hp1 = 0;
int hp2 = 0;
int hp3 = 0;
int hp4 = 0;


OnStart()
{
AddNPC("npc05_01");
AddNPC("npc05_02");


AddNPC("npc05_05");
AddNPC("npc05_06");
AddNPC("npc05_07");
AddNPC("npc05_08");
AddNPC("npc05_09");
}


CallFriend(int c, int c2, int p)
{
if (c>=0 && GetEnemy(c)==p)
{
ChangeBehavior(c, "follow", p);
Perform(c, "guard", 3);
Perform(c, "say", "有人闯入,快来人呀!");
Perform(c, "say", "你是谁!竟敢乱闯!!");
Perform(c, "faceto", p);

if (c2 >= 0)
{
ChangeBehavior(c2, "follow", c);
}
return 1;
}
return 0;
}


CallFriend2(int c, int c2, int p, int t)
{
if (c>=0 && GetEnemy(c)==p)
{
ChangeBehavior(c, "follow", p);
if (t == 1)
{
Perform(c, "say", "哈!老子看到你了!");
} else
{
Perform(c, "say", "唷!好戏上场啦!!");
}
Perform(c, "faceto", p);

if (c2 >= 0)
{
ChangeBehavior(c2, "follow", c);
}
return 1;
}
return 0;
}


BackGuard(int c, int p, int say)
{
if (c >= 0)
{
Perform(c, "guard", 100);
Perform(c, "faceto", p);
ChangeBehavior(c, "dodge", p);

if (say == 1)
{
Perform(c, "say", "施主保重!");
}
if (say == 2)
{
Perform(c, "say", "﹒﹒﹒﹒﹒");
}

Perform(c, "pause", 4);
Perform(c, "faceto", p);

return 1;
}
return 0;
}


PauseAll(int t, int p)
{
int c;
c = GetChar("金枪侍卫");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("大刀侍卫");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("野和尚﹒甲");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("野和尚﹒乙");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("无名杀手");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("蒙面人﹒甲");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("蒙面人﹒乙");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}

return 1;
}


OnUpdate()
{
int player = GetChar("player");
if (player < 0)
{
return 0;
}

int c;
int c2;
int c3;
int c4;
int c5;

if (trg0 == 0)
{
PlayerPerform("block", 0);
PlayerPerform("crouch", 0);
PlayerPerform("say", "(不该多想的﹒﹒﹒赶紧完成任务,带回范璇身上的代表信物,交差了事好!)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(﹒﹒﹒我怎能会为了这些事情乱了心)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(﹒﹒﹒这一切究竟是﹒﹒﹒﹒﹒)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(而那姓萧所说的话到底是什麽意思??)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(﹒﹒那奇女子﹒﹒﹒﹒)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(﹒﹒﹒﹒那个蒙面人又是怎麽一回儿事??)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(难道是高老大担心我﹒﹒﹒还是﹒﹒﹒﹒)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(﹒﹒怎麽感觉一路上都有人在监视着我﹒﹒﹒﹒)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(但﹒﹒难道是我的行踪己经曝露了?)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(﹒﹒﹒终於来到这儿了﹒﹒﹒)");
PlayerPerform("crouch", 1);
PlayerPerform("block", 1);
trg0 = 1;
}

if (trg1==0)
{
c = GetChar("金枪侍卫");
c2 = GetChar("大刀侍卫");

if (CallFriend(c, c2, player))
{
trg1 = 1;
}
if (trg1==0 && CallFriend(c2, c, player))
{
trg1 = 1;
}
}

if (trg2 == 0)
{
c = GetChar("野和尚﹒甲");
c2 = GetChar("野和尚﹒乙");
if (CallFriend2(c, c2, player, 1))
{
trg2 = 1;
}
if (trg2==0 && CallFriend2(c2, c, player, 0))
{
trg2 = 1;
}
}
if (trg2 == 1)
{
c = GetChar("野和尚﹒甲");
c2 = GetChar("野和尚﹒乙");
if (c>=0 && c2>=0 && GetEnemy(c)==player && GetEnemy(c2)==player)
{
Perform(c, "say", "我们两个就陪你玩玩!!");
Perform(c, "faceto", player);
Perform(c2, "say", "我们两个就陪你玩玩!!");
Perform(c2, "faceto", player);
trg2 = 2;
}
}
if (trg2 == 2)
{
c = GetChar("野和尚﹒甲");
c2 = GetChar("野和尚﹒乙");
if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
{
Perform(c, "aggress");
Perform(c, "say", "施主还是多去练个几年再来吧!");
Perform(c, "faceto", player);
trg2 = 3;
}
if (c2>=0 && GetHP(c2)<GetMaxHP(c2)/2)
{
Perform(c2, "aggress");
Perform(c2, "say", "施主要是再不滚,休怪老纳不客气了!");
Perform(c2, "faceto", player);
trg2 = 3;
}
}

if (trg3 == 0)
{
c = GetChar("无名杀手");
SetTarget(0, "char", player);
SetTarget(1, "char", c);
if (c>=0 && GetEnemy(c)==player && Distance(0, 1)<100)
{

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯