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

Project1

 找回密码
 注册会员
搜索

怎么做装备上限限制

查看数: 6156 | 评论数: 3 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2020-2-3 04:29

正文摘要:

本帖最后由 清明上河図 于 2020-2-3 20:08 编辑 想把装备获取的数量做个上限, 用了yep物品核心,一些装备是 独立物品。   yep物品核心设置装备最大数,但似乎还能 获得装备,不懂是我设置错了还怎 ...

回复

walf_man 发表于 2020-2-3 20:20:34
fanzi大佬这个办法可谓是一举两得一箭双雕呀,学习了
Fan723 发表于 2020-2-3 11:12:28
你这应该是掉落的独立装备太多了,建议少掉落随机装备,改成掉落材料,然后玩家通过用材料去合成、强化、镶嵌来改造装备,这样可玩性又多了,玩家又不会一味往囤积装备上钻去。

点评

目前看来只能这样做了。。。  发表于 2020-2-3 20:07
kvex1 发表于 2020-2-3 07:37:27
本帖最后由 kvex1 于 2020-2-3 07:42 编辑

简单测试了一下,设置Max Weapons似乎只能限制商店购买。
如果限制只能带十把武器,满了的情况下就不能再从商店购买第十一把了,然而用事件获得武器或者敌人掉落获得武器却可以超过这个上限。


翻了翻奶牛的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-2-3 20:06
拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

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

GMT+8, 2024-5-4 15:40

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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