以下引用灯笼菜刀王于2008-8-20 18:37:01的发言:
if attacker.is_a?(Game_Actor) and attacker.id == ID
if rand(100) < 8 * attacker.dex / self.agi
self.damage *= 2
self.critical = true
end
else
if rand(100) < 8 * attacker.dex / self.agi
self.damage *= 2
self.critical = true
end
end
替换原来的爆击算法,红色部分添特殊的人物ID
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |