void Start() { EventInterface ei = new FallRoomEvent(18, 11, this.getEventBeginInfo(), this.getEventEndInfoMap(), EventConstant.ENTER_EVENT, EventConstant.FALL_DOWN__EVENT, 0, 0, 1); this.setRoomEvent(ei); }
void Start() { string[] options1 = new string[] { "小心翼翼地检查地面", "你需要神志判定是否检查到地板裂缝" }; string[] options2 = new string[] { "完全没不注意地面", "哇!。摇晃的地板让你重心不稳,你需要速度判定来躲避掉下去" }; string[] options3 = new string[] { "高兴地跳着", "地面已经被你震裂开来,你来不及反应就已经掉了下去 你需要速度判定收到的伤害" }; Dictionary <string, string[]> options = new Dictionary <string, string[]>(); options.Add(EventConstant.OPTION_CODE_1, options1); options.Add(EventConstant.OPTION_CODE_2, options2); options.Add(EventConstant.OPTION_CODE_3, options3); EventInterface ei = new FallRoomEvent(10, 5, this.getEventBeginInfo(), this.getEventEndInfoMap(), EventConstant.ENTER_EVENT, EventConstant.FALL_DOWN__EVENT, 0, 0, 1, options); this.setRoomEvent(ei); }