本帖最后由 jiushiainilip19 于 2016-2-20 16:08 编辑 插入战斗类,不要插入到main前 我这里是写出来告诉你 你自己手动添加进去就好了 自动战斗的话要看你用的那个脚本 需要你自己在自动战斗脚本中添加释放技能几率的判定 我个人是使用技能冷却配合自动战斗 比如在某个状态下必定释放这个技能 RUBY 代码复制
|
你说的那些我都没玩过 所以不要用游戏说明要求 把你要求的效果说明白些就好 看我能不能帮你搞搞 如果只是发挥技能的话就直接判定角色有没有装备几号装备 if user.armor2_id == XXX #角色装备栏2的装备是什么 看你游戏设定来设定 power*=100 and power/=100 elsif user.armor2_id == XXX #通过elsif的方法可以不断的进行调整 power*=100 and power/=100 end #这个多少威力就自己设定 然后要看你的游戏是不是什么模式 是自动战斗模式还是说动模式 |
没有 不过要判断合击要先判断角色 大概就是下面的方法 要用在战斗类脚本中 RUBY 代码复制
|
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-9-22 17:41
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.