Implement more QoL features and rebalances
This commit is contained in:
+2
-1
@@ -47,7 +47,8 @@
|
|||||||
*.lighting unity-yaml
|
*.lighting unity-yaml
|
||||||
*.mask unity-yaml
|
*.mask unity-yaml
|
||||||
*.mat unity-yaml
|
*.mat unity-yaml
|
||||||
*.meta unity-yaml
|
# Unity emits a trailing space after empty importer fields in generated metadata.
|
||||||
|
*.meta unity-yaml whitespace=-blank-at-eol
|
||||||
*.mixer unity-yaml
|
*.mixer unity-yaml
|
||||||
*.overrideController unity-yaml
|
*.overrideController unity-yaml
|
||||||
*.playable unity-yaml
|
*.playable unity-yaml
|
||||||
|
|||||||
@@ -17,6 +17,9 @@
|
|||||||
/[Bb]uild/
|
/[Bb]uild/
|
||||||
/[Bb]uilds/
|
/[Bb]uilds/
|
||||||
/[Ll]ogs/
|
/[Ll]ogs/
|
||||||
|
/[Aa]rtifacts/
|
||||||
|
/Assets/_Recovery/
|
||||||
|
/Assets/_Recovery.meta
|
||||||
/[Uu]ser[Ss]ettings/
|
/[Uu]ser[Ss]ettings/
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
|
|||||||
+266
-283
@@ -11,243 +11,226 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="4222a6b8-add3-4f43-9c42-fd6bb5a76169" name="Changes" comment="">
|
<list default="true" id="4222a6b8-add3-4f43-9c42-fd6bb5a76169" name="Changes" comment="">
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Art.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Arch.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Data.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/CardDatabase.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/DefaultVolumeProfile.asset.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Fedora.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Fedora/BorrowChecker.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/BalanceComparison.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Fedora/CargoBuildRelease.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/BalanceComparison.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Fedora/DnfUpdate.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/KernelPanic.Editor.asmdef" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Fedora/Rawhide.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/KernelPanic.Editor.asmdef.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Fedora/SELinuxEnforcing.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/PlayerBuild.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/PlayerBuild.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/Ebuild.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/Tests.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/Ebuild.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/Tests/BalanceComparisonTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/EmergeSync.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/Tests/BalanceComparisonTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/EmergeSync.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/Tests/KernelPanic.Editor.Tests.asmdef" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/EmergeWorld.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Editor/Tests/KernelPanic.Editor.Tests.asmdef.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/EmergeWorld.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/InputSystem_Actions.inputactions.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/MakeJ4.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Prefabs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/MakeJ4.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Resources.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/UseFlags.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Resources/CombatScene.uss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/UseFlags.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Resources/GamblingScene.uss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Resources/KernelTheme.uss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Resources/RarityPresentation.uss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Malloc.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Resources/Readability.uss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Pointer.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Resources/TerminalScrollbars.uss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Printf.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scenes.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/CDeck.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scenes/FightScene.unity.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellDeck.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scenes/GamblingScene.unity.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellDeck.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scenes/GameScene.unity.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellFoldr.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scenes/MainMenuScene.unity.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellFoldr.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellMap.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellMap.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellThunk.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core/GameEvents.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/HaskellThunk.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core/Language.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Java.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core/Rarity.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Java/JavaNewObject.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core/ResolutionTrack.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Java/JavaPublicStaticMain.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core/SceneLoader.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Java/JavaSystemOutPrintln.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core/StatusType.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/JavaDeck.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Core/TurnPhase.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/JavaScript.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/JavaScript/JsConsoleLog.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/CardDatabase.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/JavaScript/JsFetch.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/CardDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/JavaScript/JsTypeof.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/CardEffectDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/JavaScriptDeck.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/DistroDatabase.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/LanguageDeckDatabase.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/DistroDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Python.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/DistroRarity.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Python/PyForLoop.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/EnemyDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Python/PyImportAntigravity.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/LanguageCatalog.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Python/PyPrint.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/LanguageDeckDatabase.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/PythonDeck.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/LanguageDeckDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Rust.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/PackageDatabase.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Rust/RsBorrow.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/PackageDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Rust/RsFnMain.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/PassiveDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/Rust/RsUnwrap.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/StatusEffectDefinition.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/RustDeck.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/KernelPanic.Runtime.asmdef.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Mint.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Mint/Cinnamon.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/CardLoadout.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Mint/FixBroken.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/DistroVersionCatalog.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Mint/Nemo.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/EntropyWallet.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Mint/TimeshiftSnapshot.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/GachaBannerState.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Mint/UpdateManager.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/GachaCurrencyType.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/GachaPullContext.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/AsyncDef.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/GachaRewardType.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Free.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/GachaService.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Gdb.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/GachaTuning.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Gdb.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/IEventBannerSource.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellConst.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/LanguageUnlock.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellConst.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/PackageLoadout.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellDeepseq.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/PackageScrapper.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellDeepseq.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/PackageTuning.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellDollarBang.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/PackageUpgrader.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellDollarBang.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/PlayerCollection.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellFilter.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/PullResolver.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellFilter.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/RunBuildDraftSaveEntry.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellFmap.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/RunHistory.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellFmap.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/SaveService.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellFoldMap.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/VersionUpgrader.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellFoldMap.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellMaybe.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellMaybe.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CombatAudio.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellScanl.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CombatAudio.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellScanl.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Settings.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellSequence.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Settings/Lit2DSceneTemplate.scenetemplate.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellSequence.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Settings/Renderer2D.asset.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellZipWith.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Settings/Scenes.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/HaskellZipWith.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Settings/Scenes/URP2DSceneTemplate.unity.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/KernelExploit.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Settings/UniversalRP.asset.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/ListAppend.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/MathRandom.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/PromiseAll.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CampaignTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Sizeof.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CampaignTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Spread.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardCatalogTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Valgrind.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardCatalogTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Valgrind.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardDrawTimingTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Zip.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardDrawTimingTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Ubuntu.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardPreviewTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Ubuntu/AskUbuntu.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardPreviewTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Ubuntu/DoReleaseUpgrade.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardUtilityEffectTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Ubuntu/SnapInstall.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CardUtilityEffectTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Ubuntu/SudoAptInstall.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CollectionLayoutTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Ubuntu/UbuntuProTrial.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CollectionLayoutTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Cards/Ubuntu/UnattendedUpgrades.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CombatLayoutTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CombatLayoutTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Arch.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CombatPresentationTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Art.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CombatPresentationTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Art/fedora.txt.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CorruptionRecoveryTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Art/gentoo.txt" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/CorruptionRecoveryTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Art/gentoo.txt.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/DamageEffectExecutionTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Art/mint.txt.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/DamageEffectExecutionTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Art/ubuntu.txt.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/DeckDrawTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/DistroDatabase.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/DeckDrawTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Fedora.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/FirstBattleGuideTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Gentoo.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/FirstBattleGuideTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Gentoo.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GachaRevealTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Mint.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GachaRevealTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Distros/Ubuntu.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GentooHaskellTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GentooHaskellTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/Aur.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GentooPackageTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/GentooCcache.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GentooPackageTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/GentooCcache.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GentooProgressionTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/GentooOpenRC.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/GentooProgressionTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/GentooOpenRC.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/JunkEligibilityTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/GentooPortage.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/JunkEligibilityTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/GentooPortage.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/KernelPanic.Ui.Tests.asmdef" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Packages/Systemd.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/KernelPanic.Ui.Tests.asmdef.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Passives.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/MenuPersistenceTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Passives/AptUpdate.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/MenuPersistenceTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Passives/BleedingEdge.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/OrphanSpawnTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Passives/EmergeWorld.asset" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/OrphanSpawnTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Passives/EmergeWorld.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/PackageReadinessTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Passives/IUseArchBtw.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/PackageReadinessTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Data/Passives/ItJustWorks.asset.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/PileCostDetailsTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Resources/Readability.uss" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/PileCostDetailsTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardCatalog.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/ReadabilityTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardCatalog.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/ReadabilityTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardDamageExecutor.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RewardSettlementTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardDamageExecutor.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RewardSettlementTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardDamageLanguageRules.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunArchiveBuildTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardDamageLanguageRules.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunArchiveBuildTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardEffects.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunCheckpointTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardEligibility.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunCheckpointTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardEligibility.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunInsightTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardInstance.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunInsightTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardPreviewService.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunReproducibilityTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardPreviewService.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/RunReproducibilityTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardShieldExecutor.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/SaveServiceTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardShieldExecutor.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/SaveServiceTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatContext.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/SerializedEffectTargetingTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatManager.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/SerializedEffectTargetingTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatRunTelemetry.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/SerializedEffectValidationTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatRunTelemetry.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/SerializedEffectValidationTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatTuning.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/ShieldEffectExecutionTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatantState.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/ShieldEffectExecutionTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CompilationState.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/TerminalUiTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CompilationState.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/TerminalUiTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/DamagePipeline.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/TutorialTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/DeckController.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/TutorialTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EncounterDirector.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/WaveCompletionTests.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EncounterDirector.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/Tests/EditMode/WaveCompletionTests.cs.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EnemyArchetype.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EnemyInstance.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/CollectionScreen.uxml.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EnemyIntent.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/GachaScreen.uxml.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/ExecutionPreview.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/MainMenu.uss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/ExecutionPreview.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/MainMenu.uxml.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/GentooHaskellEffects.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/MainMenuPanelSettings.asset.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/GentooHaskellEffects.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/ScreenFrame.uxml.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/HandController.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/SettingsScreen.uxml.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/ICardEffect.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UI/UnityDefaultRuntimeTheme.tss.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/IResolutionTrack.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Assets/UniversalRenderPipelineGlobalSettings.asset.meta" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/InterpreterQueue.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/GENTOO_HASKELL_IMPLEMENTATION.md" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/LazyStack.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/KERNEL_PANIC_BALANCE_ANALYSIS.md" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/NativeTrack.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/PackageCombatReadout.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Tools/README.md" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/PackageCombatReadout.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Tools/Repair-UnityPackageMetadata.ps1" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/PackageCostRules.cs" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Tools/Reset-UnityImportCache.ps1" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/PackageCostRules.cs.meta" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/Tools/Validate-Checkout.ps1" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/RandomRoll.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.gitattributes" beforeDir="false" afterPath="$PROJECT_DIR$/.gitattributes" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/StatusEffectController.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/StatusInstance.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/.idea.linuxdistrosbuttheyarebreedable/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.linuxdistrosbuttheyarebreedable/.idea/workspace.xml" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Data/DistroRarity.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Arch/Makepkg.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Arch/Makepkg.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/RunBuildDraftSaveEntry.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Arch/PacmanSyu.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Arch/PacmanSyu.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/RunHistory.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/MakeJ4.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Gentoo/MakeJ4.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/PlayerSmokeRunner.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Malloc.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Malloc.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/PlayerSmokeRunner.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Pointer.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Pointer.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/ReplayableRandom.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Printf.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Languages/C/Printf.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/ReplayableRandom.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Free.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Free.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RepositoryOffer.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Shop/KernelExploit.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/KernelExploit.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RewardService.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Sizeof.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Cards/Shop/Sizeof.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunCheckpoint.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Data/Distros/Gentoo.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Data/Distros/Gentoo.asset" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunCheckpoint.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Resources/CombatScene.uss" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Resources/CombatScene.uss" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunConfig.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/CardCatalog.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardCatalog.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunContext.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/CardDamageLanguageRules.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardDamageLanguageRules.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunJourney.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/CardPreviewService.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CardPreviewService.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunJourney.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatManager.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatManager.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunManager.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatTuning.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/CombatTuning.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialCampaign.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/DamagePipeline.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/DamagePipeline.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialCampaign.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/EncounterDirector.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EncounterDirector.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialGuide.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/EnemyArchetype.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EnemyArchetype.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialGuide.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Combat/EnemyInstance.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Combat/EnemyInstance.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/AsciiArtFitter.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Core/GameEvents.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Core/GameEvents.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/BackgroundLogRingBuffer.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Data/LanguageCatalog.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Data/LanguageCatalog.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/BootLogCopy.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Meta/SaveService.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Meta/SaveService.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CardPileView.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Run/PlayerSmokeRunner.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Run/PlayerSmokeRunner.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CardPileView.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Run/RunCheckpoint.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunCheckpoint.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CollectionScreenController.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Run/RunJourney.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunJourney.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CombatSceneController.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Run/RunManager.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Run/RunManager.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CommandKeyBindings.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialCampaign.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialCampaign.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/DistroArtPresenter.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialGuide.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Run/TutorialGuide.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/DistroPresentation.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/CombatSceneController.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/CombatSceneController.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/EnemyProcessPresentation.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/EnemyProcessPresentation.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/EnemyProcessPresentation.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/ExecutionPreviewView.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/FirstBattleGuide.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/FirstBattleGuide.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/ExecutionPreviewView.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/MainMenuController.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/MainMenuController.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/ExecutionTrackView.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/RunRouteView.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/RunRouteView.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/FeaturedUnitPanel.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/TerminalCommandLine.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TerminalCommandLine.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/FirstBattleGuide.cs" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialFlow.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialFlow.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/FirstBattleGuide.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialSpotlight.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialSpotlight.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/GachaRevealView.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/Scripts/UI/UIPreferences.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/UI/UIPreferences.cs" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/GachaScreenController.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/UI/MainMenu.uss" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/UI/MainMenu.uss" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/GamblingSceneController.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/UI/MainMenu.uxml" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/UI/MainMenu.uxml" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/MainMenuController.cs.meta" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Assets/UI/SettingsScreen.uxml" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/UI/SettingsScreen.uxml" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/RarityPresentation.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/RunHistoryView.cs" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/RunHistoryView.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/RunRouteView.cs" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/RunRouteView.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/ScreenFrameController.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/SoftwareCardView.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/StarterSelectionController.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TerminalCommandLine.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TerminalLayout.cs" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TerminalLayout.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TerminalTheme.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialFlow.cs" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialFlow.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialSpotlight.cs" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/TutorialSpotlight.cs.meta" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/Assets/Scripts/UI/UIPreferences.cs.meta" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@@ -335,23 +318,23 @@
|
|||||||
<component name="MetaFilesCheckinStateConfiguration" checkMetaFiles="true" />
|
<component name="MetaFilesCheckinStateConfiguration" checkMetaFiles="true" />
|
||||||
<component name="NextEditCompletionFeaturesState">
|
<component name="NextEditCompletionFeaturesState">
|
||||||
<decayedCancelled>
|
<decayedCancelled>
|
||||||
<entry key="MS100" value="1.0165184275653192" />
|
<entry key="MS100" value="1.467971390371786" />
|
||||||
<entry key="MS500" value="1.5770575478590625" />
|
<entry key="MS500" value="4.933812968328814" />
|
||||||
<entry key="S2" value="3.833065762615132" />
|
<entry key="S2" value="15.462329383311708" />
|
||||||
<entry key="S5" value="5.7476218432935156" />
|
<entry key="S5" value="30.18515635579683" />
|
||||||
<entry key="S10" value="6.7398962360017265" />
|
<entry key="S10" value="45.99374090749197" />
|
||||||
<entry key="S30" value="7.545663257864204" />
|
<entry key="S30" value="68.3652959489368" />
|
||||||
<entry key="S60" value="7.768222269436378" />
|
<entry key="S60" value="76.98311153636746" />
|
||||||
<entry key="M2" value="7.883526890412434" />
|
<entry key="M2" value="85.52684314325326" />
|
||||||
<entry key="M5" value="9.99473157039815" />
|
<entry key="M5" value="111.84663139718091" />
|
||||||
<entry key="M10" value="41.572152823774324" />
|
<entry key="M10" value="139.59882587945066" />
|
||||||
<entry key="M15" value="97.8396446607361" />
|
<entry key="M15" value="158.08984819470908" />
|
||||||
<entry key="M30" value="266.7943534733434" />
|
<entry key="M30" value="199.9981669227708" />
|
||||||
<entry key="H1" value="472.64872978520367" />
|
<entry key="H1" value="270.47915077871806" />
|
||||||
<entry key="H2" value="677.5886942223595" />
|
<entry key="H2" value="395.20124566196637" />
|
||||||
<entry key="H4" value="930.0422971858045" />
|
<entry key="H4" value="601.2883434280296" />
|
||||||
<entry key="D1" value="3049.0371620770484" />
|
<entry key="D1" value="2529.2211080243887" />
|
||||||
<entry key="W1" value="8468.346954465056" />
|
<entry key="W1" value="8848.319324223226" />
|
||||||
</decayedCancelled>
|
</decayedCancelled>
|
||||||
<decayedSelected>
|
<decayedSelected>
|
||||||
<entry key="MS100" value="0.0" />
|
<entry key="MS100" value="0.0" />
|
||||||
@@ -362,34 +345,34 @@
|
|||||||
<entry key="S30" value="0.0" />
|
<entry key="S30" value="0.0" />
|
||||||
<entry key="S60" value="0.0" />
|
<entry key="S60" value="0.0" />
|
||||||
<entry key="M2" value="0.0" />
|
<entry key="M2" value="0.0" />
|
||||||
<entry key="M5" value="1.6E-322" />
|
<entry key="M5" value="0.0" />
|
||||||
<entry key="M10" value="1.2368980650732739E-161" />
|
<entry key="M10" value="2.8924138208170126E-207" />
|
||||||
<entry key="M15" value="5.348384318224154E-108" />
|
<entry key="M15" value="2.0300510159598683E-138" />
|
||||||
<entry key="M30" value="2.3126581599489557E-54" />
|
<entry key="M30" value="1.424799046934609E-69" />
|
||||||
<entry key="H1" value="1.5222374475003914E-27" />
|
<entry key="H1" value="3.7783613305967337E-35" />
|
||||||
<entry key="H2" value="4.111449038941078E-14" />
|
<entry key="H2" value="6.477470663576851E-18" />
|
||||||
<entry key="H4" value="2.771836240352917E-7" />
|
<entry key="H4" value="3.4791474918551E-9" />
|
||||||
<entry key="D1" value="0.24018760227725622" />
|
<entry key="D1" value="0.11578922096927109" />
|
||||||
<entry key="W1" value="2.6728031697446704" />
|
<entry key="W1" value="2.408230517614031" />
|
||||||
</decayedSelected>
|
</decayedSelected>
|
||||||
<decayedShown>
|
<decayedShown>
|
||||||
<entry key="MS100" value="0.9753308499772347" />
|
<entry key="MS100" value="1.4232287311031406" />
|
||||||
<entry key="MS500" value="1.5651980253969162" />
|
<entry key="MS500" value="4.904375736637721" />
|
||||||
<entry key="S2" value="3.822150091467142" />
|
<entry key="S2" value="15.438823907536838" />
|
||||||
<entry key="S5" value="5.739828766465332" />
|
<entry key="S5" value="30.16673247958965" />
|
||||||
<entry key="S10" value="6.735069847638275" />
|
<entry key="S10" value="45.97975481723799" />
|
||||||
<entry key="S30" value="7.543798637266906" />
|
<entry key="S30" value="68.35840609413715" />
|
||||||
<entry key="S60" value="7.76725437132706" />
|
<entry key="S60" value="76.9792393709102" />
|
||||||
<entry key="M2" value="7.883033733749349" />
|
<entry key="M2" value="85.52469096567717" />
|
||||||
<entry key="M5" value="9.994508597808728" />
|
<entry key="M5" value="111.84549819346947" />
|
||||||
<entry key="M10" value="41.5718588954631" />
|
<entry key="M10" value="139.5981156252218" />
|
||||||
<entry key="M15" value="97.83923006446001" />
|
<entry key="M15" value="158.08931152616867" />
|
||||||
<entry key="M30" value="266.7938100804705" />
|
<entry key="M30" value="199.9978277840096" />
|
||||||
<entry key="H1" value="472.64824574903963" />
|
<entry key="H1" value="270.4789209623296" />
|
||||||
<entry key="H2" value="677.5883426227084" />
|
<entry key="H2" value="395.2010706473546" />
|
||||||
<entry key="H4" value="930.0420507052193" />
|
<entry key="H4" value="601.2881976740491" />
|
||||||
<entry key="D1" value="3049.277125224685" />
|
<entry key="D1" value="2529.3367399936474" />
|
||||||
<entry key="W1" value="8471.019637799125" />
|
<entry key="W1" value="8850.727438455764" />
|
||||||
</decayedShown>
|
</decayedShown>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectColorInfo">{
|
<component name="ProjectColorInfo">{
|
||||||
@@ -773,8 +756,6 @@
|
|||||||
<component name="UnityUnitTestConfiguration" currentTestLauncher="Both" />
|
<component name="UnityUnitTestConfiguration" currentTestLauncher="Both" />
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="true" />
|
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="true" />
|
||||||
<MESSAGE value="finished main-menu so far" />
|
|
||||||
<MESSAGE value="finish implementing main menu" />
|
|
||||||
<MESSAGE value="finish implementing main" />
|
<MESSAGE value="finish implementing main" />
|
||||||
<MESSAGE value="fix some stuff" />
|
<MESSAGE value="fix some stuff" />
|
||||||
<MESSAGE value="Implement too many changes to list" />
|
<MESSAGE value="Implement too many changes to list" />
|
||||||
@@ -798,7 +779,9 @@
|
|||||||
<MESSAGE value="Fix various issues related to styling and animations" />
|
<MESSAGE value="Fix various issues related to styling and animations" />
|
||||||
<MESSAGE value="Overhaul UI and overall QoL" />
|
<MESSAGE value="Overhaul UI and overall QoL" />
|
||||||
<MESSAGE value="Add tutorial and QoL improvements" />
|
<MESSAGE value="Add tutorial and QoL improvements" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="Add tutorial and QoL improvements" />
|
<MESSAGE value="add missing files" />
|
||||||
|
<MESSAGE value="push xml i guess?" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="push xml i guess?" />
|
||||||
</component>
|
</component>
|
||||||
<component name="XDebuggerManager">
|
<component name="XDebuggerManager">
|
||||||
<breakpoint-manager>
|
<breakpoint-manager>
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7b840cced864976439f43974b1e498d3
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7ec233d275778bf44b6acde2fd9a0cc2
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -13,7 +13,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: arch_makepkg
|
id: arch_makepkg
|
||||||
displayName: makepkg
|
displayName: makepkg
|
||||||
description: deal 7 + btw stacks x3. overkill spills. 25% segfault: uptime -3 and corrupt a random card in hand.
|
description: deal 7 + btw stacks x3. 50% of overkill spills per jump (rounded down). 25% segfault: uptime -3 and corrupt a random card in hand.
|
||||||
flavorText: it built on my machine, which is the only machine.
|
flavorText: it built on my machine, which is the only machine.
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 1
|
rarity: 1
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: arch_pacman_syu
|
id: arch_pacman_syu
|
||||||
displayName: pacman -Syu
|
displayName: pacman -Syu
|
||||||
description: deal 14. overkill spills. 25% segfault: uptime -3 and corrupt a random card in hand.
|
description: deal 14. 50% of overkill spills per jump (rounded down). 25% segfault: uptime -3 and corrupt a random card in hand.
|
||||||
flavorText: full system upgrade. what could possibly ABI wrong?
|
flavorText: full system upgrade. what could possibly ABI wrong?
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 1
|
rarity: 1
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: gentoo_make_j4
|
id: gentoo_make_j4
|
||||||
displayName: "make -j4"
|
displayName: "make -j4"
|
||||||
description: "Deal 8 damage; 11 if Compilation is at least 3. One C hit: overkill spills; 25% segfault recoil/corruption."
|
description: "Deal 8 damage; 11 if Compilation is at least 3. One C hit: 50% of overkill spills per jump (rounded down); 25% segfault recoil/corruption."
|
||||||
flavorText:
|
flavorText:
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 1
|
rarity: 1
|
||||||
@@ -23,7 +23,7 @@ MonoBehaviour:
|
|||||||
distroExclusive: 1
|
distroExclusive: 1
|
||||||
isToken: 0
|
isToken: 0
|
||||||
isRunOnly: 0
|
isRunOnly: 0
|
||||||
designNotes: "Deal 8 damage; 11 if Compilation is at least 3. One C hit: overkill spills; 25% segfault recoil/corruption."
|
designNotes: "Deal 8 damage; 11 if Compilation is at least 3. One C hit: 50% of overkill spills per jump (rounded down); 25% segfault recoil/corruption."
|
||||||
requiresSystem: []
|
requiresSystem: []
|
||||||
upgradeTarget: {fileID: 0}
|
upgradeTarget: {fileID: 0}
|
||||||
effects: []
|
effects: []
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: lang_c_malloc
|
id: lang_c_malloc
|
||||||
displayName: malloc()
|
displayName: malloc()
|
||||||
description: deal 12. overkill spills. 25% segfault: uptime -3 and corrupt a random card in hand.
|
description: deal 12. 50% of overkill spills per jump (rounded down). 25% segfault: uptime -3 and corrupt a random card in hand.
|
||||||
flavorText: memory acquired. ownership emotionally unresolved.
|
flavorText: memory acquired. ownership emotionally unresolved.
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 0
|
rarity: 0
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: lang_c_pointer
|
id: lang_c_pointer
|
||||||
displayName: pointer
|
displayName: pointer
|
||||||
description: deal 9. if the previous card was C, deal 15 instead. overkill spills. 25% segfault: uptime -3 and corrupt a random card in hand.
|
description: deal 9. if the previous card was C, deal 15 instead. 50% of overkill spills per jump (rounded down). 25% segfault: uptime -3 and corrupt a random card in hand.
|
||||||
flavorText: points at the bug with suspicious confidence.
|
flavorText: points at the bug with suspicious confidence.
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 0
|
rarity: 0
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: lang_c_printf
|
id: lang_c_printf
|
||||||
displayName: printf()
|
displayName: printf()
|
||||||
description: deal 7. overkill spills. 25% segfault: uptime -3 and corrupt a random card in hand. then repair up to 1 corrupted card in your active deck.
|
description: deal 7. 50% of overkill spills per jump (rounded down). 25% segfault: uptime -3 and corrupt a random card in hand. then repair up to 1 corrupted card in your active deck.
|
||||||
flavorText: debugging by yelling into the void.
|
flavorText: debugging by yelling into the void.
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 0
|
rarity: 0
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: shop_c_free
|
id: shop_c_free
|
||||||
displayName: free()
|
displayName: free()
|
||||||
description: deal 18. overkill spills. 25% segfault: uptime -3, corrupt a random card in hand, and draw 2. then repair up to 1 corrupted card in your active deck.
|
description: deal 18. 50% of overkill spills per jump (rounded down). 25% segfault: uptime -3, corrupt a random card in hand, and draw 2. then repair up to 1 corrupted card in your active deck.
|
||||||
flavorText: double-free your schedule, not your heap.
|
flavorText: double-free your schedule, not your heap.
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 0
|
rarity: 0
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: shop_c_kernel_exploit
|
id: shop_c_kernel_exploit
|
||||||
displayName: kernel_exploit
|
displayName: kernel_exploit
|
||||||
description: deal 36 ignoring Shield. overkill spills. 50% segfault: uptime -8 and corrupt a random card in hand.
|
description: deal 36 ignoring Shield. 50% of overkill spills per jump (rounded down). 50% segfault: uptime -8 and corrupt a random card in hand.
|
||||||
flavorText: privilege escalated. heartbeat also escalated.
|
flavorText: privilege escalated. heartbeat also escalated.
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 1
|
rarity: 1
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
id: shop_c_sizeof
|
id: shop_c_sizeof
|
||||||
displayName: sizeof()
|
displayName: sizeof()
|
||||||
description: deal 5 x C cards in hand. overkill spills. 25% segfault: uptime -3 and corrupt a random card in hand.
|
description: deal 5 x C cards in hand. 50% of overkill spills per jump (rounded down). 25% segfault: uptime -3 and corrupt a random card in hand.
|
||||||
flavorText: compile-time confidence, runtime consequences.
|
flavorText: compile-time confidence, runtime consequences.
|
||||||
language: 0
|
language: 0
|
||||||
rarity: 1
|
rarity: 1
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ MonoBehaviour:
|
|||||||
- lang: 6
|
- lang: 6
|
||||||
blurb: "Lazy Stack snapshots up to x2.5 damage and Shield; resolves last-in-first-out."
|
blurb: "Lazy Stack snapshots up to x2.5 damage and Shield; resolves last-in-first-out."
|
||||||
- lang: 0
|
- lang: 0
|
||||||
blurb: "Native burst, 50% critical chance, overkill spill and segfault risk."
|
blurb: "Native burst, 35% critical chance, 50% overkill spill per jump and segfault risk."
|
||||||
asciiArt: {fileID: 4900000, guid: b821fa56a5034b9bbd3a000000000104, type: 3}
|
asciiArt: {fileID: 4900000, guid: b821fa56a5034b9bbd3a000000000104, type: 3}
|
||||||
accentColor: {r: 0.70, g: 0.61, b: 0.90, a: 1}
|
accentColor: {r: 0.70, g: 0.61, b: 0.90, a: 1}
|
||||||
baseUptime: 55
|
baseUptime: 55
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3f9215ea0144899419cfbc0957140d3f
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f7b4d900ac734537bc11cb713bdf5d22
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,625 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Security.Cryptography;
|
||||||
|
using System.Text;
|
||||||
|
using KernelPanic.Combat;
|
||||||
|
using KernelPanic.Core;
|
||||||
|
using KernelPanic.Data;
|
||||||
|
using KernelPanic.Meta;
|
||||||
|
using KernelPanic.Run;
|
||||||
|
using KernelPanic.UI;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEditor.SceneManagement;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace KernelPanic.Editor
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Bounded, repeatable bot benchmarks using the real Play Mode combat loop. Run in an
|
||||||
|
/// isolated project copy: -batchmode -executeMethod KernelPanic.Editor.BalanceComparison.RunBatch.
|
||||||
|
/// Omit -quit: this tool exits when Play Mode work and report writes finish.
|
||||||
|
/// </summary>
|
||||||
|
[InitializeOnLoad]
|
||||||
|
public static class BalanceComparison
|
||||||
|
{
|
||||||
|
private const string PendingKey = "KernelPanic.BalanceComparison.Pending";
|
||||||
|
private static Batch _batch;
|
||||||
|
|
||||||
|
static BalanceComparison()
|
||||||
|
{
|
||||||
|
EditorApplication.playModeStateChanged += OnPlayModeChanged;
|
||||||
|
EditorApplication.update += Update;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void RunBatch()
|
||||||
|
{
|
||||||
|
if (!Application.isBatchMode || EditorApplication.isPlayingOrWillChangePlaymode)
|
||||||
|
throw new InvalidOperationException("Run balance comparisons in a separate batch editor, outside Play Mode.");
|
||||||
|
// Validate arguments before replacing the disposable batch editor's scene.
|
||||||
|
Options.Parse(Environment.GetCommandLineArgs());
|
||||||
|
EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
|
||||||
|
SessionState.SetBool(PendingKey, true);
|
||||||
|
EditorApplication.isPlaying = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void OnPlayModeChanged(PlayModeStateChange state)
|
||||||
|
{
|
||||||
|
if (state != PlayModeStateChange.EnteredPlayMode || !SessionState.GetBool(PendingKey, false)) return;
|
||||||
|
SessionState.SetBool(PendingKey, false);
|
||||||
|
try { _batch = new Batch(Options.Parse(Environment.GetCommandLineArgs())); }
|
||||||
|
catch (Exception exception) { Fail(exception); }
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Update()
|
||||||
|
{
|
||||||
|
if (_batch == null || !EditorApplication.isPlaying) return;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (!_batch.Tick()) return;
|
||||||
|
_batch.Dispose();
|
||||||
|
_batch = null;
|
||||||
|
EditorApplication.Exit(0);
|
||||||
|
}
|
||||||
|
catch (Exception exception) { Fail(exception); }
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Fail(Exception exception)
|
||||||
|
{
|
||||||
|
Debug.LogException(exception);
|
||||||
|
_batch?.Dispose();
|
||||||
|
_batch = null;
|
||||||
|
EditorApplication.Exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public sealed class Options
|
||||||
|
{
|
||||||
|
public int[] seeds = CreateSeeds(30);
|
||||||
|
public int[] packageLevels = { 0, 5 };
|
||||||
|
public bool[] shoppingPolicies = { false, true };
|
||||||
|
public int maxWaves = 10;
|
||||||
|
public int maxRounds = 100;
|
||||||
|
public WaveRoute route = WaveRoute.Repair;
|
||||||
|
public bool prefetch = true;
|
||||||
|
public string outputDirectory = "Artifacts/Balance";
|
||||||
|
|
||||||
|
public static Options Parse(string[] args)
|
||||||
|
{
|
||||||
|
var result = new Options();
|
||||||
|
for (int i = 0; i < args.Length; i++)
|
||||||
|
{
|
||||||
|
switch (args[i])
|
||||||
|
{
|
||||||
|
case "-balanceSeeds": result.seeds = Integers(Value(args, ref i)); break;
|
||||||
|
case "-balanceSeedCount": result.seeds = CreateSeeds(int.Parse(Value(args, ref i), CultureInfo.InvariantCulture)); break;
|
||||||
|
case "-balancePackageLevels": result.packageLevels = Integers(Value(args, ref i)); break;
|
||||||
|
case "-balanceShop":
|
||||||
|
result.shoppingPolicies = Value(args, ref i).ToLowerInvariant() switch
|
||||||
|
{
|
||||||
|
"both" => new[] { false, true },
|
||||||
|
"none" => new[] { false },
|
||||||
|
"upgrades" => new[] { true },
|
||||||
|
_ => throw new ArgumentException("balanceShop must be both, none, or upgrades.")
|
||||||
|
};
|
||||||
|
break;
|
||||||
|
case "-balanceWaves": result.maxWaves = int.Parse(Value(args, ref i), CultureInfo.InvariantCulture); break;
|
||||||
|
case "-balancePrefetch": result.prefetch = bool.Parse(Value(args, ref i)); break;
|
||||||
|
case "-balanceRoute":
|
||||||
|
result.route = Value(args, ref i).ToLowerInvariant() switch
|
||||||
|
{
|
||||||
|
"repair" => WaveRoute.Repair,
|
||||||
|
"challenge" => WaveRoute.Challenge,
|
||||||
|
_ => throw new ArgumentException("balanceRoute must be repair or challenge.")
|
||||||
|
};
|
||||||
|
break;
|
||||||
|
case "-balanceRounds": result.maxRounds = int.Parse(Value(args, ref i), CultureInfo.InvariantCulture); break;
|
||||||
|
case "-balanceOutput": result.outputDirectory = Value(args, ref i); break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (result.seeds.Length == 0 || result.maxWaves < 1 || result.maxWaves > 100 || result.maxRounds < 1 || result.maxRounds > 1000)
|
||||||
|
throw new ArgumentException("Specify at least one seed, 1..100 waves, and 1..1000 total rounds per run.");
|
||||||
|
if (result.packageLevels.Length == 0 || result.packageLevels.Any(level => level < 0 || level > PackageTuning.MaxPackageLevel))
|
||||||
|
throw new ArgumentException($"Package levels must be 0..{PackageTuning.MaxPackageLevel}.");
|
||||||
|
result.outputDirectory = Path.GetFullPath(result.outputDirectory);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Stable explicit prefix preserves the old three-seed sample. The remaining
|
||||||
|
// sequence is independent of both Unity's RNG and the runtime RNG algorithm.
|
||||||
|
public static int[] CreateSeeds(int count)
|
||||||
|
{
|
||||||
|
if (count < 1 || count > 1000) throw new ArgumentOutOfRangeException(nameof(count), "Seed count must be 1..1000.");
|
||||||
|
var result = new int[count];
|
||||||
|
int[] original = { 17, 101, 2027 };
|
||||||
|
for (int i = 0; i < count; i++) result[i] = i < original.Length ? original[i] : unchecked((int)(0x6D2B79F5u * (uint)(i - 2)));
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static int[] Integers(string value) => value.Split(',').Select(item => int.Parse(item, CultureInfo.InvariantCulture)).Distinct().ToArray();
|
||||||
|
|
||||||
|
private static string Value(string[] args, ref int index)
|
||||||
|
{
|
||||||
|
if (++index >= args.Length) throw new ArgumentException("Missing balance option value.");
|
||||||
|
return args[index];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public sealed class Scenario
|
||||||
|
{
|
||||||
|
public string distroId;
|
||||||
|
public int version;
|
||||||
|
public Language primary;
|
||||||
|
public Language secondary;
|
||||||
|
public string[] packages;
|
||||||
|
public int packageLevel = 5;
|
||||||
|
public bool shop;
|
||||||
|
public string Label => $"{distroId} V{version} / {primary}+{secondary} / {(packages.Length == 0 ? "none" : string.Join("+", packages) + " L" + packageLevel)} / {(shop ? "upgrade-shop" : "no-shop")}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static List<Scenario> CreateScenarios(DistroDatabase distros) => CreateScenarios(distros, new Options());
|
||||||
|
|
||||||
|
public static List<Scenario> CreateScenarios(DistroDatabase distros, Options options)
|
||||||
|
{
|
||||||
|
var result = new List<Scenario>();
|
||||||
|
foreach (var distro in distros.AllDistros.Where(d => d != null).OrderBy(d => d.Id, StringComparer.Ordinal))
|
||||||
|
{
|
||||||
|
Add(distro.Id, 1, distro.PrimaryLanguage, distro.SecondaryLanguage);
|
||||||
|
Add(distro.Id, 1, distro.PrimaryLanguage, distro.SecondaryLanguage, "pkg_fedora_dnf");
|
||||||
|
}
|
||||||
|
var gentoo = distros.FindById("gentoo") ?? throw new InvalidOperationException("Gentoo is not registered.");
|
||||||
|
Add("gentoo", 5, gentoo.PrimaryLanguage, gentoo.SecondaryLanguage);
|
||||||
|
Add("gentoo", 5, gentoo.PrimaryLanguage, gentoo.SecondaryLanguage, "pkg_fedora_dnf");
|
||||||
|
Add("gentoo", 5, gentoo.PrimaryLanguage, gentoo.SecondaryLanguage, "pkg_zram");
|
||||||
|
Add("gentoo", 5, gentoo.PrimaryLanguage, gentoo.SecondaryLanguage, "pkg_zram", "pkg_fedora_dnf");
|
||||||
|
Add("gentoo", 5, Language.C, Language.Rust);
|
||||||
|
Add("gentoo", 5, Language.C, Language.Rust, "pkg_fedora_dnf");
|
||||||
|
Add("gentoo", 5, Language.Python, Language.JavaScript);
|
||||||
|
Add("gentoo", 5, Language.Python, Language.JavaScript, "pkg_fedora_dnf");
|
||||||
|
return result;
|
||||||
|
|
||||||
|
void Add(string distro, int version, Language primary, Language secondary, params string[] packages)
|
||||||
|
{
|
||||||
|
// Package-free controls are not duplicated for levels that cannot affect them.
|
||||||
|
foreach (int level in packages.Length == 0 ? new[] { 0 } : options.packageLevels)
|
||||||
|
foreach (bool shop in options.shoppingPolicies)
|
||||||
|
result.Add(new Scenario { distroId = distro, version = version, primary = primary, secondary = secondary,
|
||||||
|
packages = packages, packageLevel = level, shop = shop });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static List<CardDefinition> BuildDeck(DistroDefinition distro, LanguageDeckDatabase languages, Scenario scenario)
|
||||||
|
{
|
||||||
|
var cards = distro.ExclusiveCards.Where(card => card != null && !card.IsRunOnly).Take(4).ToList();
|
||||||
|
if (cards.Count != 4) throw new InvalidOperationException($"{distro.Id} needs four authored exclusive cards.");
|
||||||
|
foreach (var language in new[] { scenario.primary, scenario.secondary })
|
||||||
|
{
|
||||||
|
var starter = languages.FindByLanguage(language) ?? throw new InvalidOperationException($"Missing {language} starter.");
|
||||||
|
foreach (var entry in starter.Entries)
|
||||||
|
{
|
||||||
|
if (entry.Card == null || entry.Card.IsRunOnly || entry.Count < 1)
|
||||||
|
throw new InvalidOperationException($"Invalid {language} starter entry.");
|
||||||
|
for (int i = 0; i < entry.Count; i++) cards.Add(entry.Card);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return cards;
|
||||||
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public sealed class RunResult
|
||||||
|
{
|
||||||
|
public string scenario;
|
||||||
|
public int seed;
|
||||||
|
public string[] startingDeck;
|
||||||
|
public int rounds;
|
||||||
|
public int wavesCleared;
|
||||||
|
public int uptimeRemaining;
|
||||||
|
public int maxUptime;
|
||||||
|
public long enemyUptimeDamage;
|
||||||
|
public long enemyShieldDamage;
|
||||||
|
public long playerUptimeDamage;
|
||||||
|
public int cardsPlayed;
|
||||||
|
public int turnsEnded;
|
||||||
|
public long unusedCycles;
|
||||||
|
public int prefetches;
|
||||||
|
public int turnsWithUnusedCycles;
|
||||||
|
public int emptyHandTurns;
|
||||||
|
public int emptyHandWithUnusedCyclesTurns;
|
||||||
|
public int noUsableCardsWithUnusedCyclesTurns;
|
||||||
|
public int turnPlayCapHits;
|
||||||
|
public int repositoryVisits;
|
||||||
|
public int offersPurchased;
|
||||||
|
public int drawRidersPurchased;
|
||||||
|
public long bitsSpent;
|
||||||
|
public string stopReason;
|
||||||
|
public string traceHash;
|
||||||
|
public bool repeatVerified;
|
||||||
|
public double DamagePerRound => rounds == 0 ? 0 : (double)enemyUptimeDamage / rounds;
|
||||||
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public sealed class Report
|
||||||
|
{
|
||||||
|
public int schemaVersion = 4;
|
||||||
|
public string generatedUtc = DateTime.UtcNow.ToString("o");
|
||||||
|
public string unityVersion = Application.unityVersion;
|
||||||
|
public string policy = "Greedy preview value per (cost+1), lowest-uptime target, hand-order ties; 64 plays/round cap. First four authored distro exclusives plus both language starter decks. Paired no-shop and upgrade-shop policies, package levels 0 and 5 by default. Upgrade-shop buys affordable offers in this order: healing at <=50% uptime, draw riders, magnitude, cost reduction, max uptime, RAM, Cycles, cards, then useful healing; offer-order ties; no rerolls/removals. Actual Play Mode combat; death visuals acknowledged on the next editor update. First seed repeats for every scenario.";
|
||||||
|
public string limitations = "A bounded heuristic benchmark, not optimal play or a balance verdict. Conditional/draw/setup effects are undervalued during combat; fixed exclusive choice; upgrade-first shopping is not optimal deckbuilding; different loadouts consume RNG differently. Wave/round caps are censored survivors, not wins. Uptime damage excludes shield and overkill; partial final rounds count. Resource metrics sample explicitly ended Execute turns only: native clears and mid-turn defeats are excluded. Empty hand does not prove lack of draw is the cause of a defeat.";
|
||||||
|
public Options options;
|
||||||
|
public List<Scenario> scenarios;
|
||||||
|
public List<RunResult> runs = new();
|
||||||
|
public List<EditorDiagnostic> editorDiagnostics = new();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public sealed class EditorDiagnostic
|
||||||
|
{
|
||||||
|
public string message;
|
||||||
|
public string stackTrace;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Unity 6000.4.8f1 can throw this from its delayed search-index startup after
|
||||||
|
// EnteredPlayMode. Require the complete editor-only call path: a game exception,
|
||||||
|
// a user-initiated search, or an additional unknown frame must still fail the run.
|
||||||
|
public static bool IsKnownSearchStartupException(string message, string stackTrace, LogType type)
|
||||||
|
{
|
||||||
|
if (type != LogType.Exception || message == null
|
||||||
|
|| !message.StartsWith("ArgumentOutOfRangeException:", StringComparison.Ordinal)
|
||||||
|
|| string.IsNullOrWhiteSpace(stackTrace)) return false;
|
||||||
|
string[] required =
|
||||||
|
{
|
||||||
|
"UnityEditor.Search.SearchDatabase+<EnumerateAll>",
|
||||||
|
"UnityEditor.Search.SearchDatabase.GetDefaultSearchDatabase",
|
||||||
|
"UnityEditor.Search.SearchInit.IndexationOnStartup",
|
||||||
|
"UnityEditor.EditorApplication.Internal_CallDelayFunctions"
|
||||||
|
};
|
||||||
|
if (required.Any(frame => stackTrace.IndexOf(frame, StringComparison.Ordinal) < 0)) return false;
|
||||||
|
foreach (string rawLine in stackTrace.Split('\n'))
|
||||||
|
{
|
||||||
|
string frame = rawLine.Trim();
|
||||||
|
if (frame.Length == 0) continue;
|
||||||
|
if (frame.StartsWith("at ", StringComparison.Ordinal)) frame = frame.Substring(3);
|
||||||
|
if (frame.StartsWith("System.Collections.Generic.List`1", StringComparison.Ordinal)
|
||||||
|
|| frame.StartsWith("System.Linq.Enumerable.", StringComparison.Ordinal)
|
||||||
|
|| required.Any(prefix => frame.StartsWith(prefix, StringComparison.Ordinal))) continue;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void RecordTurnEnd(RunResult result, int cycles, int handCount, int usableCardCount, bool playCapReached)
|
||||||
|
{
|
||||||
|
int unused = Math.Max(0, cycles);
|
||||||
|
result.turnsEnded++;
|
||||||
|
result.unusedCycles += unused;
|
||||||
|
if (unused > 0) result.turnsWithUnusedCycles++;
|
||||||
|
if (handCount == 0) result.emptyHandTurns++;
|
||||||
|
if (unused > 0 && handCount == 0) result.emptyHandWithUnusedCyclesTurns++;
|
||||||
|
// Usable ignores price: cards that merely cost too much do not become
|
||||||
|
// evidence of a draw bottleneck. Tokens, broken and locked cards do.
|
||||||
|
if (unused > 0 && usableCardCount == 0) result.noUsableCardsWithUnusedCyclesTurns++;
|
||||||
|
if (playCapReached) result.turnPlayCapHits++;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int RepositoryPriority(RepositoryOffer offer, CombatantState player)
|
||||||
|
{
|
||||||
|
if (offer == null || offer.Sold) return 0;
|
||||||
|
if (offer.Kind == RepositoryOfferKind.CardUpgrade)
|
||||||
|
return offer.CardUpgradeKind switch
|
||||||
|
{
|
||||||
|
CardUpgradeKind.DrawRider => 90,
|
||||||
|
CardUpgradeKind.MagnitudeUp => 80,
|
||||||
|
CardUpgradeKind.CostDown => 70,
|
||||||
|
_ => 0
|
||||||
|
};
|
||||||
|
if (offer.Kind == RepositoryOfferKind.NewCard) return 20;
|
||||||
|
if (offer.Kind != RepositoryOfferKind.StatUpgrade) return 0;
|
||||||
|
return offer.StatUpgradeKind switch
|
||||||
|
{
|
||||||
|
RunStatUpgradeKind.Heal => player == null || player.CurrentUptime >= player.MaxUptime ? 0
|
||||||
|
: player.CurrentUptime <= player.MaxUptime / 2 ? 100 : 10,
|
||||||
|
RunStatUpgradeKind.MaxUptime => 60,
|
||||||
|
RunStatUpgradeKind.Ram => 50,
|
||||||
|
RunStatUpgradeKind.MaxCycles => 40,
|
||||||
|
_ => 0
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string ToMarkdown(Report report)
|
||||||
|
{
|
||||||
|
var text = new StringBuilder("# Seeded combat comparison\n\n");
|
||||||
|
text.AppendLine(report.policy).AppendLine().AppendLine(report.limitations).AppendLine();
|
||||||
|
text.AppendLine($"Encounter revision: seeded campaign variants, then endless. Route: {report.options.route}. Repair restores up to {RunJourney.RepairUptime} Uptime on departure; challenge adds a modified Daemon and awards Bits plus a draw rider on clear. Build rewards take Bits. Prefetch enabled: {report.options.prefetch}; used only when the bot cannot play another card. Total prefetches: {report.runs.Sum(run => run.prefetches)}. Milestone automatically continues into endless when the wave cap exceeds five. These results are not directly comparable to the old structural encounter benchmark.").AppendLine();
|
||||||
|
text.AppendLine($"Seeds: {string.Join(", ", report.options.seeds)}. Limits: {report.options.maxWaves} waves / {report.options.maxRounds} total rounds. Unity {report.unityVersion}.").AppendLine();
|
||||||
|
text.AppendLine($"Package levels: {string.Join(", ", report.options.packageLevels)}. Shop policies: {string.Join(", ", report.options.shoppingPolicies.Select(shop => shop ? "upgrade-shop" : "no-shop"))}.").AppendLine();
|
||||||
|
text.AppendLine("| Loadout | Runs | Uptime damage / round | Mean rounds | Mean waves cleared | Wave cap reached | Round cap alive | Died | Repeat checked |");
|
||||||
|
text.AppendLine("| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |");
|
||||||
|
foreach (var group in report.runs.GroupBy(run => run.scenario))
|
||||||
|
{
|
||||||
|
long rounds = group.Sum(run => (long)run.rounds);
|
||||||
|
double damage = rounds == 0 ? 0 : group.Sum(run => run.enemyUptimeDamage) / (double)rounds;
|
||||||
|
text.AppendLine(FormattableString.Invariant($"| {group.Key} | {group.Count()} | {damage:0.00} | {group.Average(run => run.rounds):0.00} | {group.Average(run => run.wavesCleared):0.00} | {group.Count(run => run.stopReason == "wave-cap")} | {group.Count(run => run.stopReason == "round-cap")} | {group.Count(run => run.stopReason == "defeat")} | {group.Count(run => run.repeatVerified)} |"));
|
||||||
|
}
|
||||||
|
text.AppendLine().AppendLine("Damage/round is total observed enemy uptime damage divided by total rounds, including partial defeat/clear rounds. JSON contains per-seed outcomes, exact starter decks, shield damage, incoming uptime damage, and deterministic event trace hashes. Every scenario's first seed is replayed and must match before this report is written.");
|
||||||
|
text.AppendLine().AppendLine("## Card flow and repository use").AppendLine();
|
||||||
|
text.AppendLine("| Loadout | Ended turns | Unused Cycles / ended turn | Empty hand % | Empty hand + unused Cycles % | No usable cards + unused Cycles % | Plays / round | Purchases / run | Draw riders / run | Bits spent / run | Play-cap hits |");
|
||||||
|
text.AppendLine("| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |");
|
||||||
|
foreach (var group in report.runs.GroupBy(run => run.scenario))
|
||||||
|
{
|
||||||
|
long ended = group.Sum(run => (long)run.turnsEnded);
|
||||||
|
long rounds = group.Sum(run => (long)run.rounds);
|
||||||
|
double perTurn(long value) => ended == 0 ? 0 : value / (double)ended;
|
||||||
|
double plays = rounds == 0 ? 0 : group.Sum(run => (long)run.cardsPlayed) / (double)rounds;
|
||||||
|
text.AppendLine(FormattableString.Invariant($"| {group.Key} | {ended} | {perTurn(group.Sum(run => run.unusedCycles)):0.00} | {100 * perTurn(group.Sum(run => (long)run.emptyHandTurns)):0.0} | {100 * perTurn(group.Sum(run => (long)run.emptyHandWithUnusedCyclesTurns)):0.0} | {100 * perTurn(group.Sum(run => (long)run.noUsableCardsWithUnusedCyclesTurns)):0.0} | {plays:0.00} | {group.Average(run => run.offersPurchased):0.00} | {group.Average(run => run.drawRidersPurchased):0.00} | {group.Average(run => run.bitsSpent):0.00} | {group.Sum(run => run.turnPlayCapHits)} |"));
|
||||||
|
}
|
||||||
|
text.AppendLine().AppendLine("All percentages use explicitly ended turns, not rounds or runs. Unused Cycles are sampled immediately before End Turn, before deferred cards can refund resources. No usable cards excludes tokens, broken and locked cards but ignores affordability, so expensive cards are not mistaken for an empty hand. Wave-clearing native plays and mid-turn defeats are not sampled. A positive empty-hand/unused-Cycles rate suggests an investigation, not an automatic draw buff; inspect paired no-shop/shop and level-0/level-5 outcomes, play-cap hits, and per-seed JSON together.");
|
||||||
|
if (report.editorDiagnostics.Count > 0)
|
||||||
|
text.AppendLine().AppendLine($"Editor diagnostics: {report.editorDiagnostics.Count} known Unity SearchDatabase startup exception(s) were recorded separately from gameplay failures. Their complete messages and editor-only stacks remain in the JSON and editor log. This benchmark does not validate Unity's search index; all other Error/Exception/Assert logs fail the run.");
|
||||||
|
return text.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private sealed class Batch : IDisposable
|
||||||
|
{
|
||||||
|
private readonly Report _report;
|
||||||
|
private readonly DistroDatabase _distros = Asset<DistroDatabase>("Assets/Data/Distros/DistroDatabase.asset");
|
||||||
|
private readonly LanguageDeckDatabase _languages = Asset<LanguageDeckDatabase>("Assets/Data/Cards/Languages/LanguageDeckDatabase.asset");
|
||||||
|
private readonly PackageDatabase _packages = Asset<PackageDatabase>("Assets/Data/Packages/PackageDatabase.asset");
|
||||||
|
private readonly CardDatabase _cards = Asset<CardDatabase>("Assets/Data/Cards/CardDatabase.asset");
|
||||||
|
private readonly bool _previousMotion;
|
||||||
|
private readonly StringBuilder _trace = new();
|
||||||
|
private GameObject _owner;
|
||||||
|
private RunManager _run;
|
||||||
|
private CombatManager _combat;
|
||||||
|
private RunResult _current;
|
||||||
|
private RunResult _repeatOf;
|
||||||
|
private int _scenarioIndex;
|
||||||
|
private int _seedIndex;
|
||||||
|
private double _lastProgress;
|
||||||
|
private bool _writeComplete;
|
||||||
|
private bool _roundCapReached;
|
||||||
|
private int _roundCapUptime;
|
||||||
|
private string _runtimeError;
|
||||||
|
|
||||||
|
public Batch(Options options)
|
||||||
|
{
|
||||||
|
_report = new Report { options = options, scenarios = CreateScenarios(_distros, options) };
|
||||||
|
_previousMotion = UIPreferences.ReducedMotion;
|
||||||
|
UIPreferences.ReducedMotion = true;
|
||||||
|
GameEvents.PhaseChanged += OnPhase;
|
||||||
|
GameEvents.DamageDealt += OnDamage;
|
||||||
|
GameEvents.CardPlayed += OnCard;
|
||||||
|
Application.logMessageReceived += OnRuntimeLog;
|
||||||
|
Begin();
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool Tick()
|
||||||
|
{
|
||||||
|
if (_writeComplete) return true;
|
||||||
|
if (_runtimeError != null) throw new InvalidOperationException("Runtime error during balance comparison: " + _runtimeError);
|
||||||
|
if (_roundCapReached) { Complete("round-cap"); return false; }
|
||||||
|
if (EditorApplication.timeSinceStartup - _lastProgress > 60)
|
||||||
|
throw new TimeoutException($"Combat stalled: {_current.scenario}, seed {_current.seed}, phase {_combat.CurrentPhase}.");
|
||||||
|
|
||||||
|
// Replace only the absent presentation acknowledgment, never the death logic.
|
||||||
|
foreach (var enemy in _combat.Enemies.ToArray())
|
||||||
|
{
|
||||||
|
if (!enemy.State.IsDefeated || enemy.PendingRevive) continue;
|
||||||
|
_combat.QueueDefeatedCombatantForRemoval(enemy.State);
|
||||||
|
GameEvents.RaiseCombatantDeathVisualCompleted(new CombatantDeathVisualCompletedEvent(enemy.State));
|
||||||
|
}
|
||||||
|
if (_combat.RunLost) { Complete("defeat"); return false; }
|
||||||
|
if (_combat.AwaitingWaveContinue)
|
||||||
|
{
|
||||||
|
if (_run.WavesCleared >= _report.options.maxWaves) { Complete("wave-cap"); return false; }
|
||||||
|
if (_current.rounds >= _report.options.maxRounds) { Complete("round-cap"); return false; }
|
||||||
|
VisitRepository();
|
||||||
|
if (_run.CampaignChoicePending) _combat.ContinueEndless();
|
||||||
|
else _combat.ContinueToNextWave();
|
||||||
|
Progress();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!_combat.CanSurrenderRun) return false;
|
||||||
|
int targetIndex = FindTarget();
|
||||||
|
if (targetIndex >= 0) _combat.SelectEnemy(targetIndex);
|
||||||
|
CardInstance chosen = null;
|
||||||
|
double best = double.NegativeInfinity;
|
||||||
|
var target = targetIndex >= 0 ? _combat.Enemies[targetIndex].State : null;
|
||||||
|
foreach (var card in _combat.HandController.Cards)
|
||||||
|
{
|
||||||
|
if (card.Definition == null || card.Definition.IsToken || card.IsBroken || card.IsLocked
|
||||||
|
|| _combat.GetDisplayedPlayCost(card) > _combat.PlayerState.Cycles) continue;
|
||||||
|
var preview = CardPreviewService.Build(_combat, card, target);
|
||||||
|
double damage = (preview.MinimumDamage + (double)preview.MaximumDamage) / 2;
|
||||||
|
double score = (damage + preview.Shield * 0.7 + preview.Heal * 1.5 + preview.Repairs * 3 + 1) / (preview.Cost + 1);
|
||||||
|
if (score <= best) continue;
|
||||||
|
best = score;
|
||||||
|
chosen = card;
|
||||||
|
}
|
||||||
|
if (chosen != null && _combat.CardsPlayedThisRound < 64 && _combat.PlayCard(chosen)) { Progress(); return false; }
|
||||||
|
if (_report.options.prefetch && _combat.CardsPlayedThisRound < 64 && _combat.TryPrefetch())
|
||||||
|
{
|
||||||
|
_current.prefetches++;
|
||||||
|
_trace.Append("prefetch;");
|
||||||
|
Progress(); return false;
|
||||||
|
}
|
||||||
|
int usableCards = _combat.HandController.Cards.Count(card => card?.Definition != null
|
||||||
|
&& !card.Definition.IsToken && !card.IsBroken && !card.IsLocked);
|
||||||
|
RecordTurnEnd(_current, _combat.PlayerState.Cycles, _combat.HandController.Cards.Count, usableCards, _combat.CardsPlayedThisRound >= 64);
|
||||||
|
_trace.Append("end:").Append(_combat.PlayerState.Cycles).Append(':').Append(_combat.HandController.Cards.Count).Append(':').Append(usableCards).Append(';');
|
||||||
|
_combat.EndPlayerTurn();
|
||||||
|
Progress();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void VisitRepository()
|
||||||
|
{
|
||||||
|
_run.GenerateRepositoryOffers(_cards, _languages);
|
||||||
|
if (_run.BuildRewardPending) _run.ClaimBuildReward(null, CardUpgradeKind.MagnitudeUp, true);
|
||||||
|
_run.SelectRoute(_report.options.route);
|
||||||
|
_current.repositoryVisits++;
|
||||||
|
if (!_report.scenarios[_scenarioIndex].shop) return;
|
||||||
|
// The real market and public purchase method determine affordability,
|
||||||
|
// upgrades, deck growth and resource changes. No injected currency.
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
var chosen = _run.RepositoryOffers.Where(offer => !offer.Sold && offer.Price <= _run.Bits)
|
||||||
|
.Select(offer => new { Offer = offer, Priority = RepositoryPriority(offer, _combat.PlayerState) })
|
||||||
|
.Where(item => item.Priority > 0).OrderByDescending(item => item.Priority).FirstOrDefault();
|
||||||
|
if (chosen == null) break;
|
||||||
|
var offer = chosen.Offer;
|
||||||
|
if (!_run.BuyOffer(offer, _combat.PlayerState))
|
||||||
|
throw new InvalidOperationException($"Affordable repository offer rejected: {offer.DisplayName}.");
|
||||||
|
_current.offersPurchased++;
|
||||||
|
_current.bitsSpent += offer.Price;
|
||||||
|
if (offer.Kind == RepositoryOfferKind.CardUpgrade && offer.CardUpgradeKind == CardUpgradeKind.DrawRider)
|
||||||
|
_current.drawRidersPurchased++;
|
||||||
|
_trace.Append("buy:").Append(offer.Kind).Append(':').Append(offer.CommandName).Append(':')
|
||||||
|
.Append(offer.CardUpgradeKind).Append(':').Append(offer.StatUpgradeKind).Append(':').Append(offer.Price).Append(';');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private int FindTarget()
|
||||||
|
{
|
||||||
|
int chosen = -1;
|
||||||
|
for (int i = 0; i < _combat.Enemies.Count; i++)
|
||||||
|
{
|
||||||
|
var enemy = _combat.Enemies[i];
|
||||||
|
if (enemy.State.IsDefeated) continue;
|
||||||
|
if (chosen < 0 || enemy.State.CurrentUptime < _combat.Enemies[chosen].State.CurrentUptime) chosen = i;
|
||||||
|
}
|
||||||
|
return chosen;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Begin()
|
||||||
|
{
|
||||||
|
var scenario = _report.scenarios[_scenarioIndex];
|
||||||
|
var distro = _distros.FindById(scenario.distroId);
|
||||||
|
var deck = BuildDeck(distro, _languages, scenario);
|
||||||
|
var equipment = scenario.packages.Select(id => new PackageInstance(_packages.FindById(id)
|
||||||
|
?? throw new InvalidOperationException($"Missing package {id}"), scenario.packageLevel)).ToArray();
|
||||||
|
int seed = _report.options.seeds[_seedIndex];
|
||||||
|
_current = new RunResult { scenario = scenario.Label, seed = seed, startingDeck = deck.Select(card => card.Id).ToArray() };
|
||||||
|
_trace.Clear();
|
||||||
|
_roundCapReached = false;
|
||||||
|
_owner = new GameObject("Isolated balance comparison");
|
||||||
|
_run = _owner.AddComponent<RunManager>();
|
||||||
|
_combat = _owner.AddComponent<CombatManager>();
|
||||||
|
_combat.SetGeneratedCardPool(_cards.AllCards);
|
||||||
|
_combat.CombatLog += OnLog;
|
||||||
|
var config = new RunConfig(distro, scenario.primary, scenario.secondary, deck, equipment, seed, scenario.version);
|
||||||
|
_run.StartRun(config);
|
||||||
|
_combat.StartCombat(config);
|
||||||
|
Progress();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Complete(string reason)
|
||||||
|
{
|
||||||
|
_current.stopReason = reason;
|
||||||
|
_current.wavesCleared = _run.WavesCleared;
|
||||||
|
_current.uptimeRemaining = _roundCapReached ? _roundCapUptime : _combat.PlayerState.CurrentUptime;
|
||||||
|
_current.maxUptime = _combat.PlayerState.MaxUptime;
|
||||||
|
using (var hash = SHA256.Create())
|
||||||
|
_current.traceHash = BitConverter.ToString(hash.ComputeHash(Encoding.UTF8.GetBytes(_trace.ToString()))).Replace("-", "").ToLowerInvariant();
|
||||||
|
DestroyRun();
|
||||||
|
if (_repeatOf != null)
|
||||||
|
{
|
||||||
|
if (JsonUtility.ToJson(_repeatOf) != JsonUtility.ToJson(_current))
|
||||||
|
throw new InvalidOperationException($"Non-reproducible combat: {_current.scenario}, seed {_current.seed}. First {_repeatOf.traceHash}, repeat {_current.traceHash}.");
|
||||||
|
_repeatOf.repeatVerified = true;
|
||||||
|
_repeatOf = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_report.runs.Add(_current);
|
||||||
|
Debug.Log($"Balance: {_current.scenario}, seed {_current.seed}: {reason}, {_current.wavesCleared} waves, {_current.rounds} rounds, {_current.enemyUptimeDamage} uptime damage.");
|
||||||
|
if (_seedIndex == 0) { _repeatOf = _current; Begin(); return; }
|
||||||
|
}
|
||||||
|
if (++_seedIndex >= _report.options.seeds.Length) { _seedIndex = 0; _scenarioIndex++; }
|
||||||
|
if (_scenarioIndex < _report.scenarios.Count) { Begin(); return; }
|
||||||
|
Directory.CreateDirectory(_report.options.outputDirectory);
|
||||||
|
File.WriteAllText(Path.Combine(_report.options.outputDirectory, "balance-comparison.json"), JsonUtility.ToJson(_report, true), new UTF8Encoding(false));
|
||||||
|
File.WriteAllText(Path.Combine(_report.options.outputDirectory, "balance-comparison.md"), ToMarkdown(_report), new UTF8Encoding(false));
|
||||||
|
Debug.Log($"Balance comparison complete: {_report.runs.Count} measured runs, {_report.scenarios.Count} verified repeats. {_report.options.outputDirectory}");
|
||||||
|
_writeComplete = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnPhase(PhaseChangedEvent payload)
|
||||||
|
{
|
||||||
|
if (_current == null || _roundCapReached) return;
|
||||||
|
// Capture the completed final round before the next allocation's status/draw
|
||||||
|
// effects. The next editor update disposes the rig; ignore that allocation.
|
||||||
|
if (payload.NextPhase == TurnPhase.Allocate && _current.rounds >= _report.options.maxRounds)
|
||||||
|
{
|
||||||
|
_roundCapUptime = _combat.PlayerState.CurrentUptime;
|
||||||
|
_roundCapReached = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (payload.NextPhase == TurnPhase.Execute) _current.rounds++;
|
||||||
|
_trace.Append("phase:").Append(payload.NextPhase).Append(';');
|
||||||
|
Progress();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDamage(DamageDealtEvent payload)
|
||||||
|
{
|
||||||
|
if (_combat?.PlayerState == null || _roundCapReached) return;
|
||||||
|
if (payload.Target == _combat.PlayerState) _current.playerUptimeDamage += payload.UptimeDamage;
|
||||||
|
else if (_combat.Enemies.Any(enemy => enemy.State == payload.Target))
|
||||||
|
{
|
||||||
|
_current.enemyUptimeDamage += payload.UptimeDamage;
|
||||||
|
_current.enemyShieldDamage += payload.ShieldDamage;
|
||||||
|
}
|
||||||
|
_trace.Append("damage:").Append(payload.Target == _combat.PlayerState ? "player" : "enemy")
|
||||||
|
.Append(':').Append(payload.UptimeDamage).Append(':').Append(payload.ShieldDamage).Append(':').Append(payload.WasCritical).Append(';');
|
||||||
|
Progress();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnCard(CardPlayedEvent payload)
|
||||||
|
{
|
||||||
|
_current.cardsPlayed++;
|
||||||
|
_trace.Append("play:").Append(payload.Card.Definition.Id).Append(':').Append(_combat.SelectedEnemyIndex).Append(';');
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnLog(string message)
|
||||||
|
{
|
||||||
|
if (!_roundCapReached) _trace.Append(message).Append('\n');
|
||||||
|
}
|
||||||
|
private void Progress() => _lastProgress = EditorApplication.timeSinceStartup;
|
||||||
|
|
||||||
|
private void OnRuntimeLog(string message, string stackTrace, LogType type)
|
||||||
|
{
|
||||||
|
if (IsKnownSearchStartupException(message, stackTrace, type))
|
||||||
|
{
|
||||||
|
_report.editorDiagnostics.Add(new EditorDiagnostic { message = message, stackTrace = stackTrace });
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (type == LogType.Error || type == LogType.Exception || type == LogType.Assert)
|
||||||
|
_runtimeError ??= message + "\n" + stackTrace;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DestroyRun()
|
||||||
|
{
|
||||||
|
if (_combat != null) _combat.CombatLog -= OnLog;
|
||||||
|
if (_owner != null) UnityEngine.Object.DestroyImmediate(_owner);
|
||||||
|
_owner = null;
|
||||||
|
_run = null;
|
||||||
|
_combat = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
GameEvents.PhaseChanged -= OnPhase;
|
||||||
|
GameEvents.DamageDealt -= OnDamage;
|
||||||
|
GameEvents.CardPlayed -= OnCard;
|
||||||
|
Application.logMessageReceived -= OnRuntimeLog;
|
||||||
|
DestroyRun();
|
||||||
|
UIPreferences.ReducedMotion = _previousMotion;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static T Asset<T>(string path) where T : UnityEngine.Object =>
|
||||||
|
AssetDatabase.LoadAssetAtPath<T>(path) ?? throw new InvalidOperationException($"Missing asset: {path}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0e218cf180234b1da6b00d50609f71fb
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "KernelPanic.Editor",
|
||||||
|
"references": ["KernelPanic.Runtime"],
|
||||||
|
"includePlatforms": ["Editor"],
|
||||||
|
"autoReferenced": true
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fd39d6624e2a459fb5d8534191204b75
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEditor.Build.Reporting;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace KernelPanic.Editor
|
||||||
|
{
|
||||||
|
public static class PlayerBuild
|
||||||
|
{
|
||||||
|
public static void BuildWindows()
|
||||||
|
{
|
||||||
|
string[] args = Environment.GetCommandLineArgs();
|
||||||
|
int index = Array.IndexOf(args, "-kernelPanicBuildPath");
|
||||||
|
string path = index >= 0 && index + 1 < args.Length ? args[index + 1] : "Builds/Windows/KernelPanic.exe";
|
||||||
|
Directory.CreateDirectory(Path.GetDirectoryName(Path.GetFullPath(path)));
|
||||||
|
BuildReport report = BuildPipeline.BuildPlayer(new BuildPlayerOptions
|
||||||
|
{
|
||||||
|
scenes = EditorBuildSettings.scenes.Where(scene => scene.enabled).Select(scene => scene.path).ToArray(),
|
||||||
|
locationPathName = path,
|
||||||
|
target = BuildTarget.StandaloneWindows64,
|
||||||
|
options = BuildOptions.Development
|
||||||
|
});
|
||||||
|
Debug.Log($"Kernel Panic player build: {report.summary.result}; errors={report.summary.totalErrors}; bytes={report.summary.totalSize}");
|
||||||
|
if (report.summary.result != BuildResult.Succeeded) throw new InvalidOperationException("Standalone player build failed.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8bfa44a3183c4c4b882b91dc1e9bbf78
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5565c482408441089759502ac4bdd86f
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,166 @@
|
|||||||
|
using System;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.Linq;
|
||||||
|
using KernelPanic.Combat;
|
||||||
|
using KernelPanic.Core;
|
||||||
|
using KernelPanic.Data;
|
||||||
|
using KernelPanic.Editor;
|
||||||
|
using KernelPanic.Run;
|
||||||
|
using NUnit.Framework;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class BalanceComparisonTests
|
||||||
|
{
|
||||||
|
private const string SearchStartupStack =
|
||||||
|
"System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <engine>:0)\n"
|
||||||
|
+ "UnityEditor.Search.SearchDatabase+<EnumerateAll>d__80.MoveNext () (at <engine>:0)\n"
|
||||||
|
+ "System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) (at <engine>:0)\n"
|
||||||
|
+ "System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <engine>:0)\n"
|
||||||
|
+ "UnityEditor.Search.SearchDatabase.GetDefaultSearchDatabase () (at <engine>:0)\n"
|
||||||
|
+ "UnityEditor.Search.SearchInit.IndexationOnStartup () (at <engine>:0)\n"
|
||||||
|
+ "UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <engine>:0)";
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void OnlyExactEditorSearchStartupFailureIsRecordedSeparately()
|
||||||
|
{
|
||||||
|
const string message = "ArgumentOutOfRangeException: Index was out of range.";
|
||||||
|
Assert.That(BalanceComparison.IsKnownSearchStartupException(message, SearchStartupStack, LogType.Exception), Is.True);
|
||||||
|
Assert.That(BalanceComparison.IsKnownSearchStartupException(message, SearchStartupStack + "\nKernelPanic.Combat.CombatManager.PlayCard () (at Assets/Scripts/Combat/CombatManager.cs:1)", LogType.Exception), Is.False);
|
||||||
|
Assert.That(BalanceComparison.IsKnownSearchStartupException(message, SearchStartupStack + "\nUnrelated.Plugin.Callback () (at unknown:1)", LogType.Exception), Is.False);
|
||||||
|
Assert.That(BalanceComparison.IsKnownSearchStartupException(message, SearchStartupStack.Replace("SearchInit.IndexationOnStartup", "SearchInit.UserSearch"), LogType.Exception), Is.False);
|
||||||
|
Assert.That(BalanceComparison.IsKnownSearchStartupException(message, SearchStartupStack, LogType.Error), Is.False);
|
||||||
|
Assert.That(BalanceComparison.IsKnownSearchStartupException("NullReferenceException: broken game", SearchStartupStack, LogType.Exception), Is.False);
|
||||||
|
Assert.That(BalanceComparison.IsKnownSearchStartupException(message, null, LogType.Exception), Is.False);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void MatrixBuildsAuthoredDecksAndIncludesGentooDnfControls()
|
||||||
|
{
|
||||||
|
var distros = AssetDatabase.LoadAssetAtPath<DistroDatabase>("Assets/Data/Distros/DistroDatabase.asset");
|
||||||
|
var languages = AssetDatabase.LoadAssetAtPath<LanguageDeckDatabase>("Assets/Data/Cards/Languages/LanguageDeckDatabase.asset");
|
||||||
|
var packages = AssetDatabase.LoadAssetAtPath<PackageDatabase>("Assets/Data/Packages/PackageDatabase.asset");
|
||||||
|
var scenarios = BalanceComparison.CreateScenarios(distros);
|
||||||
|
Assert.That(scenarios.Count, Is.EqualTo(56));
|
||||||
|
Assert.That(scenarios.Select(s => s.Label).Distinct().Count(), Is.EqualTo(scenarios.Count));
|
||||||
|
foreach (var scenario in scenarios)
|
||||||
|
{
|
||||||
|
var distro = distros.FindById(scenario.distroId);
|
||||||
|
var deck = BalanceComparison.BuildDeck(distro, languages, scenario);
|
||||||
|
int starterCount = languages.FindByLanguage(scenario.primary).Entries.Sum(entry => entry.Count)
|
||||||
|
+ languages.FindByLanguage(scenario.secondary).Entries.Sum(entry => entry.Count);
|
||||||
|
Assert.That(deck.Count, Is.EqualTo(4 + starterCount), scenario.Label);
|
||||||
|
Assert.That(deck.Take(4), Is.EqualTo(distro.ExclusiveCards.Take(4)), scenario.Label);
|
||||||
|
Assert.That(deck.All(card => card != null && !card.IsRunOnly), Is.True, scenario.Label);
|
||||||
|
foreach (string package in scenario.packages) Assert.That(packages.FindById(package), Is.Not.Null);
|
||||||
|
}
|
||||||
|
foreach (int version in new[] { 1, 5 })
|
||||||
|
{
|
||||||
|
Assert.That(scenarios.Any(s => s.distroId == "gentoo" && s.version == version
|
||||||
|
&& s.primary == Language.Haskell && s.secondary == Language.C && s.packages.Length == 0), Is.True);
|
||||||
|
Assert.That(scenarios.Any(s => s.distroId == "gentoo" && s.version == version
|
||||||
|
&& s.primary == Language.Haskell && s.secondary == Language.C && s.packages.SequenceEqual(new[] { "pkg_fedora_dnf" })), Is.True);
|
||||||
|
}
|
||||||
|
Assert.That(scenarios.Where(s => s.packages.Length == 0).All(s => s.packageLevel == 0), Is.True);
|
||||||
|
foreach (bool shop in new[] { false, true })
|
||||||
|
foreach (int level in new[] { 0, 5 })
|
||||||
|
Assert.That(scenarios.Any(s => s.shop == shop && s.packageLevel == level && s.packages.Contains("pkg_fedora_dnf")), Is.True);
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestCase("-balanceWaves", "0")]
|
||||||
|
[TestCase("-balanceRounds", "1001")]
|
||||||
|
[TestCase("-balanceSeeds", "invalid")]
|
||||||
|
[TestCase("-balanceSeedCount", "0")]
|
||||||
|
[TestCase("-balanceSeedCount", "1001")]
|
||||||
|
[TestCase("-balancePackageLevels", "-1")]
|
||||||
|
[TestCase("-balancePackageLevels", "6")]
|
||||||
|
[TestCase("-balanceShop", "random")]
|
||||||
|
public void InvalidOptionsFailBeforeStartingPlayMode(string option, string value) =>
|
||||||
|
Assert.That(() => BalanceComparison.Options.Parse(new[] { option, value }), Throws.Exception);
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void OptionsPreserveSignedSeedAndDeduplicateSample()
|
||||||
|
{
|
||||||
|
var options = BalanceComparison.Options.Parse(new[] { "-balanceSeeds", "17,-3,17", "-balanceWaves", "2", "-balanceRounds", "6" });
|
||||||
|
Assert.That(options.seeds, Is.EqualTo(new[] { 17, -3 }));
|
||||||
|
Assert.That(options.maxWaves, Is.EqualTo(2));
|
||||||
|
Assert.That(options.maxRounds, Is.EqualTo(6));
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void DefaultSampleIsStableAndExpandedWithExplicitSmallerControls()
|
||||||
|
{
|
||||||
|
var defaults = BalanceComparison.Options.Parse(Array.Empty<string>());
|
||||||
|
Assert.That(defaults.seeds.Length, Is.EqualTo(30));
|
||||||
|
Assert.That(defaults.seeds.Distinct().Count(), Is.EqualTo(30));
|
||||||
|
Assert.That(defaults.seeds.Take(3), Is.EqualTo(new[] { 17, 101, 2027 }));
|
||||||
|
Assert.That(defaults.maxWaves, Is.EqualTo(10));
|
||||||
|
Assert.That(defaults.maxRounds, Is.EqualTo(100));
|
||||||
|
Assert.That(defaults.packageLevels, Is.EqualTo(new[] { 0, 5 }));
|
||||||
|
Assert.That(defaults.shoppingPolicies, Is.EqualTo(new[] { false, true }));
|
||||||
|
var shortRun = BalanceComparison.Options.Parse(new[] { "-balanceSeedCount", "3", "-balancePackageLevels", "5,5", "-balanceShop", "none" });
|
||||||
|
Assert.That(shortRun.seeds, Is.EqualTo(new[] { 17, 101, 2027 }));
|
||||||
|
Assert.That(shortRun.packageLevels, Is.EqualTo(new[] { 5 }));
|
||||||
|
Assert.That(shortRun.shoppingPolicies, Is.EqualTo(new[] { false }));
|
||||||
|
var distros = AssetDatabase.LoadAssetAtPath<DistroDatabase>("Assets/Data/Distros/DistroDatabase.asset");
|
||||||
|
Assert.That(BalanceComparison.CreateScenarios(distros, shortRun).Count, Is.EqualTo(18));
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void ResourceCountersSeparateEmptyBlockedAndUnaffordableHands()
|
||||||
|
{
|
||||||
|
var result = new BalanceComparison.RunResult();
|
||||||
|
BalanceComparison.RecordTurnEnd(result, 4, 0, 0, false); // no cards, surplus resources
|
||||||
|
BalanceComparison.RecordTurnEnd(result, 2, 3, 0, false); // only tokens/locked/broken cards
|
||||||
|
BalanceComparison.RecordTurnEnd(result, 1, 2, 2, false); // ordinary cards cost too much
|
||||||
|
BalanceComparison.RecordTurnEnd(result, 0, 0, 0, false); // spent all resources
|
||||||
|
BalanceComparison.RecordTurnEnd(result, -1, 1, 1, true); // cap is reported independently
|
||||||
|
Assert.That(result.turnsEnded, Is.EqualTo(5));
|
||||||
|
Assert.That(result.unusedCycles, Is.EqualTo(7));
|
||||||
|
Assert.That(result.turnsWithUnusedCycles, Is.EqualTo(3));
|
||||||
|
Assert.That(result.emptyHandTurns, Is.EqualTo(2));
|
||||||
|
Assert.That(result.emptyHandWithUnusedCyclesTurns, Is.EqualTo(1));
|
||||||
|
Assert.That(result.noUsableCardsWithUnusedCyclesTurns, Is.EqualTo(2));
|
||||||
|
Assert.That(result.turnPlayCapHits, Is.EqualTo(1));
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void RepositoryPolicyPrefersUsefulHealingThenDrawUpgradesAndSkipsSoldOffers()
|
||||||
|
{
|
||||||
|
var player = new CombatantState(100, 5, 3) { CurrentUptime = 40 };
|
||||||
|
var heal = RepositoryOffer.StatUpgrade(RunStatUpgradeKind.Heal, 3);
|
||||||
|
var draw = RepositoryOffer.CardUpgrade(null, CardUpgradeKind.DrawRider, 3);
|
||||||
|
var magnitude = RepositoryOffer.CardUpgrade(null, CardUpgradeKind.MagnitudeUp, 3);
|
||||||
|
Assert.That(BalanceComparison.RepositoryPriority(heal, player), Is.GreaterThan(BalanceComparison.RepositoryPriority(draw, player)));
|
||||||
|
Assert.That(BalanceComparison.RepositoryPriority(draw, player), Is.GreaterThan(BalanceComparison.RepositoryPriority(magnitude, player)));
|
||||||
|
player.CurrentUptime = 100;
|
||||||
|
Assert.That(BalanceComparison.RepositoryPriority(heal, player), Is.Zero);
|
||||||
|
draw.MarkSold();
|
||||||
|
Assert.That(BalanceComparison.RepositoryPriority(draw, player), Is.Zero);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void ReportUsesWeightedObservedDamageAndDistinguishesCensoredSurvival()
|
||||||
|
{
|
||||||
|
var report = new BalanceComparison.Report { options = new BalanceComparison.Options() };
|
||||||
|
report.runs.Add(new BalanceComparison.RunResult { scenario = "control", rounds = 2, enemyUptimeDamage = 10, wavesCleared = 1, stopReason = "defeat", turnsEnded = 1, unusedCycles = 2, emptyHandTurns = 1, emptyHandWithUnusedCyclesTurns = 1, noUsableCardsWithUnusedCyclesTurns = 1, cardsPlayed = 3 });
|
||||||
|
report.runs.Add(new BalanceComparison.RunResult { scenario = "control", rounds = 8, enemyUptimeDamage = 20, wavesCleared = 3, stopReason = "round-cap", repeatVerified = true, turnsEnded = 4, unusedCycles = 3, cardsPlayed = 7, offersPurchased = 2, drawRidersPurchased = 1, bitsSpent = 6 });
|
||||||
|
report.editorDiagnostics.Add(new BalanceComparison.EditorDiagnostic { message = "Search startup diagnostic", stackTrace = SearchStartupStack });
|
||||||
|
var oldCulture = CultureInfo.CurrentCulture;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
CultureInfo.CurrentCulture = CultureInfo.GetCultureInfo("de-CH");
|
||||||
|
string markdown = BalanceComparison.ToMarkdown(report);
|
||||||
|
StringAssert.Contains("| control | 2 | 3.00 | 5.00 | 2.00 | 0 | 1 | 1 | 1 |", markdown);
|
||||||
|
StringAssert.Contains("| control | 5 | 1.00 | 20.0 | 20.0 | 20.0 | 1.00 | 1.00 | 0.50 | 3.00 | 0 |", markdown);
|
||||||
|
StringAssert.Contains("1 known Unity SearchDatabase startup exception(s)", markdown);
|
||||||
|
var decoded = JsonUtility.FromJson<BalanceComparison.Report>(JsonUtility.ToJson(report));
|
||||||
|
Assert.That(decoded.runs[1].enemyUptimeDamage, Is.EqualTo(20));
|
||||||
|
Assert.That(decoded.runs[1].stopReason, Is.EqualTo("round-cap"));
|
||||||
|
Assert.That(decoded.runs[1].unusedCycles, Is.EqualTo(3));
|
||||||
|
Assert.That(decoded.runs[1].offersPurchased, Is.EqualTo(2));
|
||||||
|
Assert.That(decoded.editorDiagnostics[0].stackTrace, Is.EqualTo(SearchStartupStack));
|
||||||
|
}
|
||||||
|
finally { CultureInfo.CurrentCulture = oldCulture; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f2d71487db0e41dc99ad1562eeebc467
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"name": "KernelPanic.Editor.Tests",
|
||||||
|
"references": ["KernelPanic.Runtime", "KernelPanic.Editor", "UnityEngine.TestRunner", "UnityEditor.TestRunner"],
|
||||||
|
"includePlatforms": ["Editor"],
|
||||||
|
"overrideReferences": true,
|
||||||
|
"precompiledReferences": ["nunit.framework.dll"],
|
||||||
|
"autoReferenced": false,
|
||||||
|
"defineConstraints": ["UNITY_INCLUDE_TESTS"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 16c6bd57f9ed458c9f1cf3e21049ddcf
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2bcd2660ca9b64942af0de543d8d7100
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e9c67aa99a5854f4f9d58ccc64ed036c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e818af1757cfcba4683b32cf79807d53
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -2113,8 +2113,12 @@
|
|||||||
}
|
}
|
||||||
.guide-header { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
|
.guide-header { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
|
||||||
.guide-title { color: var(--kp-beneficial); -unity-font-style: bold; font-size: var(--type-meta); white-space: normal; max-width: 100%; }
|
.guide-title { color: var(--kp-beneficial); -unity-font-style: bold; font-size: var(--type-meta); white-space: normal; max-width: 100%; }
|
||||||
.guide-copy { white-space: normal; margin-top: 4px; font-size: var(--type-meta); }
|
.first-battle-guide .guide-copy { white-space: normal; margin-top: 4px; font-size: var(--type-meta); }
|
||||||
.guide-actions { flex-direction: row; flex-wrap: wrap; }
|
.guide-actions { flex-direction: row; flex-wrap: wrap; }
|
||||||
|
.guide-resources { flex-direction: row; flex-wrap: wrap; margin-top: 4px; }
|
||||||
|
.first-battle-guide .guide-resource { flex-basis: 120px; flex-shrink: 0; white-space: normal; max-width: 100%; font-size: var(--type-meta); background-color: var(--kp-bg-deep); padding: 4px 8px; margin: 2px 6px 2px 0; }
|
||||||
|
.guide-track { border-left-width: 2px; border-left-color: var(--kp-beneficial); padding-left: 8px; margin: 4px 0; }
|
||||||
|
.first-battle-guide > Foldout { margin-top: 4px; font-size: var(--type-meta); }
|
||||||
.first-battle-guide Button, .battle-guide-toggle {
|
.first-battle-guide Button, .battle-guide-toggle {
|
||||||
background-color: rgb(19, 35, 31);
|
background-color: rgb(19, 35, 31);
|
||||||
color: var(--kp-beneficial);
|
color: var(--kp-beneficial);
|
||||||
@@ -2128,6 +2132,10 @@
|
|||||||
.battle-guide-toggle { min-height: 0; margin: 0; padding: 0 5px; }
|
.battle-guide-toggle { min-height: 0; margin: 0; padding: 0 5px; }
|
||||||
.turn-panel .panel-header { flex-wrap: wrap; }
|
.turn-panel .panel-header { flex-wrap: wrap; }
|
||||||
.turn-resource-grid { flex-shrink: 0; }
|
.turn-resource-grid { flex-shrink: 0; }
|
||||||
|
.hand-panel .panel-header { flex-wrap: wrap; }
|
||||||
|
.kernel-ui .prefetch-action { min-height: 40px; height: auto; flex-shrink: 0; max-width: 100%; margin: 2px 0; padding: 2px 6px; white-space: normal; font-size: var(--type-meta); color: var(--kp-beneficial); background-color: var(--kp-bg-deep); border-width: 1px; border-color: var(--kp-border-strong); }
|
||||||
|
.reward-target-navigation { flex-direction: row; }
|
||||||
|
.reward-target-navigation > Button { flex-grow: 1; flex-basis: 0; min-width: 0; }
|
||||||
.run-route-section { margin-bottom: 14px; padding: 12px; border-top-width: 1px; border-top-color: rgb(91, 142, 118); }
|
.run-route-section { margin-bottom: 14px; padding: 12px; border-top-width: 1px; border-top-color: rgb(91, 142, 118); }
|
||||||
.route-choices { flex-direction: row; flex-wrap: wrap; }
|
.route-choices { flex-direction: row; flex-wrap: wrap; }
|
||||||
.route-choice { flex-grow: 1; flex-basis: 240px; min-width: 0; padding: 8px; margin: 4px; border-left-width: 2px; border-left-color: rgb(60, 70, 66); }
|
.route-choice { flex-grow: 1; flex-basis: 240px; min-width: 0; padding: 8px; margin: 4px; border-left-width: 2px; border-left-color: rgb(60, 70, 66); }
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2c42293ab078c3d4d967e3be1d1cbdfe
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
disableValidation: 0
|
||||||
|
unsupportedSelectorAction: 0
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e7e8fbf924a9472bb7b1831846f66e11
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b73ddac91da44a8fb6ba634517d01004
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f0374754e01d4ef18cde93f46713df95
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2af10adf58544cf87be7bbfbe56fc89
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3fa2a39e829a4a0d99523fdcbe1b626f
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
disableValidation: 0
|
||||||
|
unsupportedSelectorAction: 0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 109e9bdd0fcc649c5bc59085c35bdc83
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e9acb3a424fb6f8bfada39dfd8292a93
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d10c95dab567850aaad42c0c5c999dde
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e4259fa62d854e27af3cc2a10fb210c8
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8c9cfa26abfee488c85f1582747f6a02
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c51fb03ac0aab7a4aa1e2b0a87f051a9
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 59b9870361cbdec4b9419c57a3ff71df
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -167,7 +167,7 @@ namespace KernelPanic.Combat
|
|||||||
private const CardTargeting None = CardTargeting.None;
|
private const CardTargeting None = CardTargeting.None;
|
||||||
private const CardTargeting Single = CardTargeting.SingleEnemy;
|
private const CardTargeting Single = CardTargeting.SingleEnemy;
|
||||||
private const CardTargeting All = CardTargeting.AllEnemies;
|
private const CardTargeting All = CardTargeting.AllEnemies;
|
||||||
private const string CRecoil = " overkill spills. 25%: segfault, uptime -3 and corrupt a hand card.";
|
private const string CRecoil = " 50% of overkill spills per jump (rounded down). 25%: segfault, uptime -3 and corrupt a hand card.";
|
||||||
private const string Jit = " overkill spills. JIT applies; discount decays by 1 after each wave.";
|
private const string Jit = " overkill spills. JIT applies; discount decays by 1 after each wave.";
|
||||||
private static readonly IReadOnlyDictionary<string, CardCatalogEntry> ById;
|
private static readonly IReadOnlyDictionary<string, CardCatalogEntry> ById;
|
||||||
public static IReadOnlyList<CardCatalogEntry> Entries { get; }
|
public static IReadOnlyList<CardCatalogEntry> Entries { get; }
|
||||||
@@ -182,7 +182,7 @@ namespace KernelPanic.Combat
|
|||||||
Add("gentoo_ebuild", Single, false, "stack: deal {amount:0}.", Damage(4, Language.Haskell));
|
Add("gentoo_ebuild", Single, false, "stack: deal {amount:0}.", Damage(4, Language.Haskell));
|
||||||
Add("gentoo_use_flags", None, false, "gain {shield:0} Shield. if Compilation >= {rawSecondary:1}, draw {amount:1}.",
|
Add("gentoo_use_flags", None, false, "gain {shield:0} Shield. if Compilation >= {rawSecondary:1}, draw {amount:1}.",
|
||||||
Shield(4), Fx(CardEffectKind.CompilationDraw, CompilationDrawEffect.DrawCount, secondary: CompilationDrawEffect.RequiredCompilation));
|
Shield(4), Fx(CardEffectKind.CompilationDraw, CompilationDrawEffect.DrawCount, secondary: CompilationDrawEffect.RequiredCompilation));
|
||||||
Add("gentoo_make_j4", Single, true, "deal {amount:0}; {secondary:0} if Compilation >= {rawMax:0}. one C hit; overkill spills; 25%: segfault, uptime -3 and corrupt a hand card.",
|
Add("gentoo_make_j4", Single, true, "deal {amount:0}; {secondary:0} if Compilation >= {rawMax:0}. one C hit; 50% of overkill spills per jump (rounded down); 25%: segfault, uptime -3 and corrupt a hand card.",
|
||||||
Fx(CardEffectKind.MakeJ4, MakeJ4Effect.BaseDamage, MakeJ4Effect.RequiredCompilation, MakeJ4Effect.CompiledDamage, Language.C));
|
Fx(CardEffectKind.MakeJ4, MakeJ4Effect.BaseDamage, MakeJ4Effect.RequiredCompilation, MakeJ4Effect.CompiledDamage, Language.C));
|
||||||
Add("gentoo_emerge_world", All, false, "stack: deal {amount:0} to all living enemies. gain {shield:1} Shield.", Damage(3, Language.Haskell, all: true), Shield(2));
|
Add("gentoo_emerge_world", All, false, "stack: deal {amount:0} to all living enemies. gain {shield:1} Shield.", Damage(3, Language.Haskell, all: true), Shield(2));
|
||||||
Add("lang_hs_map", Single, false, "stack: deal {amount:0}.", Damage(2, Language.Haskell));
|
Add("lang_hs_map", Single, false, "stack: deal {amount:0}.", Damage(2, Language.Haskell));
|
||||||
@@ -250,10 +250,10 @@ namespace KernelPanic.Combat
|
|||||||
Add("arch_aur_helper", None, false, "add a random C/Rust common card to hand; it costs 0 this turn.", Fx(CardEffectKind.RandomCommonLanguageCard));
|
Add("arch_aur_helper", None, false, "add a random C/Rust common card to hand; it costs 0 this turn.", Fx(CardEffectKind.RandomCommonLanguageCard));
|
||||||
Add("arch_minimal_install", None, false, "exhaust up to {raw:0} hand cards. per card: gain {rawSecondary:0} Shield and {rawMax:0} Cycle.",
|
Add("arch_minimal_install", None, false, "exhaust up to {raw:0} hand cards. per card: gain {rawSecondary:0} Shield and {rawMax:0} Cycle.",
|
||||||
Fx(CardEffectKind.MinimalInstall, MinimalInstallEffect.MaxExhaust, MinimalInstallEffect.CyclesPerCard, MinimalInstallEffect.ShieldPerCard));
|
Fx(CardEffectKind.MinimalInstall, MinimalInstallEffect.MaxExhaust, MinimalInstallEffect.CyclesPerCard, MinimalInstallEffect.ShieldPerCard));
|
||||||
Add("shop_c_free", Single, true, "deal {amount:0}. overkill spills. 25%: segfault, uptime -3, corrupt a hand card, and draw 2. then repair up to {amount:1} corrupted card{plural:1} in your active deck.",
|
Add("shop_c_free", Single, true, "deal {amount:0}. 50% of overkill spills per jump (rounded down). 25%: segfault, uptime -3, corrupt a hand card, and draw 2. then repair up to {amount:1} corrupted card{plural:1} in your active deck.",
|
||||||
Damage(18, Language.C), Fx(CardEffectKind.RepairCorruptedCards, 1));
|
Damage(18, Language.C), Fx(CardEffectKind.RepairCorruptedCards, 1));
|
||||||
Add("shop_c_sizeof", Single, true, "deal {raw:0} x C cards in hand." + CRecoil, Fx(CardEffectKind.SizeofDamage, SizeofDamageEffect.DamagePerCard, language: Language.C));
|
Add("shop_c_sizeof", Single, true, "deal {raw:0} x C cards in hand." + CRecoil, Fx(CardEffectKind.SizeofDamage, SizeofDamageEffect.DamagePerCard, language: Language.C));
|
||||||
Add("shop_c_kernel_exploit", Single, true, "deal {amount:0} ignoring Shield. overkill spills. 50%: segfault, uptime -8 and corrupt a hand card.", Damage(36, Language.C, trueDamage: true));
|
Add("shop_c_kernel_exploit", Single, true, "deal {amount:0} ignoring Shield. 50% of overkill spills per jump (rounded down). 50%: segfault, uptime -8 and corrupt a hand card.", Damage(36, Language.C, trueDamage: true));
|
||||||
Add("shop_c_gdb", None, false, "repair up to {amount:0} corrupted cards in your active deck. draw {amount:1}.",
|
Add("shop_c_gdb", None, false, "repair up to {amount:0} corrupted cards in your active deck. draw {amount:1}.",
|
||||||
Fx(CardEffectKind.RepairCorruptedCards, 2), Draw(1));
|
Fx(CardEffectKind.RepairCorruptedCards, 2), Draw(1));
|
||||||
Add("shop_c_valgrind", None, false, "repair up to {amount:0} corrupted cards in your active deck. gain {shield:1} Shield.",
|
Add("shop_c_valgrind", None, false, "repair up to {amount:0} corrupted cards in your active deck. gain {shield:1} Shield.",
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ namespace KernelPanic.Combat
|
|||||||
int remaining, Language language, bool trueDamage)
|
int remaining, Language language, bool trueDamage)
|
||||||
{
|
{
|
||||||
bool dealtDamage = false;
|
bool dealtDamage = false;
|
||||||
|
bool attenuate = language == Language.C || context.Card?.Definition?.Language == Language.C;
|
||||||
// Keep the original target excluded even if a lethal-hit save left it alive.
|
// Keep the original target excluded even if a lethal-hit save left it alive.
|
||||||
CombatantState originalTarget = firstTarget;
|
CombatantState originalTarget = firstTarget;
|
||||||
for (int i = 0; i < context.Enemies.Count && remaining > 0; i++)
|
for (int i = 0; i < context.Enemies.Count && remaining > 0; i++)
|
||||||
@@ -64,6 +65,10 @@ namespace KernelPanic.Combat
|
|||||||
if (target == null || target == originalTarget || target == firstTarget || target.IsDefeated)
|
if (target == null || target == originalTarget || target == firstTarget || target.IsDefeated)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// C loses half its excess on every actual jump, after the previous target's defenses.
|
||||||
|
// Integer division rounds down; one excess damage cannot create another hit.
|
||||||
|
if (attenuate) remaining = (int)((long)remaining * CombatTuning.COverkillSpillPercent / 100);
|
||||||
|
if (remaining == 0) break;
|
||||||
int capacity = GetDamageCapacity(target, trueDamage);
|
int capacity = GetDamageCapacity(target, trueDamage);
|
||||||
GameEvents.RaiseOverflowDamageTravel(new OverflowDamageTravelEvent(context.Source, firstTarget, target, remaining, language));
|
GameEvents.RaiseOverflowDamageTravel(new OverflowDamageTravelEvent(context.Source, firstTarget, target, remaining, language));
|
||||||
DamageResult result = CardDamageExecutor.ApplyHit(context,
|
DamageResult result = CardDamageExecutor.ApplyHit(context,
|
||||||
|
|||||||
@@ -271,7 +271,9 @@ namespace KernelPanic.Combat
|
|||||||
if (hitCount > 1) notes.Add($"{hitCount} hits in total; later hits can stop when a target dies or combat ends.");
|
if (hitCount > 1) notes.Add($"{hitCount} hits in total; later hits can stop when a target dies or combat ends.");
|
||||||
if (trueDamage) notes.Add("True damage bypasses Shield.");
|
if (trueDamage) notes.Add("True damage bypasses Shield.");
|
||||||
if (random) notes.Add("Random amounts show the full normal range.");
|
if (random) notes.Add("Random amounts show the full normal range.");
|
||||||
if (critical) notes.Add("Critical chance: C 50%, other languages 25%; each hit rolls independently.");
|
if (critical) notes.Add($"Critical chance: C {CombatTuning.CCriticalChancePercent}%, other languages 25%; each hit rolls independently.");
|
||||||
|
if (card.Definition.Language == Language.C)
|
||||||
|
notes.Add($"C spills {CombatTuning.COverkillSpillPercent}% of remaining overkill per jump, rounded down; spill cannot crit or reapply source bonuses.");
|
||||||
if (rust) notes.Add(source.ForceMaxRolls
|
if (rust) notes.Add(source.ForceMaxRolls
|
||||||
? "Rust overkill can grant Shield; max-roll mode prevents unsigned overflow."
|
? "Rust overkill can grant Shield; max-roll mode prevents unsigned overflow."
|
||||||
: "Rare Rust unsigned overflow is not included in the normal range. Overkill can grant additional Shield.");
|
: "Rare Rust unsigned overflow is not included in the normal range. Overkill can grant additional Shield.");
|
||||||
|
|||||||
@@ -46,6 +46,23 @@ namespace KernelPanic.Combat
|
|||||||
private int _fedoraCardsDiscountedThisTurn;
|
private int _fedoraCardsDiscountedThisTurn;
|
||||||
private float _fedoraCrashChance = CombatTuning.FedoraBleedingEdgeBaseCrashChance;
|
private float _fedoraCrashChance = CombatTuning.FedoraBleedingEdgeBaseCrashChance;
|
||||||
private int _cardsPlayedThisTurn;
|
private int _cardsPlayedThisTurn;
|
||||||
|
private bool _prefetchUsed;
|
||||||
|
public const int PrefetchCost = 2;
|
||||||
|
public bool CanPrefetch => CanSurrenderRun && _runConfig?.IsTutorial != true && !_prefetchUsed
|
||||||
|
&& _playerState.Cycles >= PrefetchCost && _handController != null
|
||||||
|
&& _handController.RemainingRam >= 2 && _deckController.AvailableToDrawCount > 0;
|
||||||
|
|
||||||
|
public bool TryPrefetch()
|
||||||
|
{
|
||||||
|
// Reserve two RAM so every possible top card fits, without revealing its identity or
|
||||||
|
// consuming a shuffle on a rejected action. Java occupies two RAM; other cards use one.
|
||||||
|
if (!CanPrefetch || !_deckController.TryDrawToHand(_handController, out _)) return false;
|
||||||
|
_prefetchUsed = true;
|
||||||
|
_playerState.Cycles -= PrefetchCost;
|
||||||
|
Log("prefetch: spent 2 Cycles, drew 1 card (once per turn)");
|
||||||
|
StateChanged?.Invoke();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
private int _cardsPlayedThisWave;
|
private int _cardsPlayedThisWave;
|
||||||
private int _cCardsPlayedThisTurn;
|
private int _cCardsPlayedThisTurn;
|
||||||
private int _turnNumberThisWave;
|
private int _turnNumberThisWave;
|
||||||
@@ -280,7 +297,7 @@ namespace KernelPanic.Combat
|
|||||||
{
|
{
|
||||||
if (_runConfig?.IsTutorial == true) return;
|
if (_runConfig?.IsTutorial == true) return;
|
||||||
if (!_awaitingWaveContinue || RunFinished || _waveTransitionActive
|
if (!_awaitingWaveContinue || RunFinished || _waveTransitionActive
|
||||||
|| _runManager?.IsSuspended == true || _runManager?.CampaignChoicePending == true)
|
|| _runManager?.IsSuspended == true || _runManager?.CampaignChoicePending == true || _runManager?.BuildRewardPending == true)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -308,8 +325,11 @@ namespace KernelPanic.Combat
|
|||||||
public bool ContinueTutorialWave()
|
public bool ContinueTutorialWave()
|
||||||
{
|
{
|
||||||
if (_runConfig?.IsTutorial != true || !_awaitingWaveContinue || RunFinished || _waveTransitionActive
|
if (_runConfig?.IsTutorial != true || !_awaitingWaveContinue || RunFinished || _waveTransitionActive
|
||||||
|| _runManager.WavesCleared != 1 || !_runManager.RepositoryOffers.Any(offer => offer.Sold)) return false;
|
|| _runManager.WavesCleared < 1 || _runManager.WavesCleared >= TutorialCampaign.LessonCount
|
||||||
_runConfig.TutorialLesson = 2;
|
|| (_runManager.WavesCleared == 1 && !_runManager.RepositoryOffers.Any(offer => offer.Sold))) return false;
|
||||||
|
_runConfig.TutorialLesson = _runManager.WavesCleared + 1;
|
||||||
|
// The countdown lesson requires two enemy turns. A low-health checkpoint must remain playable.
|
||||||
|
if (_runConfig.TutorialLesson == 3) _playerState.CurrentUptime = _playerState.MaxUptime;
|
||||||
_waveTransitionActive = true;
|
_waveTransitionActive = true;
|
||||||
_runManager.PrepareNextEncounter(_playerState);
|
_runManager.PrepareNextEncounter(_playerState);
|
||||||
_awaitingWaveContinue = false;
|
_awaitingWaveContinue = false;
|
||||||
@@ -1232,6 +1252,7 @@ namespace KernelPanic.Combat
|
|||||||
RevivePendingEnemies();
|
RevivePendingEnemies();
|
||||||
UnlockHandCards("license check expired");
|
UnlockHandCards("license check expired");
|
||||||
_playerState.Cycles = _playerState.MaxCycles;
|
_playerState.Cycles = _playerState.MaxCycles;
|
||||||
|
_prefetchUsed = false;
|
||||||
_fedoraCardsDiscountedThisTurn = 0;
|
_fedoraCardsDiscountedThisTurn = 0;
|
||||||
_cardsPlayedThisTurn = 0;
|
_cardsPlayedThisTurn = 0;
|
||||||
_cCardsPlayedThisTurn = 0;
|
_cCardsPlayedThisTurn = 0;
|
||||||
@@ -1384,7 +1405,8 @@ namespace KernelPanic.Combat
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log($"{enemy.Name} executes {enemy.DisplayIntent.DisplayText}");
|
// The action is public once execution starts, even if it was not probed beforehand.
|
||||||
|
Log($"{enemy.Name} executes {enemy.CurrentIntent.DisplayText}");
|
||||||
GameEvents.RaiseEnemyWouldAct(new EnemyWouldActEvent(enemy));
|
GameEvents.RaiseEnemyWouldAct(new EnemyWouldActEvent(enemy));
|
||||||
StateChanged?.Invoke();
|
StateChanged?.Invoke();
|
||||||
yield return Wait(CombatTuning.EnemyTelegraphDelaySeconds);
|
yield return Wait(CombatTuning.EnemyTelegraphDelaySeconds);
|
||||||
@@ -2073,6 +2095,7 @@ namespace KernelPanic.Combat
|
|||||||
}
|
}
|
||||||
|
|
||||||
enemy.ReviveAtHalfUptime();
|
enemy.ReviveAtHalfUptime();
|
||||||
|
GameEvents.RaiseEnemyRevived(enemy);
|
||||||
Log($"{enemy.Name} revived at {enemy.CurrentUptime} uptime");
|
Log($"{enemy.Name} revived at {enemy.CurrentUptime} uptime");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2728,14 +2751,20 @@ namespace KernelPanic.Combat
|
|||||||
if (_runConfig?.IsTutorial == true || _runManager?.Journey.campaign == true)
|
if (_runConfig?.IsTutorial == true || _runManager?.Journey.campaign == true)
|
||||||
{
|
{
|
||||||
CurrentEncounter = _runConfig.IsTutorial ? TutorialCampaign.Plan(_runConfig.TutorialLesson)
|
CurrentEncounter = _runConfig.IsTutorial ? TutorialCampaign.Plan(_runConfig.TutorialLesson)
|
||||||
: EncounterDirector.Plan(CurrentWaveNumber, _runManager.Journey.activeRoute);
|
: EncounterDirector.Plan(CurrentWaveNumber, _runManager.Journey.activeRoute,
|
||||||
|
_runConfig.RunSeed, _runManager.Journey.encounterRevision);
|
||||||
for (int slot = 0; slot < CurrentEncounter.Enemies.Count; slot++)
|
for (int slot = 0; slot < CurrentEncounter.Enemies.Count; slot++)
|
||||||
{
|
{
|
||||||
string id = CurrentEncounter.Enemies[slot];
|
string id = CurrentEncounter.Enemies[slot];
|
||||||
if (id == "race_condition" && slot + 1 < CurrentEncounter.Enemies.Count
|
if (id == "race_condition" && slot + 1 < CurrentEncounter.Enemies.Count
|
||||||
&& CurrentEncounter.Enemies[slot + 1] == id)
|
&& CurrentEncounter.Enemies[slot + 1] == id)
|
||||||
{ SpawnRacePair(CurrentEncounter.UptimeBonus); slot++; }
|
{ SpawnRacePair(CurrentEncounter.UptimeBonus); slot++; }
|
||||||
else SpawnEnemy(id, CurrentEncounter.UptimeBonus);
|
else
|
||||||
|
{
|
||||||
|
bool escort = slot == CurrentEncounter.Enemies.Count - 1 && id == "daemon";
|
||||||
|
var enemy = SpawnEnemy(id, CurrentEncounter.UptimeBonus + (escort ? CurrentEncounter.EscortUptime : 0));
|
||||||
|
if (escort) enemy.State.Shield += CurrentEncounter.EscortShield;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Log(CurrentEncounter.Title + ": " + CurrentEncounter.Advice);
|
Log(CurrentEncounter.Title + ": " + CurrentEncounter.Advice);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ namespace KernelPanic.Combat
|
|||||||
public const int DrawPerTurn = 1;
|
public const int DrawPerTurn = 1;
|
||||||
public const int MinimumHandFloor = 0;
|
public const int MinimumHandFloor = 0;
|
||||||
public const int SegfaultCorruptionRecoveryRounds = 3;
|
public const int SegfaultCorruptionRecoveryRounds = 3;
|
||||||
|
public const int CCriticalChancePercent = 35;
|
||||||
|
public const int COverkillSpillPercent = 50;
|
||||||
public const int OrphanSpawnChancePercent = 25;
|
public const int OrphanSpawnChancePercent = 25;
|
||||||
|
|
||||||
public const int BaseEnemyUptimeMin = 5;
|
public const int BaseEnemyUptimeMin = 5;
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ namespace KernelPanic.Combat
|
|||||||
return amount;
|
return amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
int critChance = request.Language == Language.C ? 50 : 25;
|
int critChance = request.Language == Language.C ? CombatTuning.CCriticalChancePercent : 25;
|
||||||
wasCritical = RandomRoll.RollRange(1, 100, new RollContext(request.Source)) <= critChance;
|
wasCritical = RandomRoll.RollRange(1, 100, new RollContext(request.Source)) <= critChance;
|
||||||
return wasCritical ? ScaleCritical(amount) : amount;
|
return wasCritical ? ScaleCritical(amount) : amount;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ namespace KernelPanic.Combat
|
|||||||
public string Advice { get; }
|
public string Advice { get; }
|
||||||
public IReadOnlyList<string> Enemies { get; }
|
public IReadOnlyList<string> Enemies { get; }
|
||||||
public int UptimeBonus { get; }
|
public int UptimeBonus { get; }
|
||||||
|
public int EscortShield { get; internal set; }
|
||||||
|
public int EscortUptime { get; internal set; }
|
||||||
public EncounterPlan(string title, string advice, int uptimeBonus, params string[] enemies)
|
public EncounterPlan(string title, string advice, int uptimeBonus, params string[] enemies)
|
||||||
{ Title = title; Advice = advice; UptimeBonus = uptimeBonus; Enemies = Array.AsReadOnly(enemies); }
|
{ Title = title; Advice = advice; UptimeBonus = uptimeBonus; Enemies = Array.AsReadOnly(enemies); }
|
||||||
}
|
}
|
||||||
@@ -17,6 +19,64 @@ namespace KernelPanic.Combat
|
|||||||
/// <summary>Authored encounter composition. Reads no random state; spawning owns stat rolls.</summary>
|
/// <summary>Authored encounter composition. Reads no random state; spawning owns stat rolls.</summary>
|
||||||
public static class EncounterDirector
|
public static class EncounterDirector
|
||||||
{
|
{
|
||||||
|
// A stable integer mixer, independent of both gameplay random streams and runtime hash codes.
|
||||||
|
public static EncounterPlan Plan(int wave, WaveRoute route, int seed, int revision)
|
||||||
|
{
|
||||||
|
if (revision == 0) return Plan(wave, route);
|
||||||
|
uint hash = unchecked((uint)seed ^ ((uint)wave * 0x9E3779B9u));
|
||||||
|
hash ^= hash >> 16; hash = unchecked(hash * 0x7FEB352Du); hash ^= hash >> 15;
|
||||||
|
int variant = (int)(hash % 3);
|
||||||
|
var baseline = Plan(wave, WaveRoute.Repair);
|
||||||
|
string title = baseline.Title, advice = baseline.Advice;
|
||||||
|
string[] enemies = new List<string>(baseline.Enemies).ToArray();
|
||||||
|
if (variant > 0)
|
||||||
|
{
|
||||||
|
switch (wave)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
title = variant == 1 ? "Stale services" : "Scheduled startup";
|
||||||
|
enemies = variant == 1 ? new[] { "zombie_process", "zombie_process" } : new[] { "zombie_process", "cron_job" };
|
||||||
|
advice = variant == 1 ? "Both Zombies can revive once. Finish weakened zombies decisively."
|
||||||
|
: "The Zombie can revive once. Cron Job announces its heavy attack with a countdown.";
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
title = variant == 1 ? "Leaking firewall" : "Orphan cleanup";
|
||||||
|
enemies = variant == 1 ? new[] { "firewalld", "memory_leak" } : new[] { "zombie_process", "segfault" };
|
||||||
|
advice = variant == 1 ? "Memory Leak grows each round while firewalld shields its neighbour."
|
||||||
|
: "The Zombie can revive once. Segfault has a death payload; plan for the process it leaves behind.";
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
title = variant == 1 ? "Hidden dependencies" : "Scheduled replication";
|
||||||
|
enemies = variant == 1 ? new[] { "rootkit", "zombie_process", "memory_leak" } : new[] { "fork_bomb", "cron_job", "zombie_process" };
|
||||||
|
advice = variant == 1 ? "Rootkit resists damage while allies remain. Clear its support while containing the growing Memory Leak."
|
||||||
|
: "Fork Bomb copies itself after acting. Cron Job counts down to a heavy attack; stop their growth early.";
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
title = variant == 1 ? "Protected concurrency" : "Leaking concurrency";
|
||||||
|
enemies = new[] { "race_condition", "race_condition", variant == 1 ? "firewalld" : "memory_leak" };
|
||||||
|
advice = "Race partners act in uncertain order; defeating one enrages the survivor. Choose between support and paired threats.";
|
||||||
|
break;
|
||||||
|
case RunJourney.BossWave:
|
||||||
|
title = variant == 1 ? "Kernel Overseer / scheduled interrupt" : "Kernel Overseer / memory pressure";
|
||||||
|
enemies = new[] { "kernel_overseer", variant == 1 ? "cron_job" : "memory_leak" };
|
||||||
|
advice = baseline.Advice;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var plan = new EncounterPlan(title, advice, baseline.UptimeBonus, enemies);
|
||||||
|
if (wave > 1 && route == WaveRoute.Challenge)
|
||||||
|
{
|
||||||
|
int modifier = (int)((hash >> 8) % 3);
|
||||||
|
var escort = new List<string>(enemies) { "daemon" };
|
||||||
|
string detail = modifier == 0 ? "Veiled escort: damage the extra Daemon to reveal its intent."
|
||||||
|
: modifier == 1 ? "Armored escort: the extra Daemon starts with 6 Shield; damage reveals its intent."
|
||||||
|
: "Hardened escort: the extra Daemon has +4 Uptime; damage reveals its intent.";
|
||||||
|
plan = new EncounterPlan(title + " / challenge", advice + " " + detail, baseline.UptimeBonus, escort.ToArray())
|
||||||
|
{ EscortShield = modifier == 1 ? 6 : 0, EscortUptime = modifier == 2 ? 4 : 0 };
|
||||||
|
}
|
||||||
|
return plan;
|
||||||
|
}
|
||||||
|
|
||||||
public static EncounterPlan Plan(int wave, WaveRoute route)
|
public static EncounterPlan Plan(int wave, WaveRoute route)
|
||||||
{
|
{
|
||||||
string title, advice;
|
string title, advice;
|
||||||
|
|||||||
@@ -122,7 +122,9 @@ namespace KernelPanic.Combat
|
|||||||
EnemyBehaviorFlags.ObfuscateIntent | EnemyBehaviorFlags.Elite,
|
EnemyBehaviorFlags.ObfuscateIntent | EnemyBehaviorFlags.Elite,
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
new EnemyIntent(EnemyIntentKind.Attack, 6, 8, Language.C, "daemon hit", "!")
|
new EnemyIntent(EnemyIntentKind.Attack, 8, 10, Language.C, "surge", "!"),
|
||||||
|
new EnemyIntent(EnemyIntentKind.Defend, 6, 8, Language.C, "harden", "#"),
|
||||||
|
new EnemyIntent(EnemyIntentKind.Attack, 3, 4, Language.C, "bypass Shield", "!", true)
|
||||||
},
|
},
|
||||||
EnemyTier.Elite);
|
EnemyTier.Elite);
|
||||||
|
|
||||||
|
|||||||
@@ -64,6 +64,8 @@ namespace KernelPanic.Combat
|
|||||||
|
|
||||||
public void PickNextIntent()
|
public void PickNextIntent()
|
||||||
{
|
{
|
||||||
|
// Exposure belongs to the selected action, not the enemy's entire lifetime.
|
||||||
|
if (HasBehavior(EnemyBehaviorFlags.ObfuscateIntent)) IntentRevealed = false;
|
||||||
if (HasBehavior(EnemyBehaviorFlags.BossCycle) && _intentPool.Count > 0)
|
if (HasBehavior(EnemyBehaviorFlags.BossCycle) && _intentPool.Count > 0)
|
||||||
{
|
{
|
||||||
CurrentIntent = _intentPool[TurnsAlive % _intentPool.Count];
|
CurrentIntent = _intentPool[TurnsAlive % _intentPool.Count];
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d51c41fa71b1068438855f64f946cc57
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -20,6 +20,8 @@ namespace KernelPanic.Core
|
|||||||
public static event Action<DeathSpawnedEnemyEvent> DeathSpawnedEnemy;
|
public static event Action<DeathSpawnedEnemyEvent> DeathSpawnedEnemy;
|
||||||
public static event Action<EnemyWouldActEvent> EnemyWouldAct;
|
public static event Action<EnemyWouldActEvent> EnemyWouldAct;
|
||||||
public static event Action<EnemyActedEvent> EnemyActed;
|
public static event Action<EnemyActedEvent> EnemyActed;
|
||||||
|
public static event Action<EnemyInstance> EnemyRevived;
|
||||||
|
public static void RaiseEnemyRevived(EnemyInstance enemy) => EnemyRevived?.Invoke(enemy);
|
||||||
public static event Action<PlayerDamagedEvent> PlayerDamaged;
|
public static event Action<PlayerDamagedEvent> PlayerDamaged;
|
||||||
public static event Action<EncounterWonEvent> EncounterWon;
|
public static event Action<EncounterWonEvent> EncounterWon;
|
||||||
public static event Action<EncounterLostEvent> EncounterLost;
|
public static event Action<EncounterLostEvent> EncounterLost;
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cf446c6fd7627294c9e2aa23c9b576e7
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c06078e18f184c84cab3579c0e562dbe
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 542a3f97e8074ed428fd7019177f221b
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3b76dcac6b8cae447bb9079460692238
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0d860bbf8e7f4df2a91e2e1e9892d904
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cbdd46dffec613346ae6191f18a94225
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e1974726f936d0640943801549b4574e
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e0a39b97df9ee0641b2bbadf5bca417c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fd9e459379f339742a14cf224cd91234
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5178747fac4dbfc448ff15d8a687e03c
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fdb3d58d94b76834598e408448e19d2a
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5af93d291e7d4d51b312bdf1e47dc6ef
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bd550368fd0c75d43a53aa4fb3b6541e
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b821fa56a5034b9bbd3a000000000203
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8b5b43b43c697c142b33fbfc5160cf90
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using KernelPanic.Core;
|
using KernelPanic.Core;
|
||||||
|
using KernelPanic.Combat;
|
||||||
|
|
||||||
namespace KernelPanic.Data
|
namespace KernelPanic.Data
|
||||||
{
|
{
|
||||||
@@ -11,7 +12,7 @@ namespace KernelPanic.Data
|
|||||||
{
|
{
|
||||||
private static readonly LanguageCatalogEntry[] Entries =
|
private static readonly LanguageCatalogEntry[] Entries =
|
||||||
{
|
{
|
||||||
new(Language.C, "C", "bare metal", ResolutionTrack.Native, "C is immediate, high-risk burst damage. C damage rolls a 50% crit chance instead of the normal 25%, spills overkill into other enemies, and C cards can segfault: hurting you and corrupting a hand card. Segfault corruption recovers automatically after 3 rounds. C repair cards restore corrupted cards sooner.", null, Distro("arch", "Arch"), Distro("gentoo", "Gentoo"), Distro("templeos", "TempleOS")),
|
new(Language.C, "C", "bare metal", ResolutionTrack.Native, $"C is immediate, high-risk burst damage. C damage rolls a {CombatTuning.CCriticalChancePercent}% crit chance instead of the normal 25%, spills {CombatTuning.COverkillSpillPercent}% of remaining overkill into other enemies per jump (rounded down), and C cards can segfault: hurting you and corrupting a hand card. Segfault corruption recovers automatically after 3 rounds. C repair cards restore corrupted cards sooner.", null, Distro("arch", "Arch"), Distro("gentoo", "Gentoo"), Distro("templeos", "TempleOS")),
|
||||||
new(Language.CPlusPlus, "C++", "template arsenal", ResolutionTrack.Native, "C++ is planned as a Native setup/payoff language built from upgraded C cards. It should keep C's direct-hit pressure while adding heavier combo requirements.", "unlock: upgrade a C card during a run"),
|
new(Language.CPlusPlus, "C++", "template arsenal", ResolutionTrack.Native, "C++ is planned as a Native setup/payoff language built from upgraded C cards. It should keep C's direct-hit pressure while adding heavier combo requirements.", "unlock: upgrade a C card during a run"),
|
||||||
new(Language.Rust, "Rust", "safe systems", ResolutionTrack.Native, "Rust is immediate, reliable damage with defensive payoff. Rust overkill becomes Shield, and Rust damage has a tiny 0.001% chance to overflow into the unsigned 64-bit limit.", null, Distro("arch", "Arch"), Distro("fedora", "Fedora")),
|
new(Language.Rust, "Rust", "safe systems", ResolutionTrack.Native, "Rust is immediate, reliable damage with defensive payoff. Rust overkill becomes Shield, and Rust damage has a tiny 0.001% chance to overflow into the unsigned 64-bit limit.", null, Distro("arch", "Arch"), Distro("fedora", "Fedora")),
|
||||||
new(Language.Python, "Python", "queued scripts", ResolutionTrack.InterpreterQueue, "Python cards enter the interpreter queue instead of resolving immediately. They are slower, but let you stage delayed damage, draw, and repeat effects around the exchange structure.", null, Distro("ubuntu", "Ubuntu"), Distro("kali", "Kali"), Distro("mint", "Mint")),
|
new(Language.Python, "Python", "queued scripts", ResolutionTrack.InterpreterQueue, "Python cards enter the interpreter queue instead of resolving immediately. They are slower, but let you stage delayed damage, draw, and repeat effects around the exchange structure.", null, Distro("ubuntu", "Ubuntu"), Distro("kali", "Kali"), Distro("mint", "Mint")),
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 02afff40950e5434192bd919f60a9d22
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a7d10000000000000000000000000002
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a7d10000000000000000000000000001
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 04c3b1510a7d45f3aba1ee24fe0cbc12
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 48447d3db18343398488d3064324147d
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9b1f51fb7c354203a2f93ad22fbeb101
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1470a223647d6514f9439de7ded702c9
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6aad857173769044f861a0c6b1318032
|
||||||
|
AssemblyDefinitionImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ae19044bbccbb074da1d5e38b61e5657
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e003476e8a28025938acf6c377dfbaaa
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 23fc80fee1a14d84d8bfcddf73a00c50
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8b77d0de67282ca4181a7c53feec4343
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 29d7890153d140b2a25b1afb304581f9
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7262840a6d0b4569a70ca757cf4b5d19
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c4c45a4a6b604a7bbba20b0d44ed4b9f
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6ef2e97a60574b3896db93fd09ec5313
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f62e697e985a8a44ca26ccb8e853ee66
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 57c4aa4526fdaf146a7d4896c27623df
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 542dd3144a914ea5b1e0c0e21db5ec6b
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 28f47ae605f8c30469a300c32bdd4473
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4d8cfb0a91cc485089a35c086d20e11b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 42462c6d90ce487e96d40c26a64dcc8a
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f859567fb24c4ef9a94a3306e955b5f8
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 41b78f2319834ad680d8e32e29c2712c
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4a10ff65b6e9478d9fe638f8a39f8144
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: aebad46fbebf4dc4683d0a46c7f1f5b6
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7be246fb732b4955a259ae231c191178
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 58538a64d0259c30d01a7f083b304a51
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user