Commit 3ec365a9 authored by wyykak's avatar wyykak

add Yuyuko

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent d6dce94b
...@@ -4,11 +4,6 @@ ...@@ -4,11 +4,6 @@
# description # description
# flags (avail flags: SUPPORT_MASTER_RULE_3, SUPPORT_NEW_MASTER_RULE, SUPPORT_MASTER_RULE_2020, SELECT_DECKFILE) # flags (avail flags: SUPPORT_MASTER_RULE_3, SUPPORT_NEW_MASTER_RULE, SUPPORT_MASTER_RULE_2020, SELECT_DECKFILE)
!DJNormal
Name=DJ Deck='DJ' Dialog=heyDJ DbPath=expansions\AI.cdb
兄弟打碟吗
SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
!一面:幽幽子(Easy !一面:幽幽子(Easy
Name=西行寺幽幽子 Deck='YuyukoRank1' Dialog=YuyukoRank1.zh-CN DbPath=expansions\AI.cdb Name=西行寺幽幽子 Deck='YuyukoRank1' Dialog=YuyukoRank1.zh-CN DbPath=expansions\AI.cdb
弱小的一面bossAI。在此难度下AI的智商非常低 弱小的一面bossAI。在此难度下AI的智商非常低
...@@ -30,16 +25,16 @@ Name=西行寺幽幽子 Deck='YuyukoRank4' Dialog=YuyukoRank1.zh-CN DbPath=expan ...@@ -30,16 +25,16 @@ Name=西行寺幽幽子 Deck='YuyukoRank4' Dialog=YuyukoRank1.zh-CN DbPath=expan
SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
!P2-自选卡组 !P2-自选卡组
Name=P2[EXT] Deck=Lucky Dialog=gugugu.zh-CN DbPath=expansions\AI.cdb Name=P2 Deck=Lucky Dialog=gugugu.zh-CN DbPath=expansions\AI.cdb
人机卡组由你选择。随缘出牌。 人机卡组由你选择。随缘出牌。
SELECT_DECKFILE SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020 SELECT_DECKFILE SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
!摆烂型王圆圆 !摆烂型王圆圆
Name=摆烂型王圆圆[EXT] Deck='THC_DSReimu' Dialog=gugugu.zh-CN DbPath=expansions\AI.cdb Name=摆烂型王圆圆 Deck='THC_DSReimu' Dialog=gugugu.zh-CN DbPath=expansions\AI.cdb
幼女化灵梦摆烂卡组,但偶尔也会有一些惊喜? 幼女化灵梦摆烂卡组,但偶尔也会有一些惊喜?
SUPPORT_MASTER_RULE_2020 SUPPORT_MASTER_RULE_2020
!强袭型王圆圆 !强袭型王圆圆
Name=强袭型王圆圆[EXT] Deck='THC_WDL' Dialog=ayane.zh-CN DbPath=expansions\AI.cdb Name=强袭型王圆圆 Deck='THC_WDL' Dialog=ayane.zh-CN DbPath=expansions\AI.cdb
乱打也能像样的喔嘟噜卡组。 乱打也能像样的喔嘟噜卡组。
SUPPORT_MASTER_RULE_2020 SUPPORT_MASTER_RULE_2020
#created by ...
#main
11011
11011
11011
20032
20241
20235
20235
25081
20257
20257
20257
20083
20083
20083
26125
26125
26125
20248
20248
20248
20210
20210
20193
20193
20193
25127
25127
25127
20090
20090
20090
20178
25096
25096
20050
20050
20050
10113
10113
10113
#extra
20245
20245
20245
19011
25171
20042
15059
20242
25501
20504
20504
20504
10501
21501
21501
!side
#created by ...
#main
11011
11011
11011
20032
20241
20235
20235
25081
20257
20257
20257
20083
20083
20083
26125
26125
26125
20248
20248
20248
20210
20210
20193
20193
20193
25127
25127
25127
20090
20090
20090
20178
25096
25096
20050
20050
20050
10113
10113
10113
#extra
20245
20245
20245
19011
25171
20042
15059
20242
25501
20504
20504
20504
10501
21501
21501
!side
#created by ...
#main
2003200
2003200
11011
11011
20238
20237
20237
20237
25081
20257
20257
20257
20084
20084
26126
26126
26126
20248
20248
20248
20212
20212
20193
20193
20193
25127
25127
25127
20090
20090
20090
20179
25096
25096
20050
20050
20050
10113
10113
10113
#extra
20245
20245
20245
19011
25171
20042
15059
20242
25501
20504
20504
20504
10501
21501
21501
!side
#created by ...
#main
2003200
2003200
2003200
11011
11011
20238
20237
20237
25081
20257
20257
20257
20084
20084
26126
26126
26126
20248
20248
20248
20212
20212
20193
20193
20193
25127
25127
25127
20090
20090
20090
20179
25096
25096
20050
20050
20050
10113
10113
10113
#extra
20245
20245
20245
19011
25171
20042
15059
20242
25501
20504
20504
20504
10501
21501
21501
!side
{
"welcome": [
"今天有什么事么?",
"AI功能正在测试中,遇到问题请及时反馈。",
"麻薯是什么,好吃吗?",
"好了,你打算怎么办呢?",
"不拐点什么人过来入坑么"
],
"deckerror": [
"为什么我的{0}不能用了?"
],
"duelstart": [
"樱花,就像人的一生一般",
"BGM:「死灵の夜桜」(自行脑补)",
"愿于春日樱下死,阴历二月满月时。"
],
"newturn": [
"虽然有点突然,被我打倒吧!",
"我的回合,抽卡!"
],
"endturn": [
"请不要对我抱有恐惧",
"妖梦,晚餐还没准备好么?"
],
"directattack": [
"{0},直接攻击!",
"幽雅的绽放吧,墨染的樱花。",
"最后一点的春我就拿走了哦",
"没有比收拾祭祀之后的残局更令人感到空虚了。",
"桜符「西行桜吹雪」",
"符牒「死蝶の舞 - 桜花 -」"
],
"attack": [
"{0},攻击这只{1}!",
"{0},消灭这只{1}!",
"{0},打倒{1}!",
"沉眠于樱花下吧!"
],
"ondirectattack": [
"从死去到现在,樱花已经开放过多少回了?",
"怎么可能呢。",
"希望在我死后,吊祭我的人能以樱花贡奉。",
"这种程度,对亡灵来说不疼不痒"
],
"facedownmonstername": "怪兽",
"activate": [
"我发动{0}。",
"我使用{0}的效果。",
"誘霊の甘蜜!"
],
"summon": [
"我召唤{0}。",
"出来吧,{0}!",
"出现吧,{0}!",
"我召唤了强大的{0}!",
"我呼唤出{0}。"
],
"setmonster": [
"我放置了一只怪兽。",
"撒,攻过来吧!"
],
"chaining": [
"我发动{0}",
"我使用{0}的力量。",
"畏惧我的{0}吧",
"来自对岸的引诱"
]
}
using YGOSharp.OCGWrapper.Enums;
using System.Collections.Generic;
using WindBot;
using WindBot.Game;
using WindBot.Game.AI;
namespace WindBot.Game.AI.Decks
{
// NOT FINISHED YET
[Deck("YuyukoRank1", "AI_YuyukoRank1")]
public class YuyukoRank1Executor : DefaultExecutor
{
public class CardId
{
public const int Liesun = 200119;
public const int YoumuN5 = 20252;
public const int Bing = 20046;
public const int MimaL9 = 11011;
public const int YuyukoL8 = 20032;
public const int YoumuTheMangetsuYuuki = 20241;
public const int YoumuTheAkaSakuraYuurei = 20235;
public const int HatanokokoroL4 = 25081;
public const int YoumuTheHalfSpirit = 20257;
public const int YoumuTheBluesky = 20083;
public const int NueL3 = 26125;
public const int YoumuTheSweetMaid = 20248;
public const int YoumuTheHalfSpiritL3 = 20210;
public const int YoumeiNoKuwa = 20193;
public const int KokoroCorona = 25127;
public const int Mougakyou = 20090;
public const int KanataOfTamaSakura = 20178;
public const int HiNoOtoko = 25096;
public const int Hakugyokurou = 20050;
public const int JigenYuuhei = 10113;
public const int YoumuF6 = 20245;
public const int YoumuSanaeF = 19011;
public const int AyaS8 = 25171;
public const int YoumuS6 = 20041;
public const int LoliceR4 = 15059;
public const int YoumuR4 = 20242;
public const int LinkYuuka = 25501;
public const int LinkYuyuko = 20504;
public const int LinkReimu = 10501;
public const int LinkReisen = 21501;
}
public YuyukoRank1Executor(GameAI ai, Duel duel)
: base(ai, duel)
{
AddExecutor(ExecutorType.SpellSet, DefaultSpellSet);
AddExecutor(ExecutorType.Activate, CardId.Liesun);
AddExecutor(ExecutorType.Activate, CardId.YoumuN5);
AddExecutor(ExecutorType.Activate, CardId.YoumeiNoKuwa);
AddExecutor(ExecutorType.Activate, CardId.KokoroCorona);
AddExecutor(ExecutorType.Activate, CardId.HiNoOtoko);
AddExecutor(ExecutorType.Activate, CardId.NueL3);
AddExecutor(ExecutorType.Activate, CardId.Mougakyou);
AddExecutor(ExecutorType.Activate, CardId.YoumuTheSweetMaid);
AddExecutor(ExecutorType.SpSummon, CardId.YoumuTheBluesky);
AddExecutor(ExecutorType.Activate, CardId.Hakugyokurou);
AddExecutor(ExecutorType.SpSummon, CardId.MimaL9);
AddExecutor(ExecutorType.SpSummon, CardId.YuyukoL8);
AddExecutor(ExecutorType.SpSummon, CardId.YoumuTheAkaSakuraYuurei);
AddExecutor(ExecutorType.Summon, CardId.HatanokokoroL4);
AddExecutor(ExecutorType.SummonOrSet, CardId.HatanokokoroL4);
AddExecutor(ExecutorType.Summon, CardId.YoumuTheHalfSpirit);
AddExecutor(ExecutorType.SpSummon, CardId.YoumuTheHalfSpiritL3);
AddExecutor(ExecutorType.SpSummon, CardId.LinkYuuka);
AddExecutor(ExecutorType.SpSummon, CardId.LinkYuyuko);
AddExecutor(ExecutorType.SpSummon, CardId.AyaS8);
AddExecutor(ExecutorType.SpSummon, CardId.YoumuS6);
AddExecutor(ExecutorType.SpSummon, CardId.LoliceR4);
AddExecutor(ExecutorType.SpSummon, CardId.YoumuR4);
AddExecutor(ExecutorType.SpSummon, CardId.LinkReimu);
AddExecutor(ExecutorType.SpSummon, CardId.LinkReisen);
AddExecutor(ExecutorType.Activate, CardId.JigenYuuhei, DefaultUniqueTrap);
AddExecutor(ExecutorType.Repos, DefaultMonsterRepos);
}
private bool AttackUpEffect()
{
ClientCard bestMy = Bot.GetMonsters().GetHighestAttackMonster();
ClientCard bestEnemyATK = Enemy.GetMonsters().GetHighestAttackMonster();
ClientCard bestEnemyDEF = Enemy.GetMonsters().GetHighestDefenseMonster();
if (bestMy == null || (bestEnemyATK == null && bestEnemyDEF == null))
return false;
if (bestEnemyATK != null && bestMy.Attack < bestEnemyATK.Attack)
return true;
if (bestEnemyDEF != null && bestMy.Attack < bestEnemyDEF.Defense)
return true;
return false;
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -122,6 +122,10 @@ ...@@ -122,6 +122,10 @@
<Compile Include="Game\AI\Decks\DoEveryThingExecutor.cs" /> <Compile Include="Game\AI\Decks\DoEveryThingExecutor.cs" />
<Compile Include="Game\AI\Decks\OldSchoolExecutor.cs" /> <Compile Include="Game\AI\Decks\OldSchoolExecutor.cs" />
<Compile Include="Game\AI\Decks\Rank5Executor.cs" /> <Compile Include="Game\AI\Decks\Rank5Executor.cs" />
<Compile Include="Game\AI\Decks\YuyukoRank1Executor.cs" />
<Compile Include="Game\AI\Decks\YuyukoRank2Executor.cs" />
<Compile Include="Game\AI\Decks\YuyukoRank3Executor.cs" />
<Compile Include="Game\AI\Decks\YuyukoRank4Executor.cs" />
<Compile Include="Game\AI\Decks\ZefraExecutor.cs" /> <Compile Include="Game\AI\Decks\ZefraExecutor.cs" />
<Compile Include="Game\AI\Decks\ZoodiacExecutor.cs" /> <Compile Include="Game\AI\Decks\ZoodiacExecutor.cs" />
<Compile Include="Game\AI\Decks\ZexalWeaponsExecutor.cs" /> <Compile Include="Game\AI\Decks\ZexalWeaponsExecutor.cs" />
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment