搜索def damage(value, critical)
那句下面写有
if value.is_a?(Numeric)
damage_string = value.abs.to_s
else
damage_string = value.to_s
end
加一句
if value.is_a?(Numeric)
value=value.to_i
damage_string = value.abs.to_s
else
damage_string = value.to_s
end
以下引用dbshy于2008-11-22 22:30:05的发言:
value=value.trunc
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |