游戏王残局简化版

Annotation For single_doc/三个绑定函数.md
Login

Annotation For single_doc/三个绑定函数.md

Origin for each line in single_doc/三个绑定函数.md from check-in 580b09114c:

e1b217bace 2023-09-09    1: % 三个绑定函数
e1b217bace 2023-09-09    2: 
e1b217bace 2023-09-09    3: # PreSummon
e1b217bace 2023-09-09    4: 
e1b217bace 2023-09-09    5: Debug.PreSummon(卡, 召唤类型[, 从哪个区域特召到场上])
e1b217bace 2023-09-09    6: 
e1b217bace 2023-09-09    7: <details>
e1b217bace 2023-09-09    8: <summary>
e1b217bace 2023-09-09    9: 补充
e1b217bace 2023-09-09   10: </summary>
e1b217bace 2023-09-09   11: 
e1b217bace 2023-09-09   12: ~~~
580b09114c 2023-09-09   13: ● void Debug.PreSummon(Card c, int sum_type[, int sum_location=0])
580b09114c 2023-09-09   14: 设置卡片 c 的召唤信息:以 sum_type 方法(通常召唤、特殊召唤等)[从 sum_location]出场
e1b217bace 2023-09-09   15: ~~~
e1b217bace 2023-09-09   16: 
e1b217bace 2023-09-09   17: </details>
e1b217bace 2023-09-09   18: 
e1b217bace 2023-09-09   19: 召唤类型的可选值:
e1b217bace 2023-09-09   20: 
580b09114c 2023-09-09   21: 1. SUMMON_TYPE_NORMAL
580b09114c 2023-09-09   22: 1. SUMMON_TYPE_ADVANCE
580b09114c 2023-09-09   23: 1. SUMMON_TYPE_DUAL
580b09114c 2023-09-09   24: 1. SUMMON_TYPE_FLIP
580b09114c 2023-09-09   25: 1. SUMMON_TYPE_SPECIAL
580b09114c 2023-09-09   26: 1. SUMMON_TYPE_FUSION
580b09114c 2023-09-09   27: 1. SUMMON_TYPE_RITUAL
580b09114c 2023-09-09   28: 1. SUMMON_TYPE_SYNCHRO
580b09114c 2023-09-09   29: 1. SUMMON_TYPE_XYZ
580b09114c 2023-09-09   30: 1. SUMMON_TYPE_PENDULUM
580b09114c 2023-09-09   31: 1. SUMMON_TYPE_LINK
580b09114c 2023-09-09   32: 
580b09114c 2023-09-09   33: <details>
580b09114c 2023-09-09   34: <summary>
580b09114c 2023-09-09   35: 补充
580b09114c 2023-09-09   36: </summary>
e1b217bace 2023-09-09   37: 
e1b217bace 2023-09-09   38: ~~~
e1b217bace 2023-09-09   39: --Summon Type --召唤类型
580b09114c 2023-09-09   40: SUMMON_TYPE_NORMAL		=0x10000000 --通常召唤(EFFECT_SUMMON_PROC,EFFECT_SET_PROC 可用 Value 修改數值)
e1b217bace 2023-09-09   41: SUMMON_TYPE_ADVANCE		=0x11000000 --上级召唤
e1b217bace 2023-09-09   42: SUMMON_TYPE_DUAL		=0x12000000	--再度召唤(二重)
e1b217bace 2023-09-09   43: SUMMON_TYPE_FLIP		=0x20000000	--翻转召唤
580b09114c 2023-09-09   44: SUMMON_TYPE_SPECIAL		=0x40000000	--特殊召唤(EFFECT_SPSUMMON_PROC,EFFECT_SPSUMMON_PROC_G 可用 Value 修改數值)
e1b217bace 2023-09-09   45: SUMMON_TYPE_FUSION		=0x43000000	--融合召唤
e1b217bace 2023-09-09   46: SUMMON_TYPE_RITUAL		=0x45000000	--仪式召唤
e1b217bace 2023-09-09   47: SUMMON_TYPE_SYNCHRO		=0x46000000	--同调召唤
e1b217bace 2023-09-09   48: SUMMON_TYPE_XYZ			=0x49000000	--超量召唤
e1b217bace 2023-09-09   49: SUMMON_TYPE_PENDULUM	=0x4a000000 --灵摆召唤
e1b217bace 2023-09-09   50: SUMMON_TYPE_LINK		=0x4c000000 --连接召唤
e1b217bace 2023-09-09   51: ~~~
e1b217bace 2023-09-09   52: 
580b09114c 2023-09-09   53: </details>
580b09114c 2023-09-09   54: 
580b09114c 2023-09-09   55: 从哪个区域特召到场上的可选值:
580b09114c 2023-09-09   56: 
580b09114c 2023-09-09   57: 1. LOCATION_DECK
580b09114c 2023-09-09   58: 1. LOCATION_HAND
580b09114c 2023-09-09   59: 1. LOCATION_GRAVE
580b09114c 2023-09-09   60: 1. LOCATION_REMOVED
580b09114c 2023-09-09   61: 1. LOCATION_EXTRA
580b09114c 2023-09-09   62: 
580b09114c 2023-09-09   63: <details>
580b09114c 2023-09-09   64: <summary>
580b09114c 2023-09-09   65: 补充
580b09114c 2023-09-09   66: </summary>
580b09114c 2023-09-09   67: 
580b09114c 2023-09-09   68: ~~~
580b09114c 2023-09-09   69: LOCATION_DECK		=0x01		--卡组
580b09114c 2023-09-09   70: LOCATION_HAND		=0x02		--手牌
580b09114c 2023-09-09   71: LOCATION_MZONE		=0x04		--主要怪兽区(0~4)+额外怪兽区(5~6)
580b09114c 2023-09-09   72: LOCATION_SZONE		=0x08		--魔陷区(0~4)+场地区(5)
580b09114c 2023-09-09   73: LOCATION_GRAVE		=0x10		--墓地
580b09114c 2023-09-09   74: LOCATION_REMOVED	=0x20		--除外区
580b09114c 2023-09-09   75: LOCATION_EXTRA		=0x40		--额外
580b09114c 2023-09-09   76: LOCATION_OVERLAY	=0x80		--超量素材
580b09114c 2023-09-09   77: LOCATION_ONFIELD	=0x0c		--场上(LOCATION_MZONE+LOCATION_SZONE)
580b09114c 2023-09-09   78: ~~~
580b09114c 2023-09-09   79: 
580b09114c 2023-09-09   80: </details>
580b09114c 2023-09-09   81: 
580b09114c 2023-09-09   82: 可参考 X-LV-48 。
580b09114c 2023-09-09   83: 
580b09114c 2023-09-09   84: # PreEquip
580b09114c 2023-09-09   85: 
580b09114c 2023-09-09   86: Debug.PreEquip(装备卡, 怪兽卡)
580b09114c 2023-09-09   87: 
580b09114c 2023-09-09   88: <details>
580b09114c 2023-09-09   89: <summary>
580b09114c 2023-09-09   90: 补充
580b09114c 2023-09-09   91: </summary>
580b09114c 2023-09-09   92: 
580b09114c 2023-09-09   93: ~~~
580b09114c 2023-09-09   94: ● bool Debug.PreEquip(Card equip_card, Card target)
580b09114c 2023-09-09   95: 为 target 添加装备 equip_card ,返回值表示是否成功
580b09114c 2023-09-09   96: ~~~
580b09114c 2023-09-09   97: 
580b09114c 2023-09-09   98: </details>
580b09114c 2023-09-09   99: 
580b09114c 2023-09-09  100: 可参考 NH-04 。
580b09114c 2023-09-09  101: 
580b09114c 2023-09-09  102: # PreSetTarget
580b09114c 2023-09-09  103: 
580b09114c 2023-09-09  104: Debug.PreSetTarget(保护卡, 被保护的卡)
580b09114c 2023-09-09  105: 
580b09114c 2023-09-09  106: <details>
580b09114c 2023-09-09  107: <summary>
580b09114c 2023-09-09  108: 补充
580b09114c 2023-09-09  109: </summary>
580b09114c 2023-09-09  110: 
580b09114c 2023-09-09  111: ~~~
580b09114c 2023-09-09  112: ● void Debug.PreSetTarget(Card c, Card target)
580b09114c 2023-09-09  113: 把 target 选为 c 的永续对象
580b09114c 2023-09-09  114: ~~~
580b09114c 2023-09-09  115: 
580b09114c 2023-09-09  116: </details>
e1b217bace 2023-09-09  117: 
580b09114c 2023-09-09  118: 可参考 NH-04 。