发表于 2007-10-21 22:081#
楼主力破人魔关遗漏了2个文件
魔人分身乙2.pst
魔人分身甲2.pst
把以下2个文件复制到Level文件夹下
[glow=255,RED,2]魔人分身乙2.pst[/glow]
#include "npcnames.pst"
#include "npcopt.pst"
#include "staropt.pst"
string Name = "魔人分身乙";
int Model = GetXieemrAnyModel();
int Weapon = 6;
int Weapon2 = 47;
int Team = 2;
int View = 500;
int Think = 200;
int Attack1 = 30;
int Attack2 = 20;
int Attack3 = 10;
int Guard = 40;
int Dodge = 80;
int Jump = 4;
int Look = 10;
int Burst = 80;
int Aim = 100;
int GetItem = 0;
int Spawn = GetSafeSpawn();//GetSafeSpawn();// = 1;
int HP = 1500;
int g_selfAddr;
int g_self;
int s;
int timer;
int t1;
int t2;
int p;
int life;
int HPlast=0;
int Stat=0;
int realHP=0;
OnInit(int this)
{
g_selfAddr = this;
}
OnStart()
{
g_self = GetSelf(g_selfAddr);
int nGo = GetBodySafeBehavior(2);//
GetBodyAnyBehavior(g_self, nGo);
}
OnUpdate()
{
if(Stat==0)
{
Stat++;
OutputBodyAnyInfo(g_self, HP, Think, View, 0, 1);
return 0;
}
if(Stat==1)
{
Stat++;
realHP=GetHP(g_self);
HPlast=realHP;
return 0;
}
if(GetIsOpenAnyWord()==1)
{
GetAnyRandWord(g_self);
}
int HPnow=GetHP(g_self);
if(HPnowHPlast)
{
int AtkP2=HPnow-HPlast;
OutputBodyInfo(g_self, HPnow, AtkP2);
HPlast=HPnow;
}
if(HPnow==realHP&&HPlast<realHP)
{
HPlast=realHP;
}
}
[glow=255,RED,2]魔人分身甲2.pst[/glow]
#include "npcnames.pst"
#include "npcopt.pst"
#include "staropt.pst"
string Name = "魔人分身甲";
int Model = GetXieemrAnyModel();
int Weapon = 5;
int Weapon2 = 8;
int Team = 2;
int View = 500;
int Think = 200;
int Attack1 = 30;
int Attack2 = 20;
int Attack3 = 10;
int Guard = 40;
int Dodge = 80;
int Jump = 10;
int Look = 10;
int Burst = 80;
int Aim = 100;
int GetItem = 0;
int Spawn = GetSafeSpawn();//GetSafeSpawn();// = 1;
int HP = 1500;
int g_selfAddr;
int g_self;
int s;
int timer;
int t1;
int t2;
int p;
int life;
int HPlast=0;
int Stat=0;
int realHP=0;
OnInit(int this)
{
g_selfAddr = this;
}
OnStart()
{
g_self = GetSelf(g_selfAddr);
int nGo = GetBodySafeBehavior(2);//
GetBodyAnyBehavior(g_self, nGo);
}
OnUpdate()
{
if(Stat==0)
{
Stat++;
OutputBodyAnyInfo(g_self, HP, Think, View, 0, 1);
return 0;
}
if(Stat==1)
{
Stat++;
realHP=GetHP(g_self);
HPlast=realHP;
return 0;
}
if(GetIsOpenAnyWord()==1)
{
GetAnyRandWord(g_self);
}
int HPnow=GetHP(g_self);
if(HPnowHPlast)
{
int AtkP2=HPnow-HPlast;
OutputBodyInfo(g_self, HPnow, AtkP2);
HPlast=HPnow;
}
if(HPnow==realHP&&HPlast<realHP)
{
HPlast=realHP;
}
}
魔人分身乙2.pst
魔人分身甲2.pst
把以下2个文件复制到Level文件夹下
[glow=255,RED,2]魔人分身乙2.pst[/glow]
#include "npcnames.pst"
#include "npcopt.pst"
#include "staropt.pst"
string Name = "魔人分身乙";
int Model = GetXieemrAnyModel();
int Weapon = 6;
int Weapon2 = 47;
int Team = 2;
int View = 500;
int Think = 200;
int Attack1 = 30;
int Attack2 = 20;
int Attack3 = 10;
int Guard = 40;
int Dodge = 80;
int Jump = 4;
int Look = 10;
int Burst = 80;
int Aim = 100;
int GetItem = 0;
int Spawn = GetSafeSpawn();//GetSafeSpawn();// = 1;
int HP = 1500;
int g_selfAddr;
int g_self;
int s;
int timer;
int t1;
int t2;
int p;
int life;
int HPlast=0;
int Stat=0;
int realHP=0;
OnInit(int this)
{
g_selfAddr = this;
}
OnStart()
{
g_self = GetSelf(g_selfAddr);
int nGo = GetBodySafeBehavior(2);//
GetBodyAnyBehavior(g_self, nGo);
}
OnUpdate()
{
if(Stat==0)
{
Stat++;
OutputBodyAnyInfo(g_self, HP, Think, View, 0, 1);
return 0;
}
if(Stat==1)
{
Stat++;
realHP=GetHP(g_self);
HPlast=realHP;
return 0;
}
if(GetIsOpenAnyWord()==1)
{
GetAnyRandWord(g_self);
}
int HPnow=GetHP(g_self);
if(HPnowHPlast)
{
int AtkP2=HPnow-HPlast;
OutputBodyInfo(g_self, HPnow, AtkP2);
HPlast=HPnow;
}
if(HPnow==realHP&&HPlast<realHP)
{
HPlast=realHP;
}
}
[glow=255,RED,2]魔人分身甲2.pst[/glow]
#include "npcnames.pst"
#include "npcopt.pst"
#include "staropt.pst"
string Name = "魔人分身甲";
int Model = GetXieemrAnyModel();
int Weapon = 5;
int Weapon2 = 8;
int Team = 2;
int View = 500;
int Think = 200;
int Attack1 = 30;
int Attack2 = 20;
int Attack3 = 10;
int Guard = 40;
int Dodge = 80;
int Jump = 10;
int Look = 10;
int Burst = 80;
int Aim = 100;
int GetItem = 0;
int Spawn = GetSafeSpawn();//GetSafeSpawn();// = 1;
int HP = 1500;
int g_selfAddr;
int g_self;
int s;
int timer;
int t1;
int t2;
int p;
int life;
int HPlast=0;
int Stat=0;
int realHP=0;
OnInit(int this)
{
g_selfAddr = this;
}
OnStart()
{
g_self = GetSelf(g_selfAddr);
int nGo = GetBodySafeBehavior(2);//
GetBodyAnyBehavior(g_self, nGo);
}
OnUpdate()
{
if(Stat==0)
{
Stat++;
OutputBodyAnyInfo(g_self, HP, Think, View, 0, 1);
return 0;
}
if(Stat==1)
{
Stat++;
realHP=GetHP(g_self);
HPlast=realHP;
return 0;
}
if(GetIsOpenAnyWord()==1)
{
GetAnyRandWord(g_self);
}
int HPnow=GetHP(g_self);
if(HPnowHPlast)
{
int AtkP2=HPnow-HPlast;
OutputBodyInfo(g_self, HPnow, AtkP2);
HPlast=HPnow;
}
if(HPnow==realHP&&HPlast<realHP)
{
HPlast=realHP;
}
}
UID 12792

第一个领取
_200612171116341.jpg)



