class EFS_Battler < Game_Character
#--------------------------------------------------------------------------
# ● 定义实例变量
#--------------------------------------------------------------------------
attr_accessor:hp # 属性访问器:hp
attr_accessor:hp_max # 属性访问器:hp最大值
attr_accessor:is_cal # 属性访问器:是骑兵
attr_accessor:is_arc # 属性访问器:是远程兵
attr_accessor:heavy # 属性访问器:是重装兵
attr_accessor:armor_hp # 属性访问器:护甲值
attr_accessor:shd_hp # 属性访问器:盾甲值
attr_accessor:base_atk # 属性访问器:基本攻击力
attr_accessor:bro_atk # 属性访问器:破甲攻击力
attr_accessor:s_base_atk # 属性访问器:远程基本攻击力
attr_accessor:s_bro_atk # 属性访问器:远程破甲攻击力
attr_accessor:atk_skill # 属性访问器:攻击技巧
attr_accessor:def_skill # 属性访问器:防御技巧
attr_accessor:charge_boun # 属性访问器:冲锋加成
attr_accessor:morale # 属性访问器:士气 (100max)
attr_accessor:critical_hit # 属性访问器:暴击率
attr_accessor:the_name # 属性访问器:显示名字
attr_accessor:character_name # 属性访问器:头像模型名字角色名称
attr_accessor:name # 属性访问器:名称
attr_reader :movement_speed # 属性阅读器:移动速度
attr_accessor:move_frequency # 属性访问器:移动频率
attr_reader :ammo_name # 属性访问器:弹药模型名字
attr_reader :ammo_d_name # 属性访问器:落地后的弹药模型名字
attr_reader :exp # 属性阅读器:经验值
attr_accessor:ammo # 属性访问器:弹药
attr_reader :ammo_max # 属性阅读器:弹药上线
attr_reader :team # 属性阅读器:团队
attr_accessor:group # 属性访问器:队伍
attr_reader :anti_cav # 属性阅读器:反骑兵伤害加成
attr_reader :anti_inf # 属性阅读器:反步兵伤害加成
attr_accessor:target # 属性访问器:目标靶子
attr_accessor:result # 属性访问器:战斗结果
attr_accessor:move_type # 属性访问器:移动类型
attr_accessor:leader # 属性访问器:指挥者
attr_reader :removed # 属性阅读器:移开
attr_reader :goal_x # 属性阅读器:目标_ x
attr_reader :goal_y # 属性阅读器:目标_ y
attr_reader :shd_hp_max # 属性阅读器:护盾hp最大值
attr_reader :armor_hp_max # 属性阅读器:盔甲hp最大值
attr_reader :label # 属性阅读器:标签()
attr_accessor :killed # 属性访问器:杀死
attr_reader :exp # 属性阅读器:经验
attr_reader :price # 属性阅读器:价格
#attr_reader :deleteable
attr_reader :def_se # 属性阅读器:定义音效
attr_reader :def_se_num # 属性阅读器:定义音效数目
attr_accessor :equips # 属性访问器:装备
attr_accessor :starting_morale # 属性访问器:鼓舞士气
attr_reader :level_up # 属性阅读器:等级上升
attr_reader :soldier_id # 属性阅读器:士兵 id
attr_reader :closet_enermy # 属性阅读器:不公开的敌人
attr_reader :base_morale # 属性阅读器:基本_音量
attr_accessor :hp_counter # 属性访问器:hp_计数器
attr_accessor :captain_skill # 属性访问器:队长技能
attr_accessor :already_deal_dead# 属性访问器:已经终止分配
attr_reader :hit_by_missile # 属性访问器:被导弹击中
#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize(data_id)#定义初始化(数据_id)
super()
@the_name = Figter_data::THE_NAME[data_id]
@character_name = Figter_data::CHARACTER_NAME[data_id]
@basic_character_name = @character_name
@ammo_name = Figter_data::AMMO_NAME[data_id]
@ammo_d_name = Figter_data::AMMO_D_NAME[data_id]
@atk_se = Figter_data::ATK_SE[data_id]
@atk_se_num = Figter_data::ATK_SE_NUM[data_id]
@s_atk_se = Figter_data::S_ATK_SE[data_id]
@s_atk_se_num = Figter_data::S_ATK_SE_NUM[data_id]
@is_cal = Figter_data::IS_CAL[data_id]
@is_arc = Figter_data::IS_ARC[data_id]
@heavy = Figter_data::HEAVY[data_id]
@exp = Figter_data::EXP[data_id]
@hp_max = Figter_data::HP_MAX[data_id]
@hp = @hp_max
@armor_hp_max = Figter_data::AMMOR_HP[data_id]
@armor_hp = @armor_hp_max
@shd_hp_max = Figter_data::SHD_HP[data_id]
@shd_hp = @shd_hp_max
@base_atk = Figter_data::BASE_ATK[data_id]
@bro_atk = Figter_data::BRO_ATK[data_id]
@atk_skill = Figter_data::ATK_SKILL[data_id]
@def_skill = Figter_data::DEF_SKILL[data_id]
@anti_cav = Figter_data::ANTI_CAV[data_id]
@anti_inf = Figter_data::ANTI_INF[data_id]
@charge_boun = Figter_data::CHARGE_BOUN[data_id]
@morale = Figter_data::MORALE[data_id]
@atk_fr = Figter_data::ATK_FR[data_id]
@atk_range = Figter_data::ATK_RANGE[data_id]
@engage_range = Figter_data::ENGAGE_RANGE[data_id]
@movement_speed = Figter_data::MOVEMENT_SPEED[data_id]
@accuracy = Figter_data::ACCURATCY[data_id]
@live_chance = Figter_data::LIVE_CHANCE[data_id]
@ammo_max = Figter_data::AMMO_MAX[data_id]
@ammo=@ammo_max
@s_base_atk = Figter_data::S_BASE_ATK[data_id]
@s_bro_atk = Figter_data::S_BRO_ATK[data_id]
@critical_hit = Figter_data::CRITICAL_HIT[data_id]
@label = Figter_data::LABEL[data_id]
@exp = Figter_data::EXP[data_id]
@price = Figter_data::PRICE[data_id]
@exp_need = Figter_data::EXP_NEED[data_id]
@next_level = Figter_data::NEXT_LEVEL[data_id]
@atk_code = Figter_data::ATK_CODE[data_id]
@fly_type = Figter_data::S_FLY_TYPE[data_id]
@s_pass_by_se = Figter_data::S_PASSBY_SE[data_id]
@s_pass_by_se_num = Figter_data::S_PASSBY_SE_NUM[data_id]
@s_drop_se = Figter_data::S_DROP_SE[data_id]
@s_drop_se_num = Figter_data::S_DROP_SE_NUM[data_id]
@def_se = Figter_data::DEF_SE[data_id]
@def_se_num = Figter_data::DEF_SE_NUM[data_id]
@captain_skill = Figter_data::CAPTAIN_SKILL[data_id]
@base_armor_hp = @armor_hp # @基础盔甲hp=@盔甲hp
@base_shd_hp = @shd_hp # @基本盾甲hp值=盾甲hp值
@base_base_atk = @base_atk # @基本普通攻击=普通攻击
@base_bro_atk = @bro_atk # @基本破甲攻击力=破甲攻击力
@base_anti_cav = @anti_cav # @基本反骑兵伤害加成=反骑兵伤害加成
@base_anti_inf = @anti_inf # @基本反步兵伤害加成=反步兵伤害加成
@base_atk_fr = @atk_fr # @基本攻击频率=攻击频率
@base_engage_range = @engage_range # @基本交战范围=交战范围
@base_move_speed = @move_speed # @基本移动速度=移动速度
@base_accuracy = @accuracy # @基本精确度=精确度
@base_s_base_atk = @s_base_atk # @基本远程基本攻击力=远程基本攻击力
@base_s_bro_atk = @s_bro_atk # @基本远程破甲攻击力
@base_live_chance = @live_chance # @基本生还几率=生还几率
@base_critical_hit = @critical_hit # @基本暴击率=暴击率
@base_ammo_max = @ammo_max # @基本弹药上线=弹药上线
@base_morale = @morale # @基本士气 (100max)