801 lines
18 KiB
Go
801 lines
18 KiB
Go
[
|
|
/////////////////////////////////////////////////////////
|
|
//
|
|
// 肉鸽地城 关卡升级
|
|
//
|
|
/////////////////////////////////////////////////////////
|
|
{
|
|
"Default":
|
|
{
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "DynamicAbility_RogueDungeon_Level",
|
|
"abilityMixins":
|
|
[
|
|
//无视炸药桶伤害
|
|
{
|
|
"$type":"AttachModifierToSelfGlobalValueNoInitMixin",
|
|
"globalValueKey":"SGV_ROGUE_BOMBREJECT",
|
|
"valueSteps":[0.5, 1.5],
|
|
"modifierNameSteps":["BombRejectHandler"],
|
|
},
|
|
//怪物加伤害诅咒 SGV_ROGUECURSE_MONSTERBUFF
|
|
{
|
|
"$type":"AttachModifierToSelfGlobalValueNoInitMixin",
|
|
"globalValueKey":"SGV_ROGUECURSE_MONSTERBUFF",
|
|
"valueSteps":[0.5, 1.5],
|
|
"modifierNameSteps":["MonsterGetBuff"],
|
|
},
|
|
|
|
//炸药桶对玩家伤害提升
|
|
{
|
|
"$type":"AttachModifierToSelfGlobalValueNoInitMixin",
|
|
"globalValueKey":"SGV_ROGUECURSE_BOMBDAMAGE",
|
|
"valueSteps":[0.5, 1.5],
|
|
"modifierNameSteps":["BombExtraDamage"],
|
|
},
|
|
],
|
|
"onAdded":
|
|
[
|
|
//场景破碎物提供的攻击加成
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "AttackByLevelEntityHandler",
|
|
},
|
|
//场景破碎物提供的充能效率加成
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "ChargeSpeedByLevelEntityHandler",
|
|
},
|
|
//场景破碎物提供的抗性加成
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "MuteHurtByLevelEntityHandler",
|
|
},
|
|
//场景破碎物提供的防御加成
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "DefenceByLevelEntityHandler",
|
|
},
|
|
|
|
//关闭元素机关提高元素精通
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "MasteryByGearHandler",
|
|
},
|
|
//回复房间提供的BUFF
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "ReviveRoomBuffHandler",
|
|
},
|
|
//战斗房间提供的BUFF
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "BattleRoomBuffHandler",
|
|
},
|
|
|
|
|
|
//刷新各项数值
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_ATTACKBYLEVELENTITY",
|
|
"overrideMapKey": "attackbylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "AttackByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "AttackByLevelEntity_Manager",
|
|
},
|
|
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_CHARGEBYLEVELENTITY",
|
|
"overrideMapKey": "chargebylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "ChargeByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "ChargeByLevelEntity_Manager",
|
|
},
|
|
|
|
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_MUTEHURTBYLEVELENTITY",
|
|
"overrideMapKey": "mutehurtbylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "MuteHurtByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "MuteHurtByLevelEntity_Manager",
|
|
},
|
|
|
|
|
|
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_DEFENCEBYLEVELENTITY",
|
|
"overrideMapKey": "defencebylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "DefenceByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "DefenceByLevelEntity_Manager",
|
|
},
|
|
|
|
|
|
{
|
|
"$type" : "Predicated",
|
|
"targetPredicates" :
|
|
[
|
|
{
|
|
"$type" : "ByTargetGlobalValue",
|
|
"target": "Team",
|
|
"key" : "SGV_ROGUE_REVIVEROOMBUFF",
|
|
"value" : 0,
|
|
"compareType" : "MoreThan",
|
|
},
|
|
],
|
|
"successActions" :
|
|
[
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_REVIVEROOMBUFF",
|
|
"overrideMapKey": "reviveroombuff_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "ReviveRoomBuff_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "ReviveRoomBuff_Manager",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
{
|
|
"$type" : "Predicated",
|
|
"targetPredicates" :
|
|
[
|
|
{
|
|
"$type" : "ByTargetGlobalValue",
|
|
"target": "Team",
|
|
"key" : "SGV_ROGUE_BATTLEROOMBUFF",
|
|
"value" : 0,
|
|
"compareType" : "MoreThan",
|
|
},
|
|
],
|
|
"successActions" :
|
|
[
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_BATTLEROOMBUFF",
|
|
"overrideMapKey": "battleroombuff_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "BattleRoomBuff_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "BattleRoomBuff_Manager",
|
|
},
|
|
],
|
|
},
|
|
|
|
],
|
|
"abilitySpecials":
|
|
{
|
|
"attackbylevelentity_LV": 0,
|
|
"masterybygear_LV": 0,
|
|
"reviveroombuff_LV": 0,
|
|
"battleroombuff_LV": 0,
|
|
"chargebylevelentity_LV": 0,
|
|
"mutehurtbylevelentity_LV": 0,
|
|
"defencebylevelentity_LV": 0,
|
|
|
|
"MAX_attackbylevelentity_LV": 20, // 破碎物叠攻击力最大层数
|
|
"MAX_mutehurtbylevelentity_LV": 10, // 破碎物叠抗性最大层数
|
|
"MAX_defencebylevelentity_LV": 10, // 破碎物叠防御最大层数
|
|
"MAX_chargebylevelentity_LV": 10, // 破碎物叠充能最大层数
|
|
"MAX_masterybygear_LV": 20,
|
|
"MAX_reviveroombuff_LV": 2, // 回复房间强力BUFF最大叠层
|
|
"MAX_battleroombuff_LV": 6, // 战斗房间墙里BUFF最大叠层
|
|
|
|
|
|
|
|
"PER_attackbylevelentity": 0.012, // 每层破碎物攻击力加成
|
|
"PER_chargebylevelentity": 0.02, // 每层破碎物充能加成
|
|
"PER_mutehurtbylevelentity": 0.01, // 每层破碎物抗性加成
|
|
"PER_defencebylevelentity": 0.02, // 每层破碎物防御加成
|
|
"PER_masterybygear": 1,
|
|
"PER_reviveroombuff": 0.12, // 每层回复房间伤害加成
|
|
"PER_battleroombuff": 0.04, // 每层战斗房间伤害加成
|
|
|
|
},
|
|
"modifiers":
|
|
{
|
|
//怪物BUFF占空
|
|
"MonsterGetBuff":
|
|
{
|
|
// "modifierMixins":
|
|
// [
|
|
// //将BUFF效果分发给每个avatar
|
|
// {
|
|
// "$type": "LocalAvatarsMixin",
|
|
// "modifierName": "UNIQUE_MonsterGetBuff_Effect",
|
|
// },
|
|
// ],
|
|
},
|
|
|
|
|
|
"UNIQUE_MonsterGetBuff_Effect":
|
|
{
|
|
"isUnique": true,
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type": "AddGlobalValue",
|
|
"key": "GV_ROGUE_CURSEEFF",
|
|
"doOffStage":true,
|
|
"value": 1,
|
|
},
|
|
],
|
|
"onRemoved":
|
|
[
|
|
{
|
|
"$type": "AddGlobalValue",
|
|
"key": "GV_ROGUE_CURSEEFF",
|
|
"doOffStage":true,
|
|
"value": -1,
|
|
},
|
|
],
|
|
},
|
|
|
|
"BombExtraDamage":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_BombExtraDamage_Effect",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
"UNIQUE_BombExtraDamage_Effect":
|
|
{
|
|
"isUnique": true,
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type": "AddGlobalValue",
|
|
"key": "GV_ROGUE_CURSEEFF",
|
|
"doOffStage":true,
|
|
"value": 1,
|
|
},
|
|
],
|
|
"onRemoved":
|
|
[
|
|
{
|
|
"$type": "AddGlobalValue",
|
|
"key": "GV_ROGUE_CURSEEFF",
|
|
"doOffStage":true,
|
|
"value": -1,
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
|
|
//破碎物加攻击部分开始
|
|
"AttackByLevelEntityHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//处理lua下发的消息
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_ROGUE_ATTACKBYLEVELENTITY",
|
|
"actions":
|
|
[
|
|
//更新ability的override值
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
//"target": "CurTeamAvatars",
|
|
"globalValueKey": "SGV_ROGUE_ATTACKBYLEVELENTITY",
|
|
"overrideMapKey": "attackbylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "AttackByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "AttackByLevelEntity_Manager",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
//中间垫一层,用来上下管理property的modifier
|
|
"AttackByLevelEntity_Manager":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_AttackByLevelEntity_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
"UNIQUE_AttackByLevelEntity_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
"Actor_AddHurtDelta": "%PER_attackbylevelentity*%attackbylevelentity_LV",
|
|
},
|
|
},
|
|
//破碎物加攻击部分结束
|
|
|
|
|
|
|
|
//破碎物加充能效率部分开始
|
|
"ChargeSpeedByLevelEntityHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//处理lua下发的消息
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_ROGUE_CHARGEBYLEVELENTITY",
|
|
"actions":
|
|
[
|
|
//更新ability的override值
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
//"target": "CurTeamAvatars",
|
|
"globalValueKey": "SGV_ROGUE_CHARGEBYLEVELENTITY",
|
|
"overrideMapKey": "chargebylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "ChargeByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "ChargeByLevelEntity_Manager",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
//中间垫一层,用来上下管理property的modifier
|
|
"ChargeByLevelEntity_Manager":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_ChargeByLevelEntity_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
"UNIQUE_ChargeByLevelEntity_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
"Actor_ChargeEfficiencyDelta": "%PER_chargebylevelentity*%chargebylevelentity_LV",
|
|
},
|
|
},
|
|
//破碎物加充能效率部分结束
|
|
|
|
|
|
|
|
//破碎物加抗性部分开始
|
|
"MuteHurtByLevelEntityHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//处理lua下发的消息
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_ROGUE_MUTEHURTBYLEVELENTITY",
|
|
"actions":
|
|
[
|
|
{
|
|
"$type" : "Predicated",
|
|
"targetPredicates" :
|
|
[
|
|
{
|
|
"$type" : "ByTargetGlobalValue",
|
|
"target": "Team",
|
|
"key" : "SGV_ROGUE_MUTEHURTBYLEVELENTITY",
|
|
"value" : "%MAX_mutehurtbylevelentity_LV",
|
|
"compareType" : "LessAndEqual",
|
|
},
|
|
],
|
|
"successActions" :
|
|
[
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
//"target": "CurTeamAvatars",
|
|
"globalValueKey": "SGV_ROGUE_MUTEHURTBYLEVELENTITY",
|
|
"overrideMapKey": "mutehurtbylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "MuteHurtByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "MuteHurtByLevelEntity_Manager",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
//中间垫一层,用来上下管理property的modifier
|
|
"MuteHurtByLevelEntity_Manager":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_MuteHurtByLevelEntity_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
"UNIQUE_MuteHurtByLevelEntity_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
"Actor_PhysicalSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
"Actor_FireSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
"Actor_ElecSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
"Actor_WaterSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
"Actor_GrassSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
"Actor_WindSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
"Actor_IceSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
"Actor_RockSubHurtDelta": "%PER_mutehurtbylevelentity*%mutehurtbylevelentity_LV",
|
|
},
|
|
},
|
|
//破碎物加抗性部分结束
|
|
|
|
|
|
|
|
//破碎物加防御部分开始
|
|
"DefenceByLevelEntityHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//处理lua下发的消息
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_ROGUE_DEFENCEBYLEVELENTITY",
|
|
"actions":
|
|
[
|
|
//更新ability的override值
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
//"target": "CurTeamAvatars",
|
|
"globalValueKey": "SGV_ROGUE_DEFENCEBYLEVELENTITY",
|
|
"overrideMapKey": "defencebylevelentity_LV",
|
|
},
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "DefenceByLevelEntity_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "DefenceByLevelEntity_Manager",
|
|
},
|
|
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
//中间垫一层,用来上下管理property的modifier
|
|
"DefenceByLevelEntity_Manager":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_DefenceByLevelEntity_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
"UNIQUE_DefenceByLevelEntity_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
"Actor_DefenceRatio": "%PER_defencebylevelentity*%defencebylevelentity_LV",
|
|
},
|
|
},
|
|
//破碎物加防御部分结束
|
|
|
|
|
|
|
|
|
|
//炸药桶伤害免疫开始
|
|
"BombRejectHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_BombReject_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
"UNIQUE_BombReject_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"modifierMixins":
|
|
[
|
|
{
|
|
"$type": "RejectAttackMixin",//免疫炸药桶伤害
|
|
"attackTag": "Rogue_BombAttack",
|
|
},
|
|
],
|
|
},
|
|
//炸药桶伤害免疫结束
|
|
|
|
|
|
|
|
|
|
//关闭元素机关提高精通
|
|
"MasteryByGearHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//处理lua下发消息
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_ROGUE_MASTERYBYGEAR",
|
|
"actions":
|
|
[
|
|
//更新ability的override值
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_MASTERYBYGEAR",
|
|
"overrideMapKey": "masterybygear_LV",
|
|
},
|
|
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "MasteryByGear_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "MasteryByGear_Manager",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
],
|
|
},
|
|
|
|
"MasteryByGear_Manager":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_MasteryByGear_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
"UNIQUE_MasteryByGear_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
"Actor_ElemMasteryDelta": "10*%masterybygear_LV",
|
|
},
|
|
},
|
|
//关闭元素机关提高精通
|
|
|
|
//回复房间BUFF
|
|
"ReviveRoomBuffHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//处理lua下发消息
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_ROGUE_REVIVEROOMBUFF",
|
|
"actions":
|
|
[
|
|
{
|
|
"$type" : "Predicated",
|
|
"targetPredicates" :
|
|
[
|
|
{
|
|
"$type" : "ByTargetGlobalValue",
|
|
"target": "Team",
|
|
"key" : "SGV_ROGUE_REVIVEROOMBUFF",
|
|
"value" : 0,
|
|
"compareType" : "MoreThan",
|
|
},
|
|
],
|
|
"successActions" :
|
|
[
|
|
//更新ability的override值
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_REVIVEROOMBUFF",
|
|
"overrideMapKey": "reviveroombuff_LV",
|
|
},
|
|
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "ReviveRoomBuff_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "ReviveRoomBuff_Manager",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
"ReviveRoomBuff_Manager":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_ReviveRoomBuff_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
"UNIQUE_ReviveRoomBuff_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
"Actor_AddHurtDelta": "%PER_reviveroombuff*%reviveroombuff_LV-%PER_reviveroombuff",
|
|
},
|
|
},
|
|
//回复房间BUFF
|
|
|
|
|
|
|
|
|
|
//战斗房间BUFF
|
|
"BattleRoomBuffHandler":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//处理lua下发消息
|
|
{
|
|
"$type": "DoActionOnGlobalValueChangeMixin",
|
|
"globalValueKey": "SGV_ROGUE_BATTLEROOMBUFF",
|
|
"actions":
|
|
[
|
|
{
|
|
"$type" : "Predicated",
|
|
"targetPredicates" :
|
|
[
|
|
{
|
|
"$type" : "ByTargetGlobalValue",
|
|
"target": "Team",
|
|
"key" : "SGV_ROGUE_BATTLEROOMBUFF",
|
|
"value" : 0,
|
|
"compareType" : "MoreThan",
|
|
},
|
|
],
|
|
"successActions" :
|
|
[
|
|
//更新ability的override值
|
|
{
|
|
"$type": "SetGlobalValueToOverrideMap",
|
|
"globalValueKey": "SGV_ROGUE_BATTLEROOMBUFF",
|
|
"overrideMapKey": "battleroombuff_LV",
|
|
},
|
|
|
|
//先下后上,更新数值
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName" : "BattleRoomBuff_Manager",
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName" : "BattleRoomBuff_Manager",
|
|
},
|
|
],
|
|
},
|
|
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
"BattleRoomBuff_Manager":
|
|
{
|
|
"modifierMixins":
|
|
[
|
|
//将BUFF效果分发给每个avatar
|
|
{
|
|
"$type": "LocalAvatarsMixin",
|
|
"modifierName": "UNIQUE_BattleRoomBuff_Avatar",
|
|
},
|
|
],
|
|
},
|
|
|
|
"UNIQUE_BattleRoomBuff_Avatar":
|
|
{
|
|
"isUnique": true,
|
|
"properties":
|
|
{
|
|
"Actor_AddHurtDelta": "%PER_battleroombuff*%battleroombuff_LV-%PER_battleroombuff",
|
|
},
|
|
},
|
|
//战斗房间BUFF
|
|
|
|
},
|
|
},
|
|
},
|
|
] |