流星蝴蝶剑吧 关注:181,443贴子:7,113,930
  • 17回复贴,共1

怎么修改字符串、才能隔一段时间后就吃一个物品.

只看楼主收藏回复

左边的是皇天城、右边的是飞鹏堡、
飞鹏堡的新加字符串是在无名的下面加的、可以用.
我把这个复制到皇天城就不行了、请问是怎么回事.


IP属地:湖北来自Android客户端1楼2017-08-27 20:12回复
    我知道主要就是:if(trg)这个是关键、把他放在别的位置都没有用、放在中间才生效.
    皇天城的这个好像是缺少一个条件、


    IP属地:湖北来自Android客户端2楼2017-08-27 20:26
    回复
      在这破吧说编程有鸟用


      IP属地:陕西来自Android客户端3楼2017-08-28 17:03
      回复
        我改过,每隔一分钟给自己加红buff。是这个不?


        IP属地:河北来自Android客户端4楼2017-08-28 17:36
        收起回复
          我还复制过队友的复活程序。


          IP属地:河北来自Android客户端5楼2017-08-28 17:39
          回复
            撸过


            IP属地:河南来自Android客户端6楼2017-08-28 20:29
            回复
              。。。。。


              IP属地:湖北来自Android客户端7楼2017-08-29 08:27
              回复
                免费顶帖


                IP属地:山西来自Android客户端8楼2017-08-29 09:08
                回复
                  怎么发文件啊...啊...啊..


                  IP属地:湖北来自Android客户端9楼2017-08-29 16:58
                  回复

                    if (trg7 == 0)
                    {
                    c = GetAnyChar("金枪侍卫");
                    c2 = GetAnyChar("大刀侍卫");
                    c3 = GetAnyChar("野和尚﹒甲");
                    c4 = GetAnyChar("野和尚﹒乙");
                    if (c>=0 && GetHP(c)<=0 && c2>=0 && GetHP(c2)<=0 && c3>=0 && GetHP(c3)<=0 &&
                    c4>=0 && GetHP(c4)<=0)
                    {
                    RemoveNPC(c);
                    RemoveNPC(c2);
                    RemoveNPC(c3);
                    RemoveNPC(c4);
                    trg7 = 1;
                    timer1 = GetGameTime() + 5;
                    }
                    }
                    if (trg7 == 1)
                    {
                    if (GetGameTime() > timer1)
                    {
                    AddNPC("npc05_03");
                    AddNPC("npc05_04");
                    trg7 = 2;
                    }
                    }
                    }-----------------以下是新加的------------------
                    if (trg0 != 0)
                    {
                    if (c>=0 && now>timer4)
                    {
                    PlayerPerform("use", 4);
                    timer4 = now + 150;
                    }
                    }
                    if (trg0 != 0)
                    {
                    if (c>=0 && now>timer5)
                    {
                    PlayerPerform("use", 34);
                    timer5 = now + 400;
                    }
                    }


                    IP属地:湖北10楼2017-08-29 17:06
                    回复