Commit 86c9807e authored by mycard's avatar mycard

Merge branch 'master' of /home/mycard/windbot into 2pick

parents 69635f14 d926b5d9
FROM mono
COPY . /windbot-source
WORKDIR /windbot-source
RUN xbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.5 /p:OutDir=/windbot/
WORKDIR /windbot
RUN curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/moecube/ygopro-database/raw/master/locales/zh-CN/cards.cdb
EXPOSE 2399
CMD [ "mono", "/windbot/WindBot.exe", "ServerMode=true", "ServerPort=2399" ]
......@@ -131,7 +131,6 @@ namespace WindBot.Game
_messages.Add(GameMessage.AnnounceCard, OnAnnounceCard);
_messages.Add(GameMessage.AnnounceNumber, OnAnnounceNumber);
_messages.Add(GameMessage.AnnounceRace, OnAnnounceRace);
_messages.Add(GameMessage.AnnounceCardFilter, OnAnnounceCard);
_messages.Add(GameMessage.RockPaperScissors, OnRockPaperScissors);
_messages.Add(GameMessage.Equip, OnEquip);
_messages.Add(GameMessage.Unequip, OnUnEquip);
......
......@@ -141,6 +141,38 @@ The parameters are same as commandlines, but low cased.
### Changelog
#### v0x134A (2019-05-30)
- Update YGOPro protrol to 0x134A
- New decks: Altergeist, BlueEyesMaxDragon, GrenMajuThunderBoarder, Level8, Orcust, Phantasm, Salamangreat
- Use LINQ in codes
- Add random bot feature to BotWrapper
- Add `ClientCard.Sequence`, `ClientCard.ProcCompleted`, `ClientCard.IsSpecialSummoned`
- Add `ClientCard.EquipCards`, `ClientCard.OwnTargets`, handle equip cards
- Add `ClientCard.IsCode`, handle card alias
- Add `ClientCard.GetLinkedZones`, `ClientCard.HasSetcode`
- Add `ClientField.UnderAttack`, `ClientField.GetLinkedZones`, `ClientField.GetFieldSpellCard`
- Add `Duel.SummoningCards`, `Duel.LastSummonedCards`
- Add `Util.GetTotalAttackingMonsterAttack`, `Util.GetBotAvailZonesFromExtraDeck`
- Add `GetMatchingCards`, `GetFirstMatchingCard`, `IsExistingMatchingCard`
- Add `ExecutorType.GoToBattlePhase`, `ExecutorType.GoToMainPhase2`, `ExecutorType.GoToEndPhase`
- Add `DefaultScapegoat`, `DefaultMaxxC`, `DefaultAshBlossomAndJoyousSpring`, `DefaultGhostOgreAndSnowRabbit`, `DefaultGhostBelleAndHauntedMansion`, `DefaultEffectVeiler`, `DefaultCalledByTheGrave`, `DefaultInfiniteImpermanence`
- Rename `AIFunctions` to `AIUtil` (Usage: `AI.Utils.` -> `Util.`)
- Rename `AIFunctions.CompareCardAttack` to `CardContainer.CompareCardAttack`
- Update `Util.SelectPreferredCards` and `Util.CheckSelectCount` to return the result
- Update `ClientField.HasInMonstersZone` to support check face-up card
- Update `AI.SelectCard` [\#59](https://github.com/IceYGO/windbot/pull/59)
- Handle swap control of cards
- Change some `int location` to `CardLocation location`
- Update default `OnPreBattleBetween` to recognize more cards
- Misc updates to default executors
- Misc updates to the AI of some decks
- Update the known card enums
- Fix `CardSelector.Select`
- Fix `OnSelectEffectYn` didn't have `ActivateDescription`
- Fix `ClientCard.Attacked`
- Fix infinite activation of ZexalWeapons
#### v0x1344 (2018-06-05)
- Update YGOPro protrol to 0x1344
......
......@@ -22,7 +22,7 @@ namespace WindBot
Host = "127.0.0.1";
Port = 7911;
HostInfo = "";
Version = 0x134a;
Version = 0x134b;
Hand = 0;
Debug = false;
Chat = true;
......
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