内容能力词典
程序与校验用的 key 清单。策划请看白话版:策划能力词典.md。
Trigger
on_play 打出时;on_draw 从牌堆抽到时;on_added_to_hand 加入手牌时;on_turn_end_in_hand 留在手牌直到回合结束时;on_unit_turn_start 单位回合开始;on_unit_turn_end 单位回合结束。
结构节点
sequence 顺序执行;condition 选择 then/else;repeat 按数值表达式重复;foreach 遍历目标集合;effect 执行通用效果。
Effect
伤害与生存:damage、heal、gain_armor、revive、knock_back。
状态:add_status、set_status、reduce_status、remove_status、clear_statuses。
资源与行动:modify_action_points、modify_max_action_points、modify_mana、spend_resource、begin_free_move、end_turn。
牌区:draw_cards、generate_card、move_cards、remove_cards_by_query、modify_card_runtime_value、reveal_top_cards_and_choose_discard、play_top_cards_for_free。
表现与占位:play_vfx、play_sfx、no_op。
Condition
逻辑:all、any、not。目标:target_is_alive、target_is_dead、target_is_self、target_team_is、target_has_armor、target_has_status。卡牌:card_has_tag、card_in_pool、card_rarity_is。结算:target_killed_by_this_card、damage_was_applied、health_damage_greater_than。比较:resource_compare、health_compare、armor_compare、spent_action_compare、spent_mana_compare。随机:random_chance。
Target / foreach
直接目标:self、selected_unit、current_graph_target。集合目标:units_around_selected、units_in_manhattan_range、units_in_direction、units_in_front_area、all_allies、all_enemies、all_units。牌区:current_card、cards_in_hand、cards_in_draw_pile、cards_in_discard_pile、cards_in_exhaust_pile。
Value Expression
常量与属性:constant、source_max_health、source_current_health、target_max_health、target_current_health、source_armor、target_armor、status_stacks。本次结算:spent_action_points、spent_mana、damage_dealt、health_damage_dealt。运算:random_range、add、subtract、multiply、divide、min、max。