diff --git a/save.json b/save.json index be1c9d1..05904b2 100644 --- a/save.json +++ b/save.json @@ -1 +1 @@ -{"player":{"hp":2,"maxHp":100,"patk":10,"matk":10,"pdef":10,"mdef":10,"crit":0,"critdmg":110,"level":7,"exp":466,"maxExp":1135,"inventory":[{"name":"雷霆锤","type":"weapon","quality":"rare","level":1,"patk":17,"matk":5,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":["物攻 +5"],"desc":"Lv.1 rare品质的武器","id":"6931ab54ee18e","quantity":1},{"id":"6931ab5b497ab","type":"spell","name":"柔拳","quality":"epic","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},{"id":"6931ab91181f3","type":"spell","name":"柔拳","quality":"rare","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},{"id":"6931abc63bfe2","type":"spell","name":"柔拳","quality":"rare","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},{"name":"金疮药","type":"consume","quality":"epic","level":1,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":88,"affixes":[],"desc":"Lv.1 epic品质的药剂","id":"6931abc63bfe5","quantity":1},{"name":"雷霆锤","type":"weapon","quality":"rare","level":1,"patk":18,"matk":5,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":["暴击伤害 +4%"],"desc":"Lv.1 rare品质的武器","id":"69327b840cf71","quantity":1},{"id":"6932835613509","type":"spell","name":"寒冰爆裂","quality":"rare","level":3,"spellId":20,"enhanceLevel":0,"calc_type":"matk","cost":35,"spellType":"damage_aoe","desc":"召唤冰雹,攻击所有敌人","heal_ratio":0,"damage_ratio":1,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},{"id":"69329a311fbfd","type":"spell","name":"柔拳","quality":"rare","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},{"name":"青钢剑","type":"weapon","quality":"rare","level":1,"patk":14,"matk":4,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":["物攻 +4"],"desc":"Lv.1 rare品质的武器","id":"69329a4a985f8","quantity":1},{"name":"金疮药","type":"consume","quality":"epic","level":1,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":91,"affixes":[],"desc":"Lv.1 epic品质的药剂","id":"69329a5c694b8","quantity":1},{"name":"回灵丹","type":"consume","quality":"epic","level":3,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":97,"affixes":[],"desc":"Lv.3 epic品质的药剂","id":"69329ae8762cb","quantity":1},{"id":"69329b2cab706","type":"spell","name":"刀气切割","quality":"rare","level":3,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":20,"quantity":1},{"name":"烈焰刀","type":"weapon","quality":"rare","level":1,"patk":12,"matk":11,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":["暴击率 +10"],"desc":"Lv.1 rare品质的武器","id":"69329b2cab71c","quantity":1}],"equip":{"weapon":{"name":"铁剑","type":"weapon","quality":"epic","level":1,"patk":25,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":6,"critdmg":0,"heal":0,"affixes":["暴击率 +8","物攻 +2%"],"desc":"Lv.1 epic品质的武器","id":"69327b6a60eb3","quantity":1,"enhanceLevel":0}},"spiritStones":867,"npcFlags":{"gift_li_feiyu":true},"talentPoints":3,"talents":{"hp":6,"patk":0,"matk":0,"pdef":0,"mdef":0,"crit":0,"critdmg":0},"mana":7,"maxMana":100,"skillSlots":{"skill1":{"id":"69319e185013f","type":"spell","name":"刀气切割","quality":"rare","level":3,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill2":{"id":"69319e1850143","type":"spell","name":"妙手回春","quality":"common","level":5,"spellId":1,"enhanceLevel":0,"calc_type":"matk","cost":15,"spellType":"heal_single","desc":"恢复自己或队友的生命值,效果与魔攻相关","heal_ratio":0.5,"damage_ratio":1,"heal_base":20,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill3":{"id":"69319e6144cf6","type":"spell","name":"柔拳","quality":"legendary","level":1,"spellId":10,"enhanceLevel":1,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":2.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill4":{"id":"69329b2cab723","type":"spell","name":"寒冰爆裂","quality":"rare","level":3,"spellId":20,"enhanceLevel":0,"calc_type":"matk","cost":35,"spellType":"damage_aoe","desc":"召唤冰雹,攻击所有敌人","heal_ratio":0,"damage_ratio":1,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1}},"partners":[{"id":"li_feiyu","name":"厉飞雨","level":6,"exp":11,"maxExp":757,"equip":{"weapon":{"name":"玄铁剑","type":"weapon","quality":"rare","level":1,"patk":22,"matk":1,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":["物攻 +7"],"desc":"Lv.1 rare品质的武器","id":"69329a5c694e3","quantity":1}},"talents":{"hp":10,"patk":5,"matk":0,"pdef":0,"mdef":0,"crit":0,"critdmg":0},"talentWeights":{"hp":1,"patk":1,"matk":1,"pdef":1,"mdef":1,"crit":1,"critdmg":1},"mana":10,"maxMana":100,"skillSlots":{"skill1":{"id":"69319cc96e00b","type":"spell","name":"寒冰爆裂","quality":"common","level":3,"spellId":20,"enhanceLevel":0,"calc_type":"matk","cost":35,"spellType":"damage_aoe","desc":"召唤冰雹,攻击所有敌人","heal_ratio":0,"damage_ratio":0.7,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill2":{"id":"69327b840cfb4","type":"spell","name":"柔拳","quality":"legendary","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":2.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},"skill3":{"id":"6932955a5626b","type":"spell","name":"舍身救人","quality":"epic","level":5,"spellId":2,"enhanceLevel":0,"calc_type":"hp_percent","cost":20,"spellType":"heal_single","desc":"将自己的部分生命值转移给队友","heal_ratio":0.5,"damage_ratio":1,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},"skill4":null},"hp":200,"maxHp":100,"patk":15,"matk":5,"pdef":5,"mdef":3,"crit":10,"critdmg":130}]},"dungeonId":1,"state":2} \ No newline at end of file +{"player":{"hp":64,"maxHp":100,"patk":10,"matk":10,"pdef":10,"mdef":10,"crit":0,"critdmg":110,"level":8,"exp":891,"maxExp":1702,"inventory":[{"id":"6931ab5b497ab","type":"spell","name":"柔拳","quality":"epic","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},{"id":"6932ac0ee3fc4","type":"spell","name":"柔拳","quality":"epic","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"name":"补气丹","type":"consume","quality":"common","level":3,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":47,"affixes":[],"desc":"Lv.3 common品质的药剂","id":"6932ae5588756","quantity":1},{"name":"金疮药","type":"consume","quality":"common","level":1,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":40,"affixes":[],"desc":"Lv.1 common品质的药剂","id":"6932ae6c47ebf","quantity":1},{"name":"皮甲","type":"armor","quality":"common","level":3,"patk":0,"matk":0,"pdef":5,"mdef":1,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":[],"desc":"Lv.3 common品质的防具","id":"6932ae6c47ed3","quantity":1},{"name":"筑基丹","type":"consume","quality":"legendary","level":3,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":142,"affixes":[],"desc":"Lv.3 legendary品质的药剂","id":"6932ae6c47ed6","quantity":1},{"name":"寒冰剑","type":"weapon","quality":"rare","level":1,"patk":5,"matk":19,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":["暴击率 +4"],"desc":"Lv.1 rare品质的武器","id":"6932ae86e8db1","quantity":1},{"id":"6932aea3aff70","type":"spell","name":"柔拳","quality":"common","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"id":"6932aefa29969","type":"spell","name":"柔拳","quality":"common","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"name":"铁剑","type":"weapon","quality":"common","level":1,"patk":8,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":[],"desc":"Lv.1 common品质的武器","id":"6932af0f486e5","quantity":1},{"name":"回灵丹","type":"consume","quality":"rare","level":3,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":68,"affixes":[],"desc":"Lv.3 rare品质的药剂","id":"6932af22dfcf9","quantity":1},{"name":"寒冰剑","type":"weapon","quality":"epic","level":1,"patk":11,"matk":33,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":16,"heal":0,"affixes":["魔攻 +8%","物攻 +7%"],"desc":"Lv.1 epic品质的武器","id":"6932af538285f","quantity":1},{"name":"补气丹","type":"consume","quality":"rare","level":5,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":78,"affixes":[],"desc":"Lv.5 rare品质的药剂","id":"6932af53828aa","quantity":1},{"name":"筑基丹","type":"consume","quality":"epic","level":3,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":98,"affixes":[],"desc":"Lv.3 epic品质的药剂","id":"6932af789f54e","quantity":1},{"id":"6932af789f55b","type":"spell","name":"柔拳","quality":"common","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"name":"金疮药","type":"consume","quality":"common","level":1,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":41,"affixes":[],"desc":"Lv.1 common品质的药剂","id":"6932af789f56a","quantity":1},{"id":"6932af966cc27","type":"spell","name":"妙手回春","quality":"rare","level":5,"spellId":1,"enhanceLevel":0,"calc_type":"matk","cost":15,"spellType":"heal_single","desc":"恢复自己或队友的生命值,效果与魔攻相关","heal_ratio":0.8,"damage_ratio":1,"heal_base":40,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"name":"回灵丹","type":"consume","quality":"common","level":5,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":57,"affixes":[],"desc":"Lv.5 common品质的药剂","id":"6932af966cc45","quantity":1},{"name":"金疮药","type":"consume","quality":"rare","level":1,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":58,"affixes":[],"desc":"Lv.1 rare品质的药剂","id":"6932af966cc52","quantity":1},{"id":"6932afb298129","type":"spell","name":"柔拳","quality":"common","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"name":"铁剑","type":"weapon","quality":"common","level":1,"patk":8,"matk":1,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":[],"desc":"Lv.1 common品质的武器","id":"6932afb298139","quantity":1},{"name":"皮甲","type":"armor","quality":"rare","level":3,"patk":0,"matk":0,"pdef":9,"mdef":2,"hp":36,"crit":0,"critdmg":0,"heal":0,"affixes":["生命值 +32"],"desc":"Lv.3 rare品质的防具","id":"6932afb298140","quantity":1},{"name":"金疮药","type":"consume","quality":"common","level":3,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":55,"affixes":[],"desc":"Lv.3 common品质的药剂","id":"6932afb29815a","quantity":1},{"id":"6932afdfc9f31","type":"spell","name":"柔拳","quality":"common","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.2,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"name":"培元丹","type":"consume","quality":"common","level":5,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":63,"affixes":[],"desc":"Lv.5 common品质的药剂","id":"6932afdfc9f6d","quantity":1},{"name":"灵珠","type":"necklace","quality":"common","level":5,"patk":0,"matk":0,"pdef":0,"mdef":0,"hp":35,"crit":0,"critdmg":0,"heal":0,"affixes":[],"desc":"Lv.5 common品质的项链","id":"6932b002659c8","quantity":1},{"id":"6932b002659d4","type":"spell","name":"妙手回春","quality":"common","level":5,"spellId":1,"enhanceLevel":0,"calc_type":"matk","cost":15,"spellType":"heal_single","desc":"恢复自己或队友的生命值,效果与魔攻相关","heal_ratio":0.5,"damage_ratio":1,"heal_base":20,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},{"id":"6932b002659d7","type":"spell","name":"集体治疗","quality":"common","level":5,"spellId":30,"enhanceLevel":0,"calc_type":"matk","cost":30,"spellType":"heal_aoe","desc":"为所有队员增加防护,恢复生命值","heal_ratio":0.3,"damage_ratio":1,"heal_base":15,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1}],"equip":{"weapon":{"name":"铁剑","type":"weapon","quality":"epic","level":1,"patk":25,"matk":0,"pdef":0,"mdef":0,"hp":0,"crit":6,"critdmg":0,"heal":0,"affixes":["暴击率 +8","物攻 +2%"],"desc":"Lv.1 epic品质的武器","id":"69327b6a60eb3","quantity":1,"enhanceLevel":0}},"spiritStones":1453,"npcFlags":{"gift_li_feiyu":true},"talentPoints":6,"talents":{"hp":6,"patk":0,"matk":0,"pdef":0,"mdef":0,"crit":0,"critdmg":0},"mana":85,"maxMana":100,"skillSlots":{"skill1":{"id":"69319e185013f","type":"spell","name":"刀气切割","quality":"rare","level":3,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":1.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill2":{"id":"69319e1850143","type":"spell","name":"妙手回春","quality":"common","level":5,"spellId":1,"enhanceLevel":0,"calc_type":"matk","cost":15,"spellType":"heal_single","desc":"恢复自己或队友的生命值,效果与魔攻相关","heal_ratio":0.5,"damage_ratio":1,"heal_base":20,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill3":{"id":"69319e6144cf6","type":"spell","name":"柔拳","quality":"legendary","level":1,"spellId":10,"enhanceLevel":1,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":2.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill4":{"id":"69329b2cab723","type":"spell","name":"寒冰爆裂","quality":"rare","level":3,"spellId":20,"enhanceLevel":0,"calc_type":"matk","cost":35,"spellType":"damage_aoe","desc":"召唤冰雹,攻击所有敌人","heal_ratio":0,"damage_ratio":1,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1}},"partners":[{"id":"li_feiyu","name":"厉飞雨","level":7,"exp":502,"maxExp":1135,"equip":{"weapon":{"name":"玄铁剑","type":"weapon","quality":"rare","level":1,"patk":22,"matk":1,"pdef":0,"mdef":0,"hp":0,"crit":0,"critdmg":0,"heal":0,"affixes":["物攻 +7"],"desc":"Lv.1 rare品质的武器","id":"69329a5c694e3","quantity":1}},"talents":{"hp":12,"patk":6,"matk":0,"pdef":0,"mdef":0,"crit":0,"critdmg":0},"talentWeights":{"hp":1,"patk":1,"matk":1,"pdef":1,"mdef":1,"crit":1,"critdmg":1},"mana":15,"maxMana":100,"skillSlots":{"skill1":{"id":"69319cc96e00b","type":"spell","name":"寒冰爆裂","quality":"common","level":3,"spellId":20,"enhanceLevel":0,"calc_type":"matk","cost":35,"spellType":"damage_aoe","desc":"召唤冰雹,攻击所有敌人","heal_ratio":0,"damage_ratio":0.7,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"quantity":1},"skill2":{"id":"69327b840cfb4","type":"spell","name":"柔拳","quality":"legendary","level":1,"spellId":10,"enhanceLevel":0,"calc_type":"matk","cost":20,"spellType":"damage_single","desc":"发出一团火球,对单个敌人造成伤害","heal_ratio":0,"damage_ratio":2.6,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},"skill3":{"id":"6932955a5626b","type":"spell","name":"舍身救人","quality":"epic","level":5,"spellId":2,"enhanceLevel":0,"calc_type":"hp_percent","cost":20,"spellType":"heal_single","desc":"将自己的部分生命值转移给队友","heal_ratio":0.5,"damage_ratio":1,"heal_base":0,"crit_bonus":0,"crit_dmg_bonus":0,"enemy_count_bonus":0,"dispersion":1,"team_bonus":0,"priority_bonus":0,"dropRate":25,"quantity":1},"skill4":null},"hp":200,"maxHp":100,"patk":15,"matk":5,"pdef":5,"mdef":3,"crit":10,"critdmg":130}]},"dungeonId":1,"state":0} \ No newline at end of file diff --git a/src/Data/maps.php b/src/Data/maps.php index d2db412..67365bf 100644 --- a/src/Data/maps.php +++ b/src/Data/maps.php @@ -95,48 +95,48 @@ return [ 'min_level' => 1, 'desc' => '镜州边境的江湖门派,韩立修仙之路的起点。', 'monsters' => [ -// [ -// 'name' => '野狼帮帮众', -// 'level' => 1, -// 'hp' => 30, -// 'patk' => 5, -// 'matk' => 2, -// 'pdef' => 0, -// 'mdef' => 0, -// 'exp' => 10, -// 'spirit_stones' => 2, -// 'drops' => [ -// ['type' => 'weapon', 'name' => '铁刀', 'rate' => 25] + $weaponTemplate, -// ['type' => 'consume', 'name' => '金疮药', 'rate' => 20, 'heal' => 30], -// ], -// 'spells' => [ -// ['id' => 10, 'name' => '柔拳', 'rate' => 25], -// ], -// 'weight' => 60, -// ], -// [ -// 'name' => '野狼帮精锐', -// 'level' => 3, -// 'hp' => 50, -// 'patk' => 10, -// 'matk' => 3, -// 'pdef' => 2, -// 'mdef' => 1, -// 'exp' => 20, -// 'spirit_stones' => 5, -// 'drops' => [ -// ['type' => 'armor', 'name' => '皮甲', 'rate' => 25] + $armorTemplate, -// ['type' => 'consume', 'name' => '黄龙丹', 'rate' => 25, 'heal' => 50], -// ], -// 'spells' => [ -// ['id' => 10, 'name' => '刀气切割', 'rate' => 20], -// ['id' => 20, 'name' => '寒冰爆裂', 'rate' => 25], -// ], -// 'minions' => [ -// ['name' => '野狼帮帮众', 'hp' => 30, 'patk' => 5, 'matk' => 2, 'pdef' => 0, 'mdef' => 0, 'exp' => 10, 'count' => 2], -// ], -// 'weight' => 30, -// ], + [ + 'name' => '野狼帮帮众', + 'level' => 1, + 'hp' => 30, + 'patk' => 5, + 'matk' => 2, + 'pdef' => 0, + 'mdef' => 0, + 'exp' => 10, + 'spirit_stones' => 2, + 'drops' => [ + ['type' => 'weapon', 'name' => '铁刀', 'rate' => 25] + $weaponTemplate, + ['type' => 'consume', 'name' => '金疮药', 'rate' => 20, 'heal' => 30], + ], + 'spells' => [ + ['id' => 10, 'name' => '柔拳', 'rate' => 25], + ], + 'weight' => 60, + ], + [ + 'name' => '野狼帮精锐', + 'level' => 3, + 'hp' => 50, + 'patk' => 10, + 'matk' => 3, + 'pdef' => 2, + 'mdef' => 1, + 'exp' => 20, + 'spirit_stones' => 5, + 'drops' => [ + ['type' => 'armor', 'name' => '皮甲', 'rate' => 25] + $armorTemplate, + ['type' => 'consume', 'name' => '黄龙丹', 'rate' => 25, 'heal' => 50], + ], + 'spells' => [ + ['id' => 10, 'name' => '刀气切割', 'rate' => 20], + ['id' => 20, 'name' => '寒冰爆裂', 'rate' => 25], + ], + 'minions' => [ + ['name' => '野狼帮帮众', 'hp' => 30, 'patk' => 5, 'matk' => 2, 'pdef' => 0, 'mdef' => 0, 'exp' => 10, 'count' => 2], + ], + 'weight' => 30, + ], [ 'name' => '墨大夫', 'level' => 5, diff --git a/src/Entities/Actor.php b/src/Entities/Actor.php index 1e8ec12..bdeb0b8 100644 --- a/src/Entities/Actor.php +++ b/src/Entities/Actor.php @@ -210,6 +210,8 @@ class Actor 'hp' => $this->hp, 'patk' => $this->patk ?? 0, 'matk' => $this->matk ?? 0, + 'mana' => $this->mana ?? 0, + 'maxMana' => $this->maxMana ?? 0, 'pdef' => $this->pdef ?? 0, 'mdef' => $this->mdef ?? 0, 'crit' => $this->crit ?? 0, diff --git a/src/Modules/Battle.php b/src/Modules/Battle.php index 762b69a..7f271fe 100644 --- a/src/Modules/Battle.php +++ b/src/Modules/Battle.php @@ -33,6 +33,7 @@ class Battle private string $yellow; private string $cyan; private string $white; + private string $blue; private string $magenta; private string $bold; private string $reset; @@ -54,6 +55,7 @@ class Battle $this->magenta = Colors::MAGENTA; $this->bold = Colors::BOLD; $this->reset = Colors::RESET; + $this->blue = Colors::BLUE; $this->qualityColors = [ 'common' => Colors::WHITE, @@ -269,6 +271,7 @@ class Battle $playerHpText = $this->player->hp . "/" . $stats['maxHp']; $out->writeln("{$this->cyan}║{$this->reset} {$this->green}🧙{$this->reset} {$this->bold}玩家{$this->reset} Lv.{$this->player->level}"); $out->writeln("{$this->cyan}║{$this->reset} {$playerHpBar} {$this->white}{$playerHpText}{$this->reset}"); + $out->writeln("{$this->cyan}║{$this->reset} {$this->blue}🔮 {$stats['mana']}/{$stats['maxMana']}{$this->reset}"); $out->writeln("{$this->cyan}║{$this->reset} {$this->yellow}⚔️{$this->reset} {$stats['patk']}/{$stats['matk']} {$this->green}🛡️{$this->reset} {$stats['pdef']}/{$stats['mdef']} {$this->red}💥{$this->reset} {$stats['crit']}/{$stats['critdmg']}%"); // 显示同伴信息 @@ -283,6 +286,7 @@ class Battle $status = $partnerHp > 0 ? "" : " {$this->red}[倒下]{$this->reset}"; $out->writeln("{$this->cyan}║{$this->reset} {$this->magenta}👤{$this->reset} {$partner->name} Lv.{$partner->level}{$status}"); $out->writeln("{$this->cyan}║{$this->reset} {$partnerHpBar} {$this->white}{$partnerHpText}{$this->reset}"); + $out->writeln("{$this->cyan}║{$this->reset} {$this->blue}🔮 {$partnerStats['mana']}/{$partnerStats['maxMana']}{$this->reset}"); $out->writeln("{$this->cyan}║{$this->reset} {$this->yellow}⚔️{$this->reset} {$partnerStats['patk']}/{$partnerStats['matk']} {$this->green}🛡️{$this->reset} {$partnerStats['pdef']}/{$partnerStats['mdef']} {$this->red}💥{$this->reset} {$partnerStats['crit']}/{$partnerStats['critdmg']}%"); } @@ -837,6 +841,12 @@ class Battle $target->hp -= $damage; + // 蓝量恢复机制 + // 攻击者恢复 15 点 + $actorRecovered = $actor->recoverMana(15); + // 受击者恢复 10 点 + $targetRecovered = $target->recoverMana(10); + // 更新同伴血量显示 if ($target instanceof Partner && isset($this->partnerHp[$target->id])) { $this->partnerHp[$target->id] = $target->hp; diff --git a/src/Modules/StatsPanel.php b/src/Modules/StatsPanel.php index 976765b..1a613fa 100644 --- a/src/Modules/StatsPanel.php +++ b/src/Modules/StatsPanel.php @@ -101,7 +101,7 @@ class StatsPanel $playerStats = $this->game->player->getStats(); $mark = $this->isPlayer && $this->currentActor === $this->game->player ? "{$this->green}►{$this->reset} " : " "; $out->writeln("{$mark}[1] {$this->yellow}玩家{$this->reset} Lv.{$this->game->player->level}"); - $out->writeln(" HP:{$playerStats['maxHp']} 物攻:{$playerStats['patk']} 魔攻:{$playerStats['matk']} 暴击:{$playerStats['crit']}%"); + $out->writeln(" HP:{$playerStats['maxHp']} 物攻:{$playerStats['patk']} 魔攻:{$playerStats['matk']} 暴击:{$playerStats['crit']}% 蓝量:{$playerStats['mana']}/{$playerStats['maxMana']}"); // 显示队友 $partners = $this->game->player->partners; @@ -113,7 +113,7 @@ class StatsPanel $stats = $partner->getStats(); $mark = !$this->isPlayer && $this->currentActor === $partner ? "{$this->green}►{$this->reset} " : " "; $out->writeln("{$mark}[{$idx}] {$this->magenta}{$partner->name}{$this->reset} Lv.{$partner->level}"); - $out->writeln(" HP:{$stats['maxHp']} 物攻:{$stats['patk']} 魔攻:{$stats['matk']} 暴击:{$stats['crit']}%"); + $out->writeln(" HP:{$stats['maxHp']} 物攻:{$stats['patk']} 魔攻:{$stats['matk']} 暴击:{$stats['crit']}% 蓝量:{$stats['mana']}/{$stats['maxMana']}"); $idx++; } }