|
|
@ -217,10 +217,10 @@ null,
|
|
|
|
{"id":215,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":804,"maxTurns":1,"message1":"无效化伤害的次数增加两次!","message2":"无效化伤害的次数增加两次!","message3":"","message4":"不再能免疫伤害!","minTurns":1,"motion":0,"name":"防护符卡","note":"<Counter Alignment: left>\n<Counter Text Color: 17>\n\n<Custom Apply Effect>\nuser._defence = user._defence || 0; //定义变量值\nuser._defence += 2;\nuser.setStateCounter(215, user._defence);\n</Custom Apply Effect>\n\n<Custom React Effect>\nif (value > 0 && this.isHpEffect() && target._defence > 0) { \n//判断角色是否受到伤害,且是否有免伤次数\nvalue = 0; //令受到的伤害为 0\ntarget._defence -= 1; //免伤次数-1\ntarget.setStateCounter(215, target._defence);\nif (target._defence <= 0){ //如果免伤次数为 0\ntarget.removeState(215); //将该状态移除\n}\n}\n</Custom React Effect>","overlay":0,"priority":50,"removeAtBattleEnd":true,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":215,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":804,"maxTurns":1,"message1":"无效化伤害的次数增加两次!","message2":"无效化伤害的次数增加两次!","message3":"","message4":"不再能免疫伤害!","minTurns":1,"motion":0,"name":"防护符卡","note":"<Counter Alignment: left>\n<Counter Text Color: 17>\n\n<Custom Apply Effect>\nuser._defence = user._defence || 0; //定义变量值\nuser._defence += 2;\nuser.setStateCounter(215, user._defence);\n</Custom Apply Effect>\n\n<Custom React Effect>\nif (value > 0 && this.isHpEffect() && target._defence > 0) { \n//判断角色是否受到伤害,且是否有免伤次数\nvalue = 0; //令受到的伤害为 0\ntarget._defence -= 1; //免伤次数-1\ntarget.setStateCounter(215, target._defence);\nif (target._defence <= 0){ //如果免伤次数为 0\ntarget.removeState(215); //将该状态移除\n}\n}\n</Custom React Effect>","overlay":0,"priority":50,"removeAtBattleEnd":true,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":216,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":805,"maxTurns":1,"message1":"无效化伤害的次数增加20次!","message2":"无效化伤害的次数增加20次!","message3":"","message4":"","minTurns":1,"motion":0,"name":"顶级伤害无效","note":"<Counter Alignment: left>\n<Counter Text Color: 17>\n\n<Custom Apply Effect>\n user._defencec = user._defencec || 0;\n user._defencea = user._defencea || 0; \n user._defenceb = user._defenceb || 0;\n user._defencec += user._defencea;\n user._defencec += user._defenceb;\n user._defencec += 20;\n user.setStateCounter(216, user._defencec);\n user.removeState(213);\n user.removeState(214);\n</Custom Apply Effect>\n\n<Custom React Effect>\nif(value > 0 && this.isHpEffect() && target._defencec > 0) { \n//判断角色是否受到伤害,且是否有免伤次数\nvalue = 0; //令受到的伤害为 0\ntarget._defencec -= 1; //免伤次数-1\ntarget.setStateCounter(216, target._defencec);\nif (target._defencec <= 0){ //如果免伤次数为 0\ntarget.removeState(216); //将该状态移除\n}\n}\n</Custom React Effect>\n\n<Custom Remove Effect>\n user._defencec = user._defencec || 0; //定义变量值\n user._defencec = 0;\n</Custom Remove Effect>","overlay":0,"priority":50,"removeAtBattleEnd":true,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":216,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":805,"maxTurns":1,"message1":"无效化伤害的次数增加20次!","message2":"无效化伤害的次数增加20次!","message3":"","message4":"","minTurns":1,"motion":0,"name":"顶级伤害无效","note":"<Counter Alignment: left>\n<Counter Text Color: 17>\n\n<Custom Apply Effect>\n user._defencec = user._defencec || 0;\n user._defencea = user._defencea || 0; \n user._defenceb = user._defenceb || 0;\n user._defencec += user._defencea;\n user._defencec += user._defenceb;\n user._defencec += 20;\n user.setStateCounter(216, user._defencec);\n user.removeState(213);\n user.removeState(214);\n</Custom Apply Effect>\n\n<Custom React Effect>\nif(value > 0 && this.isHpEffect() && target._defencec > 0) { \n//判断角色是否受到伤害,且是否有免伤次数\nvalue = 0; //令受到的伤害为 0\ntarget._defencec -= 1; //免伤次数-1\ntarget.setStateCounter(216, target._defencec);\nif (target._defencec <= 0){ //如果免伤次数为 0\ntarget.removeState(216); //将该状态移除\n}\n}\n</Custom React Effect>\n\n<Custom Remove Effect>\n user._defencec = user._defencec || 0; //定义变量值\n user._defencec = 0;\n</Custom Remove Effect>","overlay":0,"priority":50,"removeAtBattleEnd":true,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":217,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":217,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":218,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":218,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"治疗溢出为护盾20%","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":219,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":219,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"治疗溢出为护盾30%","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":220,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":220,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"治疗溢出为护盾40%","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":221,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":221,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"治疗溢出为护盾计算","note":"<Custom React Effect>\ntarget._confirmHp = target.hp; \n//用变量存储角色受到伤害(治疗)前的生命值\n</Custom React Effect>\n\n<Custom Respond Effect>\nif (value < 0 && this.isHpEffect()) { //判断角色受到治疗\nif (target.hp === target.mhp) { //判断角色是否满血\nvar overheal = 0\nif (target.isStateAffected(218)){\nvar overheal = (result.hpDamage + user._confirmHp - user.mhp) * \n0.2;\n}\nif (target.isStateAffected(219)){\nvar overheal = (result.hpDamage + user._confirmHp - user.mhp) * \n0.3;\n}\nif (target.isStateAffected(220)){\nvar overheal = (result.hpDamage + user._confirmHp - user.mhp) * \n0.4;\n}\n// 将过量治疗的部分存储在变量中\nif (overheal > 0) { //如果有过量的治疗\ntarget.gainBarrier(overheal); //转化为护盾值\n}\n}\n}\n</Custom Respond Effect>","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":222,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":222,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":223,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":223,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":224,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|
{"id":224,"autoRemovalTiming":0,"chanceByDamage":100,"traits":[],"iconIndex":0,"maxTurns":1,"message1":"","message2":"","message3":"","message4":"","minTurns":1,"motion":0,"name":"","note":"","overlay":0,"priority":50,"removeAtBattleEnd":false,"removeByDamage":false,"removeByRestriction":false,"removeByWalking":false,"restriction":0,"stepsToRemove":100},
|
|
|
|