本帖最后由 dant 于 2012-4-4 15:09 编辑
#仅修改队列中角色 $game_party.members.each do |actor| actor.atk -= 5 actor.def -= 5 actor.spi -= 5 actor.agi -= 5 end
#仅修改队列中角色
$game_party.members.each do |actor|
actor.atk -= 5
actor.def -= 5
actor.spi -= 5
actor.agi -= 5
end
#修改全部角色 $data_actors.each do |db_actor| actor = $game_actors[db_actor.id] actor.atk -= 5 actor.def -= 5 actor.spi -= 5 actor.agi -= 5 end
#修改全部角色
$data_actors.each do |db_actor|
actor = $game_actors[db_actor.id]
actor.atk -= 5
actor.def -= 5
actor.spi -= 5
actor.agi -= 5
end
|