查看: 1536|回复: 7

怪物掉多物品 无效~~

  [复制链接]

幻想

梦石
0
星屑
50
在线时间
0 小时
注册时间
2007-12-23
回帖
899
发表于 2008-1-11 21:50:18 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
我用的是  RTAB战斗系统   我在Scene_Battle 2的  # 获得 EXP、增加金钱
        exp += enemy.exp
        gold += enemy.gold下加了

@MIDE = [1, 2, 3]
        for i in 0..@MIDE.size
          #当前敌人会掉多种宝物
          if enemy.id == @MIDE
            lol = true
          end
        end
        if lol == true
          case enemy.id
          when 1 # 敌人编号为1
            # 出现宝物判定,机率请自定义,如果是100%出现的宝物可以省略这行。
            if rand(100) < 99 # 99%掉宝率
              treasures.push($data_items[30])
            end
            if rand(100) < 99 # 99%掉宝率
              treasures.push($data_weapons[34])
            end
            if rand(100) < 80 # 80%掉宝率
              treasures.push($data_armors[5])
            end
但是看不到效果~~~~~怎么回事是不是   RTAB战斗系统  的问题添加后没出现BUG就是没效果~~~~~谁来看下
[url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg]http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg[/url][FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png[/url][/FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png[/url]

幻想

梦石
0
星屑
50
在线时间
0 小时
注册时间
2007-12-23
回帖
899
发表于 2008-1-11 21:50:18 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
我用的是  RTAB战斗系统   我在Scene_Battle 2的  # 获得 EXP、增加金钱
        exp += enemy.exp
        gold += enemy.gold下加了

@MIDE = [1, 2, 3]
        for i in 0..@MIDE.size
          #当前敌人会掉多种宝物
          if enemy.id == @MIDE
            lol = true
          end
        end
        if lol == true
          case enemy.id
          when 1 # 敌人编号为1
            # 出现宝物判定,机率请自定义,如果是100%出现的宝物可以省略这行。
            if rand(100) < 99 # 99%掉宝率
              treasures.push($data_items[30])
            end
            if rand(100) < 99 # 99%掉宝率
              treasures.push($data_weapons[34])
            end
            if rand(100) < 80 # 80%掉宝率
              treasures.push($data_armors[5])
            end
但是看不到效果~~~~~怎么回事是不是   RTAB战斗系统  的问题添加后没出现BUG就是没效果~~~~~谁来看下
[url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg]http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg[/url][FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png[/url][/FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png[/url]

精灵族の天使<

梦石
0
星屑
1712
在线时间
3039 小时
注册时间
2007-3-16
回帖
33092

开拓者贵宾

发表于 2008-1-11 21:53:01 | 显示全部楼层
掉出多个物品好像针对默认脚本的么?
回复

使用道具 举报

幻想

梦石
0
星屑
50
在线时间
0 小时
注册时间
2007-12-23
回帖
899
 楼主| 发表于 2008-1-12 02:03:33 | 显示全部楼层
不知道哦~~~
回复

使用道具 举报

很傻很天真

梦石
0
星屑
55
在线时间
3 小时
注册时间
2007-3-13
回帖
3614
发表于 2008-1-12 02:06:16 | 显示全部楼层
怪物掉落多个物品    不完美事件傻瓜版

战斗处理选择可以逃跑  
胜利场合:获得XXX 获得XXX 获得XXX 获得XXX
失败场合:自定


回复

使用道具 举报

幻想

梦石
0
星屑
50
在线时间
0 小时
注册时间
2007-12-23
回帖
899
 楼主| 发表于 2008-1-12 02:30:59 | 显示全部楼层
0.........................................
[url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg]http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg[/url][FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png[/url][/FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png[/url]
回复

使用道具 举报

幻想

梦石
0
星屑
50
在线时间
0 小时
注册时间
2007-12-23
回帖
899
 楼主| 发表于 2008-1-12 02:32:24 | 显示全部楼层
这样未必太那个了~~~~~~{/pz}{/pz}~~~~~~~~~(不过还可行,但是不是事件遇敌的话就……)
[url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg]http://rpg.blue/upload_program/d/菜鸟飞呀飞_love_111006892.jpg[/url][FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yz_tb_111008420.png[/url][/FLY][url=http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png]http://rpg.blue/upload_program/d/菜鸟飞呀飞_yzs_111008459.png[/url]
回复

使用道具 举报

很傻很天真

梦石
0
星屑
55
在线时间
3 小时
注册时间
2007-3-13
回帖
3614
发表于 2008-1-13 03:04:11 | 显示全部楼层
那就在敌人页面设置咯...{/dy}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部