##########################宠转生转生转生转生转生转生转生转生
elsif @item.element_set.include?(12)
if @chong.level >= 108
# @chong.level
i = @chong.id
v = LX_VARIABLE + i
if $game_variables[v] == 2
if @chong.qinmi >= 60000
if @chong.longgu == 3
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp * 2.5 + (@chong.czl_base * 3 + 2.4) * 5000
@chong.maxsp = @chong.base_maxsp * 2.5 + (@chong.czl_base * 3 + 2.4) * 5000
@chong.str = @chong.base_str + 100 + (@chong.czl_base * 3 + 2.4) * 20
@chong.dex = @chong.base_dex + 100 + (@chong.czl_base * 3 + 2.4) * 20
@chong.agi = @chong.base_agi + 100 + (@chong.czl_base * 3 + 2.4) * 20
@chong.int = @chong.base_int + 100 + (@chong.czl_base * 3 + 2.4) * 20
@chong.qianli = 96
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 2
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp * 2.5 + (@chong.czl_base * 2 + 1.4) * 5000
@chong.maxsp = @chong.base_maxsp * 2.5 + (@chong.czl_base * 2 + 1.4) * 5000
@chong.str = @chong.base_str + 100 + (@chong.czl_base * 2 + 1.4) * 20
@chong.dex = @chong.base_dex + 100 + (@chong.czl_base * 2 + 1.4) * 20
@chong.agi = @chong.base_agi + 100 + (@chong.czl_base * 2 + 1.4) * 20
@chong.int = @chong.base_int + 100 + (@chong.czl_base * 2 + 1.4) * 20
@chong.qianli = 96
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 1
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp * 2.5 + (@chong.czl_base + 0.6) * 5000
@chong.maxsp = @chong.base_maxsp * 2.5 + (@chong.czl_base + 0.6) * 5000
@chong.str = @chong.base_str + 100 + (@chong.czl_base + 0.6) * 20
@chong.dex = @chong.base_dex + 100 + (@chong.czl_base + 0.6) * 20
@chong.agi = @chong.base_agi + 100 + (@chong.czl_base + 0.6) * 20
@chong.int = @chong.base_int + 100 + (@chong.czl_base + 0.6) * 20
@chong.qianli = 96
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 0
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp * 2.5
@chong.maxsp = @chong.base_maxsp * 2.5
@chong.str = @chong.base_str + 100
@chong.dex = @chong.base_dex + 100
@chong.agi = @chong.base_agi + 100
@chong.int = @chong.base_int + 100
@chong.qianli = 96
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
$game_variables[v] += 1
end
#####一转0.4和1.0和1.8,二转是0.6和1.4和2.4
end
end
if $game_variables[v] == 1
if @chong.qinmi >= 40000
if @chong.longgu == 3
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 2000 + (@chong.czl_base * 3 + 1.8) * 5000
@chong.maxsp = @chong.base_maxsp + 2000 + (@chong.czl_base * 3 + 1.8) * 5000
@chong.str = @chong.base_str + 80 + (@chong.czl_base * 3 + 1.8) * 20
@chong.dex = @chong.base_dex + 80 + (@chong.czl_base * 3 + 1.8) * 20
@chong.agi = @chong.base_agi + 80 + (@chong.czl_base * 3 + 1.8) * 20
@chong.int = @chong.base_int + 80 + (@chong.czl_base * 3 + 1.8) * 20
@chong.qianli = 48
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 2
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 2000 + (@chong.czl_base * 2 + 1.0) * 5000
@chong.maxsp = @chong.base_maxsp + 2000 + (@chong.czl_base * 2 + 1.0) * 5000
@chong.str = @chong.base_str + 80 + (@chong.czl_base * 2 + 1.0) * 20
@chong.dex = @chong.base_dex + 80 + (@chong.czl_base * 2 + 1.0) * 20
@chong.agi = @chong.base_agi + 80 + (@chong.czl_base * 2 + 1.0) * 20
@chong.int = @chong.base_int + 80 + (@chong.czl_base * 2 + 1.0) * 20
@chong.qianli = 48
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 1
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 2000 + (@chong.czl_base + 0.4) * 5000
@chong.maxsp = @chong.base_maxsp + 2000 + (@chong.czl_base + 0.4) * 5000
@chong.str = @chong.base_str + 80 + (@chong.czl_base + 0.4) * 20
@chong.dex = @chong.base_dex + 80 + (@chong.czl_base + 0.4) * 20
@chong.agi = @chong.base_agi + 80 + (@chong.czl_base + 0.4) * 20
@chong.int = @chong.base_int + 80 + (@chong.czl_base + 0.4) * 20
@chong.qianli = 48
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 0
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 2000
@chong.maxsp = @chong.base_maxsp + 2000
@chong.str = @chong.base_str + 80
@chong.dex = @chong.base_dex + 80
@chong.agi = @chong.base_agi + 80
@chong.int = @chong.base_int + 80
@chong.qianli = 48
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
end
end
#####一转0.4和1.0和1.8,二转是0.6和1.4和2.4
if $game_variables[v] == 0
if @chong.qinmi >= 20000
if @chong.longgu == 3
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 1000 + (@chong.czl_base * 3 + 1.2) * 5000
@chong.maxsp = @chong.base_maxsp + 1000 + (@chong.czl_base * 3 + 1.2) * 5000
@chong.str = @chong.base_str + 50 + (@chong.czl_base * 3 + 1.2) * 20
@chong.dex = @chong.base_dex + 50 + (@chong.czl_base * 3 + 1.2) * 20
@chong.agi = @chong.base_agi + 50 + (@chong.czl_base * 3 + 1.2) * 20
@chong.int = @chong.base_int + 50 + (@chong.czl_base * 3 + 1.2) * 20
@chong.qianli = 24
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 2
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 1000 + (@chong.czl_base * 2 + 0.6) * 5000
@chong.maxsp = @chong.base_maxsp + 1000 + (@chong.czl_base * 2 + 0.6) * 5000
@chong.str = @chong.base_str + 50 + (@chong.czl_base * 2 + 0.6) * 20
@chong.dex = @chong.base_dex + 50 + (@chong.czl_base * 2 + 0.6) * 20
@chong.agi = @chong.base_agi + 50 + (@chong.czl_base * 2 + 0.6) * 20
@chong.int = @chong.base_int + 50 + (@chong.czl_base * 2 + 0.6) * 20
@chong.qianli = 24
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 1
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 1000 + (@chong.czl_base + 0.2) * 5000
@chong.maxsp = @chong.base_maxsp + 1000 + (@chong.czl_base + 0.2) * 5000
@chong.str = @chong.base_str + 50 + (@chong.czl_base + 0.2) * 20
@chong.dex = @chong.base_dex + 50 + (@chong.czl_base + 0.2) * 20
@chong.agi = @chong.base_agi + 50 + (@chong.czl_base + 0.2) * 20
@chong.int = @chong.base_int + 50 + (@chong.czl_base + 0.2) * 20
@chong.qianli = 24
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
if @chong.longgu == 0
@chong.cz_spp = 0
@chong.cz_ap = 0
@chong.cz_hp = 0
@chong.cz_sp = 0
@chong.cz_mp = 0
@chong.level = 1
@chong.maxhp = @chong.base_maxhp + 1000
@chong.maxsp = @chong.base_maxsp + 1000
@chong.str = @chong.base_str + 50
@chong.dex = @chong.base_dex + 50
@chong.agi = @chong.base_agi + 50
@chong.int = @chong.base_int + 50
@chong.qianli = 24
@chong.czl += 0.2
@chong.lianji += [[@lianji, 5.0].max, 100.0].min
@chong.lianjis += [[@lianjis, 1].max, 100.0].min
@chong.zhiming += [[@zhiming, 5.0].max, 100.0].min
@chong.kuangbao += [[@kuangbao, 7.0].max, 100.0].min
$game_variables[v] += 1
end
end
end
end