设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 3390|回复: 6

[有事请教] YEP物品核心,为何设定物品上限后仍能取得超过上限的物品

[复制链接]

Lv3.寻梦者

梦石
0
星屑
1358
在线时间
97 小时
注册时间
2016-7-27
帖子
12
发表于 2020-3-18 22:45:37 | 显示全部楼层 |阅读模式

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

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

x
设定完了物品上限之后,仍然能获取到超过上限的物品,无论是事件的增减物品还是怪物的掉落。 TIM图片20200318220606.png

Lv3.寻梦者

梦石
0
星屑
3446
在线时间
1158 小时
注册时间
2016-8-9
帖子
2389

开拓者

发表于 2020-3-18 23:09:43 | 显示全部楼层
有没有修改yep core engine  这个里面也有物品金钱数量的设置哟
酸酸甜甜就④哇噢
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
1358
在线时间
97 小时
注册时间
2016-7-27
帖子
12
 楼主| 发表于 2020-3-18 23:54:49 | 显示全部楼层
白嫩白嫩的 发表于 2020-3-18 23:09
有没有修改yep core engine  这个里面也有物品金钱数量的设置哟

尝试修改了一下,但是似乎没什么变化……
回复 支持 反对

使用道具 举报

Lv2.观梦者

梦石
0
星屑
630
在线时间
169 小时
注册时间
2006-11-30
帖子
51
发表于 2020-3-19 02:54:15 | 显示全部楼层
这个问题之前回答过,那就复制粘贴一下之前的回答好了……
翻了翻奶牛的YEP教程,Yanfly自己在设计ItemCore的时候就是这样的:

Now, why is this? Because not every scenario can be envisioned by the developer. In most cases, the developer can be short sighted and may not be aware of the player’s inventory limits at the time. So, to mitigate this, I made it possible for the player to go above the limit but only through events and battle drops.
为什么呢?因为开发者不可能考虑所以情况。大多数下,开发者不能知道玩家的仓库容量。所以,为了减轻这种情况,除非有事件或者战斗掉落,否则玩家只能被限制数量。

Why those two? Because of key items. Key items, if given by events and/or battle drops, are a necessity to progress in a game. Should the developer be unaware of the player’s inventory and provide a key item that cannot be inserted into the inventory, the player will be locked out of the game through no fault of their own. So to prioritize the player, this system is enabled.
又为什么呢?因为关键物品。在游戏中,通过事件或者战斗给与关键物品是游戏重要的换届。如果开发者不知道玩家库存,并且提供的关键物品无法进入仓库,玩家将会被锁住游戏进程不能游戏。所以优先考虑玩家,这个系统被打开。


作者:沧笙
链接:https://www.jianshu.com/p/5066a6679d9e
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非

点评

感谢史前大佬的解答  发表于 2020-3-19 22:06

评分

参与人数 1+1 收起 理由
白嫩白嫩的 + 1 认可答案

查看全部评分

没错,什么都没有。
回复 支持 1 反对 0

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
3446
在线时间
1158 小时
注册时间
2016-8-9
帖子
2389

开拓者

发表于 2020-3-19 22:09:10 | 显示全部楼层
kvex1 发表于 2020-3-19 02:54
这个问题之前回答过,那就复制粘贴一下之前的回答好了……
翻了翻奶牛的YEP教程,Yanfly自己在设计ItemCore ...

其实应该加个判断,就像网游里面的一样,您的背包已满,您的背包装不下这个东西,您不能再拾取这个东西,哈哈哈哈哈,这些令我脑壳痛的语音重复两遍就想删游戏。

其实无限背包也有好处,不给玩家增添无谓的负担,让他们把精力放在解密、打怪上面而不是经常想着怎么计算拿多少东西
酸酸甜甜就④哇噢
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
2727
在线时间
210 小时
注册时间
2017-9-28
帖子
283
发表于 2020-4-23 14:04:20 | 显示全部楼层
估计是没设置非独立物品。。。不知道是不是
回复 支持 反对

使用道具 举报

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

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-4-18 08:58

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表