60c256f91b 2024-06-27 1: # 三个绑定函数
60c256f91b 2024-06-27 2: ## PreSummon
60c256f91b 2024-06-27 3: ### 原型
60c256f91b 2024-06-27 4: Debug.PreSummon(卡, 召唤类型[, 从哪个区域特召到场上])
60c256f91b 2024-06-27 5: ***
60c256f91b 2024-06-27 6: ~~~
60c256f91b 2024-06-27 7: ● void Debug.PreSummon(Card c, int sum_type[, int sum_location=0])
60c256f91b 2024-06-27 8: 设置卡片 c 的召唤信息:以 sum_type 方法(通常召唤、特殊召唤等)[从 sum_location]出场
60c256f91b 2024-06-27 9: ~~~
60c256f91b 2024-06-27 10: ### 召唤类型的可选值
60c256f91b 2024-06-27 11: 1. SUMMON_TYPE_NORMAL
60c256f91b 2024-06-27 12: 1. SUMMON_TYPE_ADVANCE
60c256f91b 2024-06-27 13: 1. SUMMON_TYPE_DUAL
60c256f91b 2024-06-27 14: 1. SUMMON_TYPE_FLIP
60c256f91b 2024-06-27 15: 1. SUMMON_TYPE_SPECIAL
60c256f91b 2024-06-27 16: 1. SUMMON_TYPE_FUSION
60c256f91b 2024-06-27 17: 1. SUMMON_TYPE_RITUAL
60c256f91b 2024-06-27 18: 1. SUMMON_TYPE_SYNCHRO
60c256f91b 2024-06-27 19: 1. SUMMON_TYPE_XYZ
60c256f91b 2024-06-27 20: 1. SUMMON_TYPE_PENDULUM
60c256f91b 2024-06-27 21: 1. SUMMON_TYPE_LINK
60c256f91b 2024-06-27 22: ***
60c256f91b 2024-06-27 23: ~~~
60c256f91b 2024-06-27 24: --Summon Type --召唤类型
60c256f91b 2024-06-27 25: SUMMON_TYPE_NORMAL =0x10000000 --通常召唤(EFFECT_SUMMON_PROC,EFFECT_SET_PROC 可用 Value 修改數值)
60c256f91b 2024-06-27 26: SUMMON_TYPE_ADVANCE =0x11000000 --上级召唤
60c256f91b 2024-06-27 27: SUMMON_TYPE_DUAL =0x12000000 --再度召唤(二重)
60c256f91b 2024-06-27 28: SUMMON_TYPE_FLIP =0x20000000 --翻转召唤
60c256f91b 2024-06-27 29: SUMMON_TYPE_SPECIAL =0x40000000 --特殊召唤(EFFECT_SPSUMMON_PROC,EFFECT_SPSUMMON_PROC_G 可用 Value 修改數值)
60c256f91b 2024-06-27 30: SUMMON_TYPE_FUSION =0x43000000 --融合召唤
60c256f91b 2024-06-27 31: SUMMON_TYPE_RITUAL =0x45000000 --仪式召唤
60c256f91b 2024-06-27 32: SUMMON_TYPE_SYNCHRO =0x46000000 --同调召唤
60c256f91b 2024-06-27 33: SUMMON_TYPE_XYZ =0x49000000 --超量召唤
60c256f91b 2024-06-27 34: SUMMON_TYPE_PENDULUM =0x4a000000 --灵摆召唤
60c256f91b 2024-06-27 35: SUMMON_TYPE_LINK =0x4c000000 --连接召唤
60c256f91b 2024-06-27 36: ~~~
60c256f91b 2024-06-27 37: ### 从哪个区域特召到场上的可选值
60c256f91b 2024-06-27 38: 1. LOCATION_DECK
60c256f91b 2024-06-27 39: 1. LOCATION_HAND
60c256f91b 2024-06-27 40: 1. LOCATION_GRAVE
60c256f91b 2024-06-27 41: 1. LOCATION_REMOVED
60c256f91b 2024-06-27 42: 1. LOCATION_EXTRA
60c256f91b 2024-06-27 43: ***
60c256f91b 2024-06-27 44: ~~~
60c256f91b 2024-06-27 45: LOCATION_DECK =0x01 --卡组
60c256f91b 2024-06-27 46: LOCATION_HAND =0x02 --手牌
60c256f91b 2024-06-27 47: LOCATION_MZONE =0x04 --主要怪兽区(0~4)+额外怪兽区(5~6)
60c256f91b 2024-06-27 48: LOCATION_SZONE =0x08 --魔陷区(0~4)+场地区(5)
60c256f91b 2024-06-27 49: LOCATION_GRAVE =0x10 --墓地
60c256f91b 2024-06-27 50: LOCATION_REMOVED =0x20 --除外区
60c256f91b 2024-06-27 51: LOCATION_EXTRA =0x40 --额外
60c256f91b 2024-06-27 52: LOCATION_OVERLAY =0x80 --超量素材
60c256f91b 2024-06-27 53: LOCATION_ONFIELD =0x0c --场上(LOCATION_MZONE+LOCATION_SZONE)
60c256f91b 2024-06-27 54: ~~~
60c256f91b 2024-06-27 55: ### 补充
60c256f91b 2024-06-27 56: 可参考 X-LV-48 。
60c256f91b 2024-06-27 57: ## PreEquip
60c256f91b 2024-06-27 58: ### 原型
60c256f91b 2024-06-27 59: Debug.PreEquip(装备魔法卡, 怪兽卡)
60c256f91b 2024-06-27 60: ***
60c256f91b 2024-06-27 61: ~~~
60c256f91b 2024-06-27 62: ● bool Debug.PreEquip(Card equip_card, Card target)
60c256f91b 2024-06-27 63: 为 target 添加装备 equip_card ,返回值表示是否成功
60c256f91b 2024-06-27 64: ~~~
60c256f91b 2024-06-27 65: ### 补充
60c256f91b 2024-06-27 66: 1. 可参考 NH-04
60c256f91b 2024-06-27 67: 1. 不能以怪兽装备怪兽
60c256f91b 2024-06-27 68: ## PreSetTarget
60c256f91b 2024-06-27 69: ### 原型
60c256f91b 2024-06-27 70: Debug.PreSetTarget(保护卡, 被保护的卡)
60c256f91b 2024-06-27 71: ***
60c256f91b 2024-06-27 72: ~~~
60c256f91b 2024-06-27 73: ● void Debug.PreSetTarget(Card c, Card target)
60c256f91b 2024-06-27 74: 把 target 选为 c 的永续对象
60c256f91b 2024-06-27 75: ~~~
60c256f91b 2024-06-27 76: ### 补充
60c256f91b 2024-06-27 77: 1. 必须在布局完成之后再使用。
60c256f91b 2024-06-27 78: 1. 可参考 NH-04 。