赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 0 |
最后登录 | 2020-7-30 |
在线时间 | 10 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 110
- 在线时间
- 10 小时
- 注册时间
- 2020-5-2
- 帖子
- 7
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 guoxiaoxun123 于 2020-5-4 10:45 编辑
class Window_Status < Window_Base
#--------------------------------------------------------------------------
# ● 初始化对像
# actor : 角色
#--------------------------------------------------------------------------
def initialize(actor)
super(0, 0, 640, 480)
self.contents = Bitmap.new(width - 32, height - 32)
@actor = actor
@face = Sprite.new
@face.bitmap = Bitmap.new("Graphics/body/"+actor.name)
#@face.zoom_x = @face.zoom_y = 2
@face.x = 32
@face.y = 32
@face.z = 999
self.opacity = 255
@window_skill1 = Window_Base.new(30,290,100,180)
@window_skill1.contents = Bitmap.new(90, 160)
@window_skill1.visible = true
@window_skill2 = Window_Base.new(130,290,200,180)
@window_skill2.contents = Bitmap.new(180, 160)
@window_skill2.visible = true
@window_skill3 = Window_Base.new(330,290,270,180)
@window_skill3.contents = Bitmap.new(250, 160)
@window_skill3.visible = true
refresh
end
def dispose
@face.dispose
@window_skill1.dispose
@window_skill2.dispose
@window_skill3.dispose
super
end
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color
self.contents.draw_text(220,0,128,48,"武力")
self.contents.draw_text(220,32,128,48,"智力")
self.contents.draw_text(220,64,128,48,"速度")
self.contents.draw_text(220,96,128,48,"攻击")
self.contents.draw_text(220,128,128,48,"防御")
self.contents.font.color = normal_color
self.contents.draw_text(270,0,36,48,@actor.str.to_s,2)
self.contents.draw_text(270,32,36,48,@actor.int.to_s,2)
self.contents.draw_text(270,64,36,48,@actor.agi.to_s,2)
self.contents.draw_text(270,96,36,48,@actor.atk.to_s,2)
self.contents.draw_text(270,128,36,48,@actor.pdef.to_s,2)
bitmap = RPG::Cache.picture("bar")
src_rect = Rect.new(0,0, @actor.str * bitmap.width / 255, bitmap.height)
self.contents.blt(320,16,bitmap,src_rect)
src_rect = Rect.new(0,0, @actor.int * bitmap.width / 255, bitmap.height)
self.contents.blt(320,48,bitmap,src_rect)
src_rect = Rect.new(0,0, @actor.agi * bitmap.width / 255, bitmap.height)
self.contents.blt(320,80,bitmap,src_rect)
src_rect = Rect.new(0,0, @actor.atk * bitmap.width / 255, bitmap.height)
self.contents.blt(320,112,bitmap,src_rect)
src_rect = Rect.new(0,0, @actor.pdef * bitmap.width / 255, bitmap.height)
self.contents.blt(320,144,bitmap,src_rect)
self.contents.font.color = system_color
#名字
self.contents.draw_text(450,224,128,48,@actor.name)
self.contents.draw_text(520,224,128,48,@actor.class_name)
# 特技
self.contents.draw_text(220,160,128,48,"天赋")
self.contents.font.color = normal_color
if $game_variables[57] == 26 or $game_variables[370] == 1
if @actor.str < 200
self.contents.draw_text(420,160,128,48,"★")
end
if @actor.str >= 200 and @actor.str < 210
self.contents.draw_text(420,160,128,48, "☆")
end
if @actor.str >= 210 and @actor.str < 220
self.contents.draw_text(420,160,128,48, "☆☆")
end
if @actor.str >= 220 and @actor.str < 230
self.contents.draw_text(420,160,128,48, "☆☆★")
end
if @actor.str >= 230 and @actor.str < 240
self.contents.draw_text(420,160,128,48, "☆☆★★")
end
if @actor.str >= 240 and @actor.str < 250
self.contents.draw_text(420,160,128,48, "☆☆★★★")
end
if @actor.str == 250
self.contents.draw_text(420,160,128,48, "☆☆★★★★")
end
if @actor.str >= 255
self.contents.draw_text(420,160,128,48, "☆☆★★★★★")
end
end
if $game_variables[57] == 27
if @actor.int < 200
self.contents.draw_text(420,160,128,48,"◆")
end
if @actor.int >= 200 and @actor.int < 210
self.contents.draw_text(420,160,128,48, "◇")
end
if @actor.int >= 210 and @actor.int < 220
self.contents.draw_text(420,160,128,48, "◇◇")
end
if @actor.int >= 220 and @actor.int < 230
self.contents.draw_text(420,160,128,48, "◇◇◆")
end
if @actor.int >= 230 and @actor.int < 240
self.contents.draw_text(420,160,128,48, "◇◇◆◆")
end
if @actor.int >= 240 and @actor.int < 250
self.contents.draw_text(420,160,128,48, "◇◇◆◆◆")
end
if @actor.int == 250
self.contents.draw_text(420,160,128,48, "◇◇◆◆◆◆")
end
if @actor.int >= 255
self.contents.draw_text(420,160,128,48, "◇◇◆◆◆◆◆")
end
end
if @actor.class_id == 1
self.contents.draw_text(320,160,128,48,"枭雄")
self.contents.draw_text(220,192,400,48, "受到伤害概率将伤害降低为1")
end
if @actor.class_id == 35
self.contents.draw_text(320,160,128,48,"真·枭雄")
self.contents.draw_text(220,192,400,48, "枭雄发动后概率会提升")
end
if @actor.class_id == 2
self.contents.draw_text(320,160,128,48, "武圣")
self.contents.draw_text(220,192,400,48, "觉醒时,普通攻击必定暴击")
end
if @actor.class_id == 36
self.contents.draw_text(320,160,128,48, "真·武圣")
self.contents.draw_text(220,192,400,48, "普通攻击必定暴击且暴击威力提升")
end
if @actor.class_id == 3
self.contents.draw_text(320,160,128,48, "斗神")
self.contents.draw_text(220,192,400,48, "将受到的伤害转变为攻击力")
end
if @actor.class_id == 37
self.contents.draw_text(320,160,128,48, "真·斗神")
self.contents.draw_text(220,192,400,48, "攻击值受伤值皆会转变为攻击力")
end
if @actor.class_id == 4
self.contents.draw_text(320,160,128,48, "治疗")
self.contents.draw_text(220,192,400,48, "使用恢复计策概率恢复全体武将")
end
if @actor.class_id == 38
self.contents.draw_text(320,160,128,48, "真·治疗")
self.contents.draw_text(220,192,400,48, "使用恢复计策恢复全体武将")
end
if @actor.class_id == 5
self.contents.draw_text(320,160,128,48, "强运")
self.contents.draw_text(220,192,400,48, "战斗结束后宝箱出现率提升")
end
if @actor.class_id == 39
self.contents.draw_text(320,160,128,48, "真·强运")
self.contents.draw_text(220,192,400,48, "战斗结束后稀有宝箱出现率提升")
end
if @actor.class_id == 6
self.contents.draw_text(320,160,128,48, "护卫")
self.contents.draw_text(220,192,400,48, "拥有特殊技能-护卫")
end
if @actor.class_id == 40
self.contents.draw_text(320,160,128,48, "真·护卫")
self.contents.draw_text(220,192,400,48, "护卫姿态可以行动")
end
if @actor.class_id == 7
self.contents.draw_text(320,160,128,48, "骁勇")
self.contents.draw_text(220,192,400,48, "普通攻击伤害与最大士兵数相关")
end
if @actor.class_id == 41
self.contents.draw_text(320,160,128,48, "真·骁勇")
self.contents.draw_text(220,192,400,48, "普通攻击伤害会增加最大士兵数")
end
if @actor.class_id == 8
self.contents.draw_text(320,160,128,48, "坚韧")
self.contents.draw_text(220,192,400,48, "可以格挡住更多的伤害")
end
if @actor.class_id == 42
self.contents.draw_text(320,160,128,48, "真·坚韧")
self.contents.draw_text(220,192,400,48, "格挡后增加自身防御力")
end
if @actor.class_id == 9
self.contents.draw_text(320,160,128,48, "神算")
self.contents.draw_text(220,192,400,48, "使用计策无视敌方智力")
end
if @actor.class_id == 43
self.contents.draw_text(320,160,128,48, "真·神算")
self.contents.draw_text(220,192,400,48, "使用计策无视并且降低敌方智力")
end
if @actor.class_id == 10
self.contents.draw_text(320,160,128,48, "卧龙")
self.contents.draw_text(220,192,400,48, "火、水、木计策概率使目标混乱")
end
if @actor.class_id == 44
self.contents.draw_text(320,160,128,48, "真·卧龙")
self.contents.draw_text(220,192,400,48, "火、水、木计策概率使目标离间")
end
if @actor.class_id == 11
self.contents.draw_text(320,160,128,48, "烈弓")
self.contents.draw_text(220,192,400,48, "装备养由弓时,普通攻击必定暴击")
end
if @actor.class_id == 45
self.contents.draw_text(320,160,128,48, "真·烈弓")
self.contents.draw_text(220,192,400,48, "战斗外可以使用特技-弓法")
end
if @actor.class_id == 12
self.contents.draw_text(320,160,128,48, "威风")
self.contents.draw_text(220,192,400,48, "普通攻击降低敌将斗志")
end
if @actor.class_id == 46
self.contents.draw_text(320,160,128,48, "真·威风")
self.contents.draw_text(220,192,400,48, "普通攻击吸取敌将斗志")
end
if @actor.class_id == 13
self.contents.draw_text(320,160,128,48, "勇烈")
self.contents.draw_text(220,192,400,48, "暴击伤害提高")
end
if @actor.class_id == 47
self.contents.draw_text(320,160,128,48, "真·勇烈")
self.contents.draw_text(220,192,400,48, "暴击伤害提高下次暴击伤害")
end
if @actor.class_id == 14
self.contents.draw_text(320,160,128,48, "凤雏")
self.contents.draw_text(220,192,400,48, "火、水、木计策概率二连击")
end
if @actor.class_id == 48
self.contents.draw_text(320,160,128,48, "真·凤雏")
self.contents.draw_text(220,192,400,48, "火、水、木计策二连击")
end
if @actor.class_id == 15
self.contents.draw_text(320,160,128,48, "强袭")
self.contents.draw_text(220,192,400,48, "普通攻击概率二连击")
end
if @actor.class_id == 49
self.contents.draw_text(320,160,128,48, "真·强袭")
self.contents.draw_text(220,192,400,48, "普通攻击二连击")
end
if @actor.class_id == 16
self.contents.draw_text(320,160,128,48, "能吏")
self.contents.draw_text(220,192,400,48, "战斗结束后回复部分策略点")
end
if @actor.class_id == 50
self.contents.draw_text(320,160,128,48, "真·能吏")
self.contents.draw_text(220,192,400,48, "战斗结束后回复全部策略点")
end
if @actor.class_id == 17
self.contents.draw_text(320,160,128,48, "承志")
self.contents.draw_text(220,192,400,48, "我方武将死亡后提升战斗力")
end
if @actor.class_id == 51
self.contents.draw_text(320,160,128,48, "真·承志")
self.contents.draw_text(220,192,400,48, "我方武将死亡后无限提升战斗力")
end
if @actor.class_id == 18
self.contents.draw_text(320,160,128,48, "飞将")
self.contents.draw_text(220,192,400,48, "普攻觉醒时概率伤害9999")
end
if @actor.class_id == 52
self.contents.draw_text(320,160,128,48, "真·飞将")
self.contents.draw_text(220,192,400,48, "普通攻击概率伤害99999")
end
if @actor.class_id == 19
self.contents.draw_text(320,160,128,48, "倾国")
self.contents.draw_text(220,192,400,48, "普通攻击概率离间目标")
end
if @actor.class_id == 53
self.contents.draw_text(320,160,128,48, "真·倾国")
self.contents.draw_text(220,192,400,48, "普通攻击概率离间目标,雷暴有效")
end
if @actor.class_id == 20
self.contents.draw_text(320,160,128,48, "仇策")
self.contents.draw_text(220,192,400,48, "根据受伤次数,提升计策伤害")
end
if @actor.class_id == 54
self.contents.draw_text(320,160,128,48, "真·仇策")
self.contents.draw_text(220,192,400,48, "根据受伤和用计次数,提升计策伤害")
end
if @actor.class_id == 21
self.contents.draw_text(320,160,128,48, "贤德")
self.contents.draw_text(220,192,400,48, "战斗结束后回复部分策略点")
end
if @actor.class_id == 22
self.contents.draw_text(320,160,128,48, "豪勇")
self.contents.draw_text(220,192,400,48, "士兵满员时,普通攻击必定暴击")
end
if @actor.class_id == 55
self.contents.draw_text(320,160,128,48, "真·豪勇")
self.contents.draw_text(220,192,400,48, "自身攻击术型,士兵满员攻击暴击")
end
if @actor.class_id == 23
self.contents.draw_text(320,160,128,48, "不屈")
self.contents.draw_text(220,192,400,48, "斗志积累速度提高")
end
if @actor.class_id == 56
self.contents.draw_text(320,160,128,48, "真·不屈")
self.contents.draw_text(220,192,400,48, "斗志积累速度提高,消耗变慢")
end
if @actor.class_id == 24
self.contents.draw_text(320,160,128,48, "刚勇")
self.contents.draw_text(220,192,400,48, "普通攻击必定暴击")
end
if @actor.class_id == 100
self.contents.draw_text(320,160,128,48, "真·刚勇")
self.contents.draw_text(220,192,400,48, "普通攻击必定暴击且暴击伤害为三倍")
end
if @actor.class_id == 25
self.contents.draw_text(320,160,128,48, "豪强")
self.contents.draw_text(220,192,400,48, "暴击伤害为三倍")
end
if @actor.class_id == 101
self.contents.draw_text(320,160,128,48, "真·豪强")
self.contents.draw_text(220,192,400,48, "暴击伤害为三倍且必然暴击")
end
if @actor.class_id == 26
self.contents.draw_text(320,160,128,48, "雷法")
self.contents.draw_text(220,192,400,48, "雷暴不会降低伤害")
end
if @actor.class_id == 57
self.contents.draw_text(320,160,128,48, "真·雷法")
self.contents.draw_text(220,192,400,48, "觉醒时,攻击必定雷暴")
end
if @actor.class_id == 27
self.contents.draw_text(320,160,128,48, "神枪")
self.contents.draw_text(220,192,400,48, "普通攻击概率攻击1-3名敌将")
end
if @actor.class_id == 104
self.contents.draw_text(320,160,128,48, "真·神枪")
self.contents.draw_text(220,192,400,48, "普通攻击斩击1-3名敌将")
end
if @actor.class_id == 28
self.contents.draw_text(320,160,128,48, "刚烈")
self.contents.draw_text(220,192,400,48, "反弹伤害提升")
end
if @actor.class_id == 60
self.contents.draw_text(320,160,128,48, "真·刚烈")
self.contents.draw_text(220,192,400,48, "反弹后增加闪避")
end
if @actor.class_id == 29
self.contents.draw_text(320,160,128,48, "铁壁")
self.contents.draw_text(220,192,400,48, "觉醒时,防御可免疫任何伤害")
end
if @actor.class_id == 61
self.contents.draw_text(320,160,128,48, "真·铁壁")
self.contents.draw_text(220,192,400,48, "防御可免疫任何伤害")
end
if @actor.class_id == 30
self.contents.draw_text(320,160,128,48, "音律")
self.contents.draw_text(220,192,400,48, "独有特技 长河吟")
end
if @actor.class_id == 58
self.contents.draw_text(320,160,128,48, "真·音律")
self.contents.draw_text(220,192,400,48, "长河吟每回合自动释放")
end
if @actor.class_id == 31
self.contents.draw_text(320,160,128,48, "圣痕")
self.contents.draw_text(220,192,400,48, "自带武器全类型效果")
end
if @actor.class_id == 32
self.contents.draw_text(320,160,128,48, "魏武")
self.contents.draw_text(220,192,400,48, "可以使用特技 魏武挥鞭")
end
if @actor.class_id == 59
self.contents.draw_text(320,160,128,48, "真·魏武")
self.contents.draw_text(220,192,400,48, "魏武挥鞭使人觉醒并且满觉醒值")
end
if @actor.class_id == 62
self.contents.draw_text(320,160,128,48, "英魂")
self.contents.draw_text(220,192,400,48, "每回合回复一定的血量")
end
if @actor.class_id == 63
self.contents.draw_text(320,160,128,48, "真·英魂")
self.contents.draw_text(220,192,400,48, "每回合回复大部分血量")
end
if @actor.class_id == 64
self.contents.draw_text(320,160,128,48, "暴虐")
self.contents.draw_text(220,192,400,48, "普通攻击附带嘲讽效果")
end
if @actor.class_id == 65
self.contents.draw_text(320,160,128,48, "真·暴虐")
self.contents.draw_text(220,192,400,48, "所有行为附带嘲讽效果")
end
if @actor.class_id == 66
self.contents.draw_text(320,160,128,48, "威震")
self.contents.draw_text(220,192,400,48, "普通攻击概率疑心目标")
end
if @actor.class_id == 67
self.contents.draw_text(320,160,128,48, "真·威震")
self.contents.draw_text(220,192,400,48, "普通攻击概率疑心目标,雷暴有效")
end
if @actor.class_id == 68
self.contents.draw_text(320,160,128,48, "恶来")
self.contents.draw_text(220,192,400,48, "受到致死伤害概率不死,触发概率降低")
end
if @actor.class_id == 69
self.contents.draw_text(320,160,128,48, "真·恶来")
self.contents.draw_text(220,192,400,48, "受到致死伤害概率不死")
end
if @actor.class_id == 70
self.contents.draw_text(320,160,128,48, "虎痴")
self.contents.draw_text(220,192,400,48, "独有特技 裸衣")
end
if @actor.class_id == 71
self.contents.draw_text(320,160,128,48, "真·虎痴")
self.contents.draw_text(220,192,400,48, "裸衣状态可以控制")
end
if @actor.class_id == 72
self.contents.draw_text(320,160,128,48, "天妒")
self.contents.draw_text(220,192,400,48, "火、水、木计策概率暴击")
end
if @actor.class_id == 73
self.contents.draw_text(320,160,128,48, "真·天妒")
self.contents.draw_text(220,192,400,48, "火、水、木计策必定暴击")
end
if @actor.class_id == 74
self.contents.draw_text(320,160,128,48, "巧变")
self.contents.draw_text(220,192,400,48, "普通攻击兼具力、守、技、术、速")
end
if @actor.class_id == 75
self.contents.draw_text(320,160,128,48, "真·巧变")
self.contents.draw_text(220,192,400,48, "兼具五种能力并且大幅提升")
end
if @actor.class_id == 76
self.contents.draw_text(320,160,128,48, "神速")
self.contents.draw_text(220,192,400,48, "普通攻击概率降低目标速度")
end
if @actor.class_id == 77
self.contents.draw_text(320,160,128,48, "真·神速")
self.contents.draw_text(220,192,400,48, "普通攻击降低目标速度")
end
if @actor.class_id == 78
self.contents.draw_text(320,160,128,48, "亚夫")
self.contents.draw_text(220,192,400,48, "普通攻击乱心目标")
end
if @actor.class_id == 79
self.contents.draw_text(320,160,128,48, "真·亚夫")
self.contents.draw_text(220,192,400,48, "普通攻击乱心目标,雷暴有效")
end
if @actor.class_id == 80
self.contents.draw_text(320,160,128,48, "神医")
self.contents.draw_text(220,192,400,48, "恢复计策恢复全体武将且拥有秘技·治疗")
end
if @actor.class_id == 81
self.contents.draw_text(320,160,128,48, "真·神医")
self.contents.draw_text(220,192,400,48, "恢复计策恢复全体武将且拥有秘技·仙术")
end
if @actor.class_id == 82
self.contents.draw_text(320,160,128,48, "克己")
self.contents.draw_text(220,192,400,48, "攻击大概率发动冰霜")
end
if @actor.class_id == 83
self.contents.draw_text(320,160,128,48, "真·克己")
self.contents.draw_text(220,192,400,48, "攻击必定发动冰霜")
end
if @actor.class_id == 84
self.contents.draw_text(320,160,128,48, "濒死")
self.contents.draw_text(220,192,400,48, "几率不死")
end
if @actor.class_id == 85
self.contents.draw_text(320,160,128,48, "真·濒死")
self.contents.draw_text(220,192,400,48, "战场不死,受致命伤回满血量")
end
if @actor.class_id == 86
self.contents.draw_text(320,160,128,48, "锦帆")
self.contents.draw_text(220,192,400,48, "普通攻击概率降低目标攻击")
end
if @actor.class_id == 87
self.contents.draw_text(320,160,128,48, "真·锦帆")
self.contents.draw_text(220,192,400,48, "普通攻击降低目标攻击")
end
if @actor.class_id == 88
self.contents.draw_text(320,160,128,48, "天义")
self.contents.draw_text(220,192,400,48, "属性概率发动提升")
end
if @actor.class_id == 89
self.contents.draw_text(320,160,128,48, "真·天义")
self.contents.draw_text(220,192,400,48, "属性概率发动提升,自身免疫属性")
end
if @actor.class_id == 90
self.contents.draw_text(320,160,128,48, "连营")
self.contents.draw_text(220,192,400,48, "火、水、木计策概率全体")
end
if @actor.class_id == 91
self.contents.draw_text(320,160,128,48, "真·连营")
self.contents.draw_text(220,192,400,48, "火、水、木计策攻击全体")
end
if @actor.class_id == 92
self.contents.draw_text(320,160,128,48, "激昂")
self.contents.draw_text(220,192,400,48, "觉醒后伤害提升")
end
if @actor.class_id == 93
self.contents.draw_text(320,160,128,48, "真·激昂")
self.contents.draw_text(220,192,400,48, "觉醒后伤害逐渐提升")
end
if @actor.class_id == 94
self.contents.draw_text(320,160,128,48, "猛进")
self.contents.draw_text(220,192,400,48, "普通攻击概率降低目标防御")
end
if @actor.class_id == 95
self.contents.draw_text(320,160,128,48, "真·猛进")
self.contents.draw_text(220,192,400,48, "普通攻击降低目标防御")
end
if @actor.class_id == 96
self.contents.draw_text(320,160,128,48, "苦肉")
self.contents.draw_text(220,192,400,48, "拥有特技 鞭挞")
end
if @actor.class_id == 97
self.contents.draw_text(320,160,128,48, "真·苦肉")
self.contents.draw_text(220,192,400,48, "鞭挞同时增加防御")
end
if @actor.class_id == 98
self.contents.draw_text(320,160,128,48, "枪神")
self.contents.draw_text(220,192,400,48, "普通攻擊概率攻击全体")
end
if @actor.class_id == 99
self.contents.draw_text(320,160,128,48, "真·枪神")
self.contents.draw_text(220,192,400,48, "普通攻擊攻击全体化")
end
if @actor.class_id == 102
self.contents.draw_text(320,160,128,48, "道法")
self.contents.draw_text(220,192,400,48, "无视僵尸属性")
end
if @actor.class_id == 103
self.contents.draw_text(320,160,128,48, "真·道法")
self.contents.draw_text(220,192,400,48, "无视僵尸属性且无惧僵尸伤害")
end
if @actor.class_id == 105
self.contents.draw_text(320,160,128,48, "经略")
self.contents.draw_text(220,192,400,48, "战后经验增加")
end
if @actor.class_id == 106
self.contents.draw_text(320,160,128,48, "真·经略")
self.contents.draw_text(220,192,400,48, "战后经验、收入增加一倍")
end
if @actor.class_id == 107
self.contents.draw_text(320,160,128,48, "王佐")
self.contents.draw_text(220,192,400,48, "火、水、木计策发动无视地形")
end
if @actor.class_id == 108
self.contents.draw_text(320,160,128,48, "真·王佐")
self.contents.draw_text(220,192,400,48, "火、水、木计策无视地形且木计威力提升")
end
if @actor.class_id == 109
self.contents.draw_text(320,160,128,48, "袭斩")
self.contents.draw_text(220,192,400,48, "必然先手攻击")
end
if @actor.class_id == 110
self.contents.draw_text(320,160,128,48, "真·袭斩")
self.contents.draw_text(220,192,400,48, "必然先手且普通攻击伤害提升一倍")
end
if @actor.class_id == 111
self.contents.draw_text(320,160,128,48, "伪帝")
self.contents.draw_text(220,192,400,48, "普通攻击附带五大属性")
end
if @actor.class_id == 112
self.contents.draw_text(320,160,128,48, "真·伪帝")
self.contents.draw_text(220,192,400,48, "普通攻击附带五大属性且大幅提升")
end
if @actor.class_id == 113
self.contents.draw_text(320,160,128,48, "擒纵")
self.contents.draw_text(220,192,400,48, "普通攻击大幅回复自身血量")
end
if @actor.class_id == 114
self.contents.draw_text(320,160,128,48, "真·擒纵")
self.contents.draw_text(220,192,400,48, "普攻回血,满兵力伤害两倍")
end
if @actor.class_id == 115
self.contents.draw_text(320,160,128,48, "帝道")
self.contents.draw_text(220,192,400,48, "帝国之主,免疫属性攻击")
end
if @actor.class_id == 116
self.contents.draw_text(320,160,128,48, "真·帝道")
self.contents.draw_text(220,192,400,48, "帝国之主,免疫任何负面效果")
end
if @actor.class_id == 117
self.contents.draw_text(320,160,128,48, "摄魂")
self.contents.draw_text(220,192,400,48, "勾魂阴使,装备专属武器可致人死亡")
end
if @actor.class_id == 118
self.contents.draw_text(320,160,128,48, "真·摄魂")
self.contents.draw_text(220,192,400,48, "鬼都阴帅,属性大增,可装备专属魂器")
end
if @actor.class_id == 119
self.contents.draw_text(320,160,128,48, "摄魂")
self.contents.draw_text(220,192,400,48, "勾魂阳使,装备专属武器可致人死亡")
end
if @actor.class_id == 120
self.contents.draw_text(320,160,128,48, "真·摄魂")
self.contents.draw_text(220,192,400,48, "鬼都阴帅,属性大增,可装备专属魂器")
end
if @actor.class_id == 302
self.contents.draw_text(320,160,128,48, "???")
self.contents.draw_text(220,192,400,48, "普通攻击概率二连击、全体化,特技概率全体化二连击")
end
if @actor.class_id == 121
self.contents.draw_text(320,160,128,48, "真·贤德")
self.contents.draw_text(220,192,400,48, "战后全军回复,战中释放光环全军全能力提升")
end
if @actor.class_id == 122
self.contents.draw_text(320,160,128,48, "水师")
self.contents.draw_text(220,192,400,48, "水计策威力提升一倍")
end
if @actor.class_id == 123
self.contents.draw_text(320,160,128,48, "真·水师")
self.contents.draw_text(220,192,400,48, "水计策威力提升一倍,水属性无效")
end
if @actor.class_id == 124
self.contents.draw_text(320,160,128,48, "神·骁勇")
self.contents.draw_text(220,192,400,48, "继承骁勇,血量成长,回避上升,自身伤害翻倍")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 125
self.contents.draw_text(320,160,128,48, "飞刀")
self.contents.draw_text(220,192,400,48, "擅使飞刀,普攻攻击概率致对方流血")
end
if @actor.class_id == 126
self.contents.draw_text(320,160,128,48, "真·飞刀")
self.contents.draw_text(220,192,400,48, "擅使飞刀,普攻攻击致对方流血,雷暴有效")
end
if @actor.class_id == 127
self.contents.draw_text(320,160,128,48, "神·卧龙")
self.contents.draw_text(220,192,400,48, "继承卧龙,智谋成长,计策伤害三倍")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 128
self.contents.draw_text(320,160,128,48, "汉祚")
self.contents.draw_text(220,192,400,48, "逆天轮回,每次战后全能力上升")
end
if @actor.class_id == 129
self.contents.draw_text(320,160,128,48, "真·汉祚")
self.contents.draw_text(220,192,400,48, "逆天轮回,汉室得存,龙脉护体,成就神魂")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 130
self.contents.draw_text(320,160,128,48, "神·枭雄")
self.contents.draw_text(220,192,400,48, "枭雄提升,魔武双修,自身伤害及计策伤害提升一倍")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 131
self.contents.draw_text(320,160,128,48, "破胆")
self.contents.draw_text(220,192,400,48, "普通攻击概率无视防御")
end
if @actor.class_id == 132
self.contents.draw_text(320,160,128,48, "真·破胆")
self.contents.draw_text(220,192,400,48, "普通攻击概率无视防御,雷暴可用")
end
if @actor.class_id == 133
self.contents.draw_text(320,160,128,48, "神·武圣")
self.contents.draw_text(220,192,400,48, "普攻必然暴击,自身伤害三倍,暴击伤害三倍")
self.contents.draw_text(220,224,230,48, "鬼圣:无视20%的防御")
end
if @actor.class_id == 134
self.contents.draw_text(320,160,128,48, "陷阵")
self.contents.draw_text(220,192,400,48, "普通攻击兵力越少,伤害越高")
end
if @actor.class_id == 135
self.contents.draw_text(320,160,128,48, "真·陷阵")
self.contents.draw_text(220,192,400,48, "普通攻击兵力越少,伤害越高且造成两倍伤害")
end
if @actor.class_id == 136
self.contents.draw_text(320,160,128,48, "鬼谋")
self.contents.draw_text(220,192,400,48, "水火木计策概率同时发动远谋、深谋、虚实、连环")
end
if @actor.class_id == 137
self.contents.draw_text(320,160,128,48, "真·鬼谋")
self.contents.draw_text(220,192,400,48, "水火木计策大概率同时发动远谋、深谋、虚实、连环")
end
if @actor.class_id == 138
self.contents.draw_text(320,160,128,48, "神·强袭")
if $game_variables[270] < 1000
self.contents.draw_text(220,192,400,48, "普攻三连击,连击成长,自身伤害两倍")
end
if $game_variables[270] >= 1000
self.contents.draw_text(220,192,400,48, "普攻四连击,连击成长,自身伤害两倍")
end
if $game_variables[270] >= 5000
self.contents.draw_text(220,192,400,48, "普攻五连击,连击成长,自身伤害两倍")
end
if $game_variables[270] >= 10000
self.contents.draw_text(220,192,400,48, "普攻六连击,自身伤害两倍")
end
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 139
self.contents.draw_text(320,160,128,48, "神·铁壁")
if $game_variables[272] < 1000
self.contents.draw_text(220,192,400,48, "受最大伤害49999,可成长,受到伤害降低")
end
if $game_variables[272] >= 1000
self.contents.draw_text(220,192,400,48, "受最大伤害39999,可成长,受到伤害降低")
end
if $game_variables[272] >= 5000
self.contents.draw_text(220,192,400,48, "受最大伤害29999,可成长,受到伤害降低")
end
if $game_variables[272] >= 10000
self.contents.draw_text(220,192,400,48, "受最大伤害19999,受到伤害降低")
end
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 140
self.contents.draw_text(320,160,128,48, "神·烈弓")
self.contents.draw_text(220,192,400,48, "手持养由弓,弓法成长,自身伤害两倍")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 141
self.contents.draw_text(320,160,128,48, "神道")
self.contents.draw_text(220,192,400,48, "使用计策的威力为平时的两倍")
end
if @actor.class_id == 142
self.contents.draw_text(320,160,128,48, "真·神道")
self.contents.draw_text(220,192,400,48, "使用计策的威力为平时的两倍,并习得阵法·云龙阵")
end
if @actor.class_id == 143
self.contents.draw_text(320,160,128,48, "仙法")
self.contents.draw_text(220,192,400,48, "使用计策的同时概率降低对方的生命上限")
end
if @actor.class_id == 144
self.contents.draw_text(320,160,128,48, "真·仙法")
self.contents.draw_text(220,192,400,48, "使用计策的同时概率降低对方的生命上限,并习得阵法·两仪阵")
end
if @actor.class_id == 145
self.contents.draw_text(320,160,128,48, "地仙·神道")
self.contents.draw_text(220,192,400,48, "使用计策的威力为平时的两倍,并习得阵法·云龙阵")
self.contents.draw_text(220,224,230,48, "地仙之体:受到物理伤害降低,基础血量翻倍")
end
if @actor.class_id == 146
self.contents.draw_text(320,160,128,48, "地仙·仙法")
self.contents.draw_text(220,192,400,48, "使用计策的同时概率降低对方的生命上限,并习得阵法·两仪阵")
self.contents.draw_text(220,224,230,48, "地仙之体:受到物理伤害降低,基础血量翻倍")
end
if @actor.class_id == 147
self.contents.draw_text(320,160,128,48, "魔·飞将")
self.contents.draw_text(220,192,400,48, "武力成长,全体攻击概率造成伤害99999")
self.contents.draw_text(220,224,230,48, "魔神:飞将触发概率永久上升10%")
end
if @actor.class_id == 148
self.contents.draw_text(320,160,128,48, "神·英魂")
self.contents.draw_text(220,192,400,48, "铸就神魂,神魂成长,每回合回复已损失的血量")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 149
self.contents.draw_text(320,160,128,48, "宽忌")
self.contents.draw_text(220,192,400,48, "将受到的物理攻击部分返还对方")
end
if @actor.class_id == 150
self.contents.draw_text(320,160,128,48, "真·宽忌")
self.contents.draw_text(220,192,400,48, "将受到的伤害部分返还对方")
end
if @actor.class_id == 151
self.contents.draw_text(320,160,128,48, "灵犀")
self.contents.draw_text(220,192,400,48, "命中随等级提升")
end
if @actor.class_id == 152
self.contents.draw_text(320,160,128,48, "真·灵犀")
self.contents.draw_text(220,192,400,48, "命中随战斗提升")
end
if @actor.class_id == 153
self.contents.draw_text(320,160,128,48, "神·狼顾")
self.contents.draw_text(220,192,400,48, "无视计策伤害,使用计策额外造成对方生命10%的伤害")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 154
self.contents.draw_text(320,160,128,48, "魔·圣痕")
self.contents.draw_text(220,192,400,48, "继承圣痕,十倍兵力,能力随等级成长")
self.contents.draw_text(220,224,230,48, "魔虎:可以使用特技,猛虎召唤")
end
if @actor.class_id == 157
self.contents.draw_text(320,160,128,48, "神·枪王")
self.contents.draw_text(220,192,400,48, "普通攻击斩击全体,无法免疫")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 156
self.contents.draw_text(320,160,128,48, "神·强运")
self.contents.draw_text(220,192,400,48, "战斗结束后稀有宝箱出现率提升,拥有神技·神来之手")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
if @actor.class_id == 158
self.contents.draw_text(320,160,128,48, "冥宝")
self.contents.draw_text(220,192,400,48, "战斗结束后冥币收入提升一倍")
end
if @actor.class_id == 159
self.contents.draw_text(320,160,128,48, "真·冥宝")
self.contents.draw_text(220,192,400,48, "战斗结束后冥币收入提升三倍")
end
if @actor.class_id == 155
if $game_variables[375] < 500
self.contents.draw_text(320,160,128,48, "神·音律")
end
if $game_variables[375] < 100
self.contents.draw_text(220,192,400,48, "继承音律,火计成长,使用火计策威力翻倍")
end
if $game_variables[375] >= 100
self.contents.draw_text(220,192,400,48, "继承音律,火计成长,使用火计策威力二.五倍")
end
if $game_variables[375] >= 300
self.contents.draw_text(220,224,230,48, "火神:所到之处,尽成火属")
end
if $game_variables[375] >= 500
self.contents.draw_text(320,160,128,48, "神·湮灭")
self.contents.draw_text(220,192,400,48, "继承音律,使用火计策威力三倍")
end
end
if @actor.class_id == 160
self.contents.draw_text(320,160,128,48, "魔·斗神")
self.contents.draw_text(220,192,400,48, "继承斗神,转化攻击力的上限可成长")
self.contents.draw_text(220,224,230,48, "爆喝:使随机敌方一人停止行动")
end
end
if @actor.class_id == 161
self.contents.draw_text(320,160,128,48, "神·仇策")
self.contents.draw_text(220,192,400,48, "继承仇策,计策伤害成长,使用计策伤害三倍")
self.contents.draw_text(220,224,230,48, "神格光环:全能力上涨10%,基础血量翻倍")
end
#end
#--------------------------------------------------------------------------
# ● 刷新第二个窗口
#--------------------------------------------------------------------------
#def skill1
# @face.visible = false
# @window_equip.visible = false
# @window_skill1.visible = true
# @window_skill2.visible = true
# self.contents.clear
@data = []
# 火 水 石 疗
for i in [email protected]
skill = $data_skills[@actor.skills]
if skill != nil and (skill.id >= 2 and skill.id <= 21)
@data.push(skill)
end
end
#@window_skill1.contents.clear
if @data[0] != nil
@window_skill1.contents.draw_text(0,5,80,30,@data[0].name)
end
if @data[1] != nil
@window_skill1.contents.draw_text(0,40,80,30,@data[1].name)
end
if @data[2] != nil
@window_skill1.contents.draw_text(0,75,80,30,@data[2].name)
end
if @data[3] != nil
@window_skill1.contents.draw_text(0,110,80,30,@data[3].name)
end
# 阵型
@data = []
for i in [email protected]
skill = $data_skills[@actor.skills]
if skill != nil and (skill.id >= 41 and skill.id <= 50)
@data.push(skill)
end
end
#@window_skill2.contents.clear
for i in [email protected]
@window_skill2.contents.draw_text((i%2)*90,i/2 * 30,100,24,@data.name)
end
#end
#--------------------------------------------------------------------------
# ● 刷新第三个窗口
#--------------------------------------------------------------------------
#def skill2
#self.contents.clear
#@window_skill1.visible = false
# @window_skill2.visible = false
# @window_skill3.visible = true
@data = []
# 火 水 石 疗
for i in [email protected]
skill = $data_skills[@actor.skills]
if skill != nil and (skill.id >=22 and skill.id <= 39)
@data.push(skill)
end
end
#@window_skill3.contents.clear
for i in [email protected]
@window_skill3.contents.draw_text((i%3)*80,i/3 * 30,90,24,@data.name)
end
end
end
|
|