if item.is_a?(RPG::Skill) #===== 从这里添加
case item.id
when 27,31,32,34,646,647,648,655,656#这里是技能ID
if self.state?(编号)# 在脚本中,a要置换成user,b要置换成self
$game_switches[编号] = true
else
$game_switches[编号] = false
end
when 777 #这是777号技能
if self.state?(编号A) #这公式是对方有状态A时附加状态B
self.add_state(编号B).to_i
end
end#===如果在无其他公式的话