论坛首页›扭转乾坤[修改]›跪求一变态NPC文件

跪求一变态NPC文件

楼主:11010发表于 2010-10-27 05:32回复 4查看 3,608最后回复 2010-12-16
共 5 楼
发表于 2010-10-27 05:321#
楼主
最好是什么属性都很牛B的,发到我邮箱谢谢了!!
2***@qq.com
UID 103916
发表于 2010-10-27 18:122#
自己不会做啊,超级简单啊
签名:
UID 101059
发表于 2010-10-28 20:363#
只改NPC不可能啦 改POSE还差不多
UID 45764
发表于 2010-11-6 13:514#
自己做的……还没好心都发出来 就发几个……(其实除了武器不同轻重几率不同以外其他的可以自己复制- -。)
话说不能传附件么 - -自己去复制到文档里好了

blade.pst

string Name = "胡一刀";
int Model = 5;
int Weapon = 17;
int Weapon2 = 26;
int Team = 0;
int View = 3000;
int Think = 5000;
int Attack1 = 30;
int Attack2 = 35;
int Attack3 = 35;
int Guard = 0;
int Dodge = 0;
int Jump = 1;
int Look = 20;
int Burst = 25;
int Aim = 100;
int GetItem = 0;
int Spawn = Rand(100);
int HP = 3000;


int g_selfAddr;
int g_self;
OnInit(int this)
{
g_selfAddr = this;
}


OnStart()
{
g_self = GetSelf(g_selfAddr);
ChangeBehavior(g_self, "run");
}

int trg = 0;
int timer = 0;

OnUpdate()
{

int now = GetGameTime();
int c = 0;

if (c<=0)
{
c = GetChar("冷燕");
}

if (GetHP(g_self)<=0)
{
trg = 0;
}

if (trg==0 && GetHP(g_self)>2000)
{
SetTarget(0, "char", g_self);
SetTarget(1, "char", c);
if (c>0 && Distance(0, 1) < 200 && GetEnemy(g_self)==c)
{
Perform(g_self, "attack");
Perform(g_self,"use",25);
Perform(g_self,"use",4);
Perform(g_self, "say", "嘿嘿~可否让在下领教阁下的高招?");
Perform(g_self, "aggress");
Perform(g_self, "faceto", c);

trg = 1;
}

}

if (trg==0 && GetHP(g_self)<GetMaxHP(g_self) && GetHP(g_self)>2000)
{
Perform(g_self, "attack");
Perform(g_self,"use",25);
Perform(g_self, "say", "接招!");
Perform(g_self,"use",4);
Perform(g_self, "say", "............");

trg = 1;
}

if (trg==1 && GetHP(g_self)<=1500)
{
Perform(g_self, "attack");
Perform(g_self,"use",23);
Perform(g_self, "say", "没看出来你武功竟也小有造诣...看来我得认真了!");
Perform(g_self,"use",34);
Perform(g_self,"use",8);
Perform(g_self,"use",16);

trg = 2;
}

if (trg==2 && GetHP(g_self)<=GetMaxHP(g_self)/3)
{
Perform(g_self, "attack");
Perform(g_self,"use",24);
Perform(g_self, "say", "想不到中原武林竟也有如此好手...刀剑无眼,小心了!");
Perform(g_self,"use",19);
Perform(g_self,"use",8);
Perform(g_self,"use",16);

trg = 0;
}
}



dagger.pst
string Name = "冷燕";
int Model = 1;
int Weapon = 14;
int Weapon2 = 13;
int Team = 0;
int View = 5000;
int Think = 5000;
int Attack1 = 35;
int Attack2 = 40;
int Attack3 = 25;
int Guard = 0;
int Dodge = 0;
int Jump = 1;
int Look = 10;
int Burst = 10;
int Aim = 100;
int GetItem = 0;
int Spawn = Rand(10);
int HP = 3000;


int g_selfAddr;
int g_self;
OnInit(int this)
{
g_selfAddr = this;
}


OnStart()
{
g_self = GetSelf(g_selfAddr);
ChangeBehavior(g_self, "run");
}

int trg = 0;
int timer = 0;

OnUpdate()
{

int now = GetGameTime();

if (GetHP(g_self)<=0)
{
trg = 0;
}

if (trg==0 && GetHP(g_self)==GetMaxHP(g_self))
{
Perform(g_self,"use",25);
Perform(g_self,"use",4);



trg = 1;
}

if (trg==1 && GetHP(g_self)<GetMaxHP(g_self)/2)
{
Perform(g_self,"use",23);
Perform(g_self,"use",34);
Perform(g_self,"use",8);

trg = 2;
}

if (trg==2 && GetHP(g_self)<=GetMaxHP(g_self)/3)
{
Perform(g_self,"use",24);
Perform(g_self,"use",19);
Perform(g_self,"use",8);
Perform(g_self,"use",16);

trg = 0;
}
}
UID 60847
发表于 2010-12-16 21:465#
string Name = "不死邪神";
int Model = 12;
int Weapon = 41;
int Weapon2 = 42;
int Team = 0;
int View = 10000;
int Think = 32767;
int Attack1 = 30;
int Attack2 = 30;
int Attack3 = 40;
int Guard = 80;
int Dodge = 100;
int Jump = 10;
int Look = 50;
int Burst = 30;
int Aim = 100;
int GetItem = 100;
int Spawn = 1;
int HP = 8000;

int g_selfAddr;
int g_self;
int HPlast=300;
int Stat=0;
int realHP=0;
int timer=0;

OnInit(int this)
{
g_selfAddr = this;
}

OnStart()
{
g_self = GetSelf(g_selfAddr);
ChangeBehavior(g_self, "follow", "xxx");
}
OnUpdate()
{

if(Stat==0)
{
Stat++;return 0;
}

if(Stat==1)
{Stat++;realHP=GetHP(g_self);HPlast=realHP;Say(g_self,"邪神驾到。。");return 0;}

if(timer%60==0)
{
Perform(g_self,"use",1);Perform(g_self,"use",3);Perform(g_self,"use",8);Perform(g_self,"use",15);Perform(g_self,"use",16);Perform(g_self,"use",19);Perform(g_self,"use",5);Perform(g_self,"use",4);Perform(g_self,"use",34);Perform(g_self,"use",40);
Perform(g_self,"use",41);Perform(g_self,"use",28);timer=0;
}

timer++;
int HPnow=GetHP(g_self);

if(HPnow==realHP&&HPlast<realHP)
{
HPlast=realHP;
Say(g_self,"我回来了!");Perform(g_self,"use",8);Perform(g_self,"use",7);Perform(g_self,"use",19);Perform(g_self,"use",4);Perform(g_self,"use",3);
}


}
UID 70607
共 5 楼

关于这个存档

本页内容为历史存档,已关闭一切写操作。附件仅展示文件信息,不提供下载。内容如涉侵权或不当,请联系 server@yfzz.net 下架。

可以做的事:浏览版块、阅读主题与楼层、查看图片附件、按标题或作者搜索、打开用户资料页。
不能做的事:注册、登录、发帖、回复、引用、评分、私信、收藏;压缩包等附件不提供下载——存档版只展示文件信息。

数据截至 2021-02-05;附件约有 30–40% 的原文件未能保存,页面上以「已丢失」标注。2009 年前的不少图片是外链图床,原图床已关闭,页面会显示失效占位。
隐龙轩QQ群:点此查看

26,823 主题 / 280,734 帖 / 17,145 位发过言的会员 · 数据最后更新 2021-02-05

粤ICP备2024318274号-1