Artifact 7af8520fe20dfdb9653a57fd35936d18fc6539b359dd7c21d376606d50a88d4a:
- File single_doc/三个绑定函数.md — part of check-in [e1b217bace] at 2023-09-09 03:13:26 on branch trunk — 0.0.2544 (user: 顽雨沉风, size: 2027) [annotate] [blame] [check-ins using]
% 三个绑定函数
PreSummon
Debug.PreSummon(卡, 召唤类型[, 从哪个区域特召到场上])
补充
●void Debug.PreSummon(Card c, int sum_type[, int sum_location=0])
设置卡片c的召唤信息:以 sum_type 方法(通常召唤、特殊召唤等)[从 sum_location]出场
召唤类型的可选值:
- SUMMON_TYPE_NORMAL =0x10000000 --通常召唤(EFFECT_SUMMON_PROC,EFFECT_SET_PROC 可用Value修改數值)
- SUMMON_TYPE_ADVANCE =0x11000000 --上级召唤
- SUMMON_TYPE_DUAL =0x12000000 --再度召唤(二重)
- SUMMON_TYPE_FLIP =0x20000000 --翻转召唤
- SUMMON_TYPE_SPECIAL =0x40000000 --特殊召唤(EFFECT_SPSUMMON_PROC,EFFECT_SPSUMMON_PROC_G 可用Value修改數值)
- SUMMON_TYPE_FUSION =0x43000000 --融合召唤
- SUMMON_TYPE_RITUAL =0x45000000 --仪式召唤
- SUMMON_TYPE_SYNCHRO =0x46000000 --同调召唤
- SUMMON_TYPE_XYZ =0x49000000 --超量召唤
- SUMMON_TYPE_PENDULUM =0x4a000000 --灵摆召唤
- SUMMON_TYPE_LINK =0x4c000000 --连接召唤
sum_type的可选值:
--Summon Type --召唤类型
SUMMON_TYPE_NORMAL =0x10000000 --通常召唤(EFFECT_SUMMON_PROC,EFFECT_SET_PROC 可用Value修改數值)
SUMMON_TYPE_ADVANCE =0x11000000 --上级召唤
SUMMON_TYPE_DUAL =0x12000000 --再度召唤(二重)
SUMMON_TYPE_FLIP =0x20000000 --翻转召唤
SUMMON_TYPE_SPECIAL =0x40000000 --特殊召唤(EFFECT_SPSUMMON_PROC,EFFECT_SPSUMMON_PROC_G 可用Value修改數值)
SUMMON_TYPE_FUSION =0x43000000 --融合召唤
SUMMON_TYPE_RITUAL =0x45000000 --仪式召唤
SUMMON_TYPE_SYNCHRO =0x46000000 --同调召唤
SUMMON_TYPE_XYZ =0x49000000 --超量召唤
SUMMON_TYPE_PENDULUM =0x4a000000 --灵摆召唤
SUMMON_TYPE_LINK =0x4c000000 --连接召唤
●bool Debug.PreEquip(Card equip_card, Card target) 为target添加装备equip_card ,返回值表示是否成功
●void Debug.PreSetTarget(Card c, Card target) 把target选为c的永续对象