@team=[] (0...$game_party.alive_members.size).all?{|i|@team.push($game_party.alive_members[i].id)} return true if $game_party.alive_members == [self] return false unless @team.include?(20) and @actor_id!=19
@team.include?(20)
寒冷魔王 发表于 2014-10-11 05:32
假设@team.include?(20)的返回值是false。
[email protected]?(20) 的值则是true。
!更改的是!后面的值本身。
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |