我教你一种超简单的方法,无需用挂!
就是修改编程!
首先打开流星文件夹,找到LEVEL这个文件夹,然后用记事本打开sn14_.pst,你会发现:
sn13_.pst.是炎硫岛
// 炎硫岛
int Rule = 10;
int RoundTime = 10;
int PlayerSpawn = 34;
int PlayerSpawnDir = 180;
int PlayerWeapon = 6;
int PlayerWeapon2 = 5;
int PlayerHP = 1000;
int trg0 = 0;
int trg1 = 0;
int trg2 = 0;
int trg3 = 0;
int trg4 = 0;
OnStart()
AddNPC(“npc14_01”);
AddNPC(“npc14_02”);
OnUpdate()
int player = GetChar(“player”);
if (player < 0)
return 0;
if(GetAnger(1){
PlayerPerform(“use”,8);
int c;
int c2;
if (trg0 == 0)
=========================================
在 = int player = GetChar(“player”); =
= if (player < 0) =
= { =
= return 0; =
= } =
====================================
下面加:
if(GetAnger(1){
PlayerPerform(“use”,8);
就有无限气用了~~其他都一样..修改
记得是要在OnUpdate()里添加!因为这是运行的意思!
哦,说漏了一些,下面是场景编码表:
01钟乳洞02秦皇陵03一线天04织雪城05皇天城06四方阵
07死之阵08毒牙阵09决死阵10炼铁狱11五爪峰12烽火雷
13金华城14炎硫岛15飞鹏堡16五雷塔17伏虎山18圆满楼
19洛阳城20卧龙窟21圣诞夜22威震八方
所以你想单机任务无限气,就选sn14_.pst、sn01_.pst、sn03_pst……(自己按照上表找找。)
怕你不懂,我再举个例给你看:
修改钟乳洞无限气:
记事本打开sn01_.pst:
你可以按ctrl+f来查找,查找“OnUpdate()”,然后你就在int……的下面加上if(GetAnger(1){
PlayerPerform(“use”,8);
就OK了!
本文和图片来自网络,不代表火豚游戏立场,如若侵权请联系我们删除:https://www.huotun.com/game/531374.html