返回列表 发布新帖

修改暴率的一准优化方法,尸体看

[复制链接]
745 9
发表于 2009-7-3 13:11 | 查看全部 阅读模式
本sql代码能分别批量修改所有白色,灰色,绿色,绿色以上装备,或按级别控制:1-N级别的怪各种品质装备的爆率,精英怪非精英怪的爆率,单独任务物品的爆率~ 等等~:
使用说明和代码如下:
  1:模拟器关闭状态   2:打开navicat 连接mysql  打开数据库 找到item_template  表 ,不打开,右键选择设计表数据表,然后把第一项entry改为 item 然后存储 ,存储玩关闭 返回数据库 运用查询执行下列代码即可实现: 完成后在将item_template  设计表 第一项改回entry 即可

70级以下 精英一下怪  绿色以下装备 暴率调低10倍
=====================================================================================
update
`creature_loot_template`
Inner Join `creature_template`
Inner Join `item_template`
set
`ChanceOrQuestChance` = `ChanceOrQuestChance` / 10
WHERE
`creature_loot_template`.`entry` = `creature_template`.`entry` AND
`creature_loot_template`.`ChanceOrQuestChance` > 0 and
`creature_loot_template`.`groupid` < 1 and
`creature_template`.`minlevel` < 70 AND `creature_template`.`rank` = 0 AND
`creature_loot_template`.`item` = `item_template`.`item` AND
`item_template`.`Quality` < 2
========================================================================================
70级以下 精英以上怪  绿色以下装备 暴率调低10倍
=======================================================================================
update
`creature_loot_template`
Inner Join `creature_template`
Inner Join `item_template`
set
`ChanceOrQuestChance` = `ChanceOrQuestChance` * 5
WHERE
`creature_loot_template`.`entry` = `creature_template`.`entry` AND
`creature_loot_template`.`ChanceOrQuestChance` > 0 and
`creature_loot_template`.`groupid` < 1 and
`creature_template`.`minlevel` < 70 AND `creature_template`.`rank` > 0 AND
`creature_loot_template`.`item` = `item_template`.`item` AND
`item_template`.`Quality` < 2
70级以下 精英以上怪  绿色以上装备 暴率调低10倍
=======================================================================================
update
`creature_loot_template`
Inner Join `creature_template`
Inner Join `item_template`
set
`ChanceOrQuestChance` = `ChanceOrQuestChance` / 10
WHERE
`creature_loot_template`.`entry` = `creature_template`.`entry` AND
`creature_loot_template`.`ChanceOrQuestChance` > 0 and
`creature_loot_template`.`groupid` < 1 and
`creature_template`.`minlevel` < 70 AND `creature_template`.`rank` > 0 AND
`creature_loot_template`.`item` = `item_template`.`item` AND
`item_template`.`Quality` > 1

=====================================================================================
70级以下 精英一下怪  绿色以上装备 暴率调低100倍
=====================================================================================
update
`creature_loot_template`
Inner Join `creature_template`
Inner Join `item_template`
set
`ChanceOrQuestChance` = `ChanceOrQuestChance` / 100
WHERE
`creature_loot_template`.`entry` = `creature_template`.`entry` AND
`creature_loot_template`.`ChanceOrQuestChance` > 0 and
`creature_loot_template`.`groupid` < 1 and
`creature_template`.`minlevel` < 70 AND `creature_template`.`rank` = 0 AND
`creature_loot_template`.`item` = `item_template`.`item` AND
`item_template`.`Quality` > 1
======================================================================================
所有任务物品暴率上调 25 %  暴率最高不超过 55 %
======================================================================================
update
`creature_loot_template`
Inner Join `item_template`
set
`ChanceOrQuestChance` = `ChanceOrQuestChance`+ 25
WHERE
`creature_loot_template`.`ChanceOrQuestChance` > 0 and
`creature_loot_template`.`ChanceOrQuestChance` < 30 and
`creature_loot_template`.`groupid` < 1 and
`creature_loot_template`.`item` = `item_template`.`item` AND
`item_template`.`class` = 12

评分

参与人数 1饭团 +66 收起 理由
mz84920 + 66 热心的小抹布~~~^_^

查看全部评分

评论9

尸体不要打 发表于 2009-7-3 13:20 | 查看全部
这个你大概是白忙或了,配置文件里有这些功能,但还是谢谢了。
回复

使用道具 举报

墨鱼 发表于 2009-7-3 13:27 | 查看全部
:yinxiao :yinxiao :yinxiao
回复

使用道具 举报

玛布鲁楼主 发表于 2009-7-3 13:33 | 查看全部
:yinxiao 配置里那个是成批修改相应成色的掉率

这个是修改不同等级的怪的不同成色的掉率
回复

使用道具 举报

尸体不要打 发表于 2009-7-3 13:44 | 查看全部
恩,在70以下和以上掉率相差太大的情况下需要用到
回复

使用道具 举报

niganshane 发表于 2009-7-3 13:52 | 查看全部
抹布还不走,赖在学校干啥啊
回复

使用道具 举报

玛布鲁楼主 发表于 2009-7-3 13:55 | 查看全部
:yinxiao
回复

使用道具 举报

傻傻^_^ 发表于 2009-7-4 09:59 | 查看全部
:yinxiao :yinxiao 抹布要等学校踢了再走
回复

使用道具 举报

elyn 发表于 2009-7-4 14:16 | 查看全部
钉子户抹布:yct25:
回复

使用道具 举报

风中的玫瑰 发表于 2009-7-5 01:47 | 查看全部
好久不上屠下版:xiao :xiao
回复

使用道具 举报

回复

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

本版积分规则

投诉/建议联系

admin@discuz.vip

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2026 最范网==WE ARE FANS! WE ARE FRIENDS!! 版权所有 All Rights Reserved. Powered by Discuz! X5.1 Licensed
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表