赞 | 0 |
VIP | 90 |
好人卡 | 0 |
积分 | 104 |
经验 | 60532 |
最后登录 | 2020-7-14 |
在线时间 | 1181 小时 |
Lv4.逐梦者 水月·镜花
- 梦石
- 10
- 星屑
- 403
- 在线时间
- 1181 小时
- 注册时间
- 2005-10-22
- 帖子
- 1183
|
- def refresh
- self.contents.clear
- self.contents.font.color = system_color
- self.contents.draw_text(0, 0, 64, 20, "名稱")
- self.contents.draw_text(152, 0, 64, 20, "圖標")
- self.contents.draw_text(0, 20, 64, 20, "說明")
- self.contents.draw_text(0, 40, 64, 20, "備註")
- self.contents.draw_text(0, 80, 128, 20, "增減HP")
- self.contents.draw_text(152, 80, 128, 20, "增減MP")
- self.contents.draw_text(304, 80, 128, 20, "增減SP")
- self.contents.draw_text(456, 80, 128, 20, "增減傷勢")
- self.contents.draw_text(0, 100, 128, 20, "力量%")
- self.contents.draw_text(152, 100, 128, 20, "耐力%")
- self.contents.draw_text(304, 100, 128, 20, "敏捷%")
- self.contents.draw_text(456, 100, 128, 20, "造成傷害%")
- self.contents.draw_text(0, 120, 128, 20, "MP傷害")
- self.contents.draw_text(152, 120, 128, 20, "SP傷害")
- self.contents.draw_text(304, 120, 128, 20, "攻擊毒性")
- self.contents.draw_text(456, 120, 128, 20, "攻擊範圍+")
- self.contents.draw_text(0, 140, 128, 20, "殺傷範圍+")
- self.contents.draw_text(152, 140, 128, 20, "移動範圍+")
- self.contents.draw_text(304, 140, 128, 20, "挨打傷害%")
- self.contents.draw_text(456, 140, 128, 20, "加暴擊率")
- self.contents.draw_text(0, 160, 128, 20, "加雙擊率")
- self.contents.draw_text(152, 160, 128, 20, "造成傷勢%")
- self.contents.draw_text(304, 160, 128, 20, "受到傷勢%")
- self.contents.draw_text(456, 160, 128, 20, "復活類型")
- self.contents.draw_text(0, 180, 128, 20, "吸血率%")
- self.contents.draw_text(152, 180, 128, 20, "吸魔量")
- self.contents.draw_text(304, 180, 128, 20, "被擊吸魔%")
- self.contents.draw_text(456, 180, 128, 20, "吸體率%")
- self.contents.draw_text(0, 200, 128, 20, "破甲率%")
- self.contents.draw_text(152, 200, 128, 20, "破防率%")
- self.contents.draw_text(304, 200, 128, 20, "填充速度%")
- self.contents.draw_text(456, 200, 128, 20, "事件id")
- self.contents.draw_text(0, 220, 128, 20, "反擊量%")
- self.contents.draw_text(152, 220, 128, 20, "加反擊量%")
- self.contents.draw_text(304, 220, 128, 20, "加減免量%")
- self.contents.draw_text(456, 220, 128, 20, "加狀態率%")
- self.contents.draw_text(0, 240, 128, 20, "免疫破甲")
- self.contents.draw_text(152, 240, 128, 20, "免疫破防")
- self.contents.draw_text(304, 240, 128, 20, "免疫中毒")
- self.contents.draw_text(456, 240, 128, 20, "免疫受傷")
- self.contents.draw_text(0, 260, 128, 20, "免疫變形")
- self.contents.draw_text(0, 280, 608, 20, "狀態回合 : 幻 昏 定 疫 血 瘀 胃 麻 虛 ")
- self.contents.draw_text(0, 300, 608, 20, "解除狀態 : 幻 昏 定 疫 血 瘀 胃 麻 虛 ")
- self.contents.draw_text(0, 320, 608, 20, "免疫狀態 : 幻 昏 定 疫 血 瘀 胃 麻 虛 ")
- self.contents.draw_text(0, 340, 304, 20, "命中%:戰 神 元 射 刺 ")
- self.contents.draw_text(304, 340, 304, 20, "閃避%:戰 神 元 射 刺 ")
- self.contents.draw_text(0, 360, 304, 20, "威力%:戰 神 元 射 刺 ")
- self.contents.draw_text(304, 360, 304, 20, "減威力:戰 神 元 射 刺")
- self.contents.draw_text(0, 380, 304, 20, "爆氣%:戰 神 元 射 刺")
- self.contents.draw_text(480, 0, 128, 20, "保存退出")
- self.contents.font.color = normal_color
- self.contents.draw_text(64, 0, 100, 20, @data.name== "" ? "-" : @data.name)
- self.contents.draw_text(152+64, 0, 64, 20, @data.icon=="" ? "-":@data.icon)
- self.contents.draw_text(64, 20, 544, 20, @data.description==""?"-":@data.description)
- self.contents.draw_text(64, 40, 544, 20, @data.commont==""?"-":@data.commont)
- self.contents.draw_text(96, 80, 64, 20, @data.flip_damage.to_s)
- self.contents.draw_text(248, 80, 128, 20, @data.flip_mp.to_s)
- self.contents.draw_text(400, 80, 128, 20, @data.flip_sp.to_s)
- self.contents.draw_text(552, 80, 128, 20, @data.flip_injure.to_s)
- self.contents.draw_text(96, 100, 128, 20, @data.atk_rate.to_s)
- self.contents.draw_text(248, 100, 128, 20, @data.def_rate.to_s)
- self.contents.draw_text(400, 100, 128, 20, @data.agi_rate.to_s)
- self.contents.draw_text(552, 100, 128, 20, @data.damage_rate.to_s)
- self.contents.draw_text(96, 120, 128, 20, @data.mp_damage.to_s)
- self.contents.draw_text(248, 120, 128, 20, @data.sp_damage.to_s)
- self.contents.draw_text(400, 120, 128, 20, @data.poi_plus.to_s)
- self.contents.draw_text(552, 120, 128, 20, @data.atk_range_plus.to_s)
- self.contents.draw_text(96, 140, 128, 20, @data.atk_scale_plus.to_s)
- self.contents.draw_text(248, 140, 128, 20, @data.movement_plus.to_s)
- self.contents.draw_text(400, 140, 128, 20, @data.damage_take_rate.to_s)
- self.contents.draw_text(552, 140, 128, 20, @data.cr_rate_plus.to_s)
- self.contents.draw_text(96, 160, 128, 20, @data.doublehit_rate_plus.to_s)
- self.contents.draw_text(248, 160, 128, 20, @data.injure_rate_hit.to_s)
- self.contents.draw_text(400, 160, 128, 20, @data.injure_rate_hitted.to_s)
- self.contents.draw_text(552, 160, 128, 20, @data.reborn_type.to_s)
- self.contents.draw_text(96, 180, 128, 20, @data.hp_drain_rate.to_s)
- self.contents.draw_text(248, 180, 128, 20, @data.mp_drain.to_s)
- self.contents.draw_text(400, 180, 128, 20, @data.mp_drain_rate_hit.to_s)
- self.contents.draw_text(552, 180, 128, 20, @data.sp_drain.to_s)
- self.contents.draw_text(96, 200, 128, 20, @data.ignore_armor_rate.to_s)
- self.contents.draw_text(248, 200, 128, 20, @data.ignore_raito_rate.to_s)
- self.contents.draw_text(400, 200, 128, 20, @data.reload_rate.to_s)
- self.contents.draw_text(552, 200, 128, 20, @data.event_id.to_s)
- self.contents.draw_text(96, 220, 128, 20, @data.counter_rate.to_s)
- self.contents.draw_text(248, 220, 128, 20, @data.counter_rate_plus.to_s)
- self.contents.draw_text(400, 220, 128, 20, @data.obsorb_rate_plus.to_s)
- self.contents.draw_text(552, 220, 128, 20, @data.state_plus_rate.to_s)
- self.contents.draw_text(96, 240, 128, 20, @data.cant_ignore_armor ? "○" : "×")
- self.contents.draw_text(248, 240, 128, 20, @data.cant_ignore_raito ? "○" : "×")
- self.contents.draw_text(400, 240, 128, 20, @data.immune_poison ? "○" : "×")
- self.contents.draw_text(552, 240, 128, 20, @data.cant_injure ? "○" : "×")
- self.contents.draw_text(96, 260, 128, 20, @data.cant_trans ? "○" : "×")
- for i in 1..9
- self.contents.draw_text(88+i*40, 280, 20, 20, @data.state_plus[i].to_s)
- self.contents.draw_text(88+i*40, 300, 20, 20, @data.state_minus[i] ? "○" : "×")
- self.contents.draw_text(88+i*40, 320, 20, 20, @data.state_immune[i] ? "○" : "×")
- end
- for i in 1..5
- self.contents.draw_text(54+i*40, 340, 24, 20, @data.hit_rates[i].to_s)
- self.contents.draw_text(358+i*40, 340, 24, 20, @data.eva_rates_plus[i].to_s)
- self.contents.draw_text(54+i*40, 360, 24, 20, @data.power_rates[i].to_s)
- self.contents.draw_text(358+i*40, 360, 24, 20, @data.hitted_power_rates[i].to_s)
- self.contents.draw_text(54+i*40, 380, 24, 20, @data.burst_rates_plus[i].to_s)
- end
- end
复制代码 這是數據編輯器的腳本囧囧囧 |
|