# HP 以及 SP 的回复 last_hp = self.hp last_sp = self.sp self.hp += recover_hp self.sp += recover_sp effective |= self.hp != last_hp effective |= self.sp != last_sp # 状态变化 @state_changed = false effective |= states_plus(item.plus_state_set) effective |= states_minus(item.minus_state_set)
九靈 发表于 2013-8-31 21:51
Boolean也有二进制型?
还是跟or || 相同?(a = a | b)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |