Commit Graph
100 Commits
Author SHA1 Message Date
Deukhoofd 4928157cd4 Dont give experience to fainted+AI Pokemon 2025-11-20 17:27:36 +01:00
Deukhoofd 5d491a725d Fixes rounding error in exp calculation 2025-11-20 17:26:36 +01:00
Deukhoofd 21ec4b28c7 Fixes and reworking of item use
Build / Build (push) Successful in 57s
2025-11-08 11:43:07 +01:00
Deukhoofd fa05cdd773 Fix flee odds being incorrect
Build / Build (push) Successful in 57s
2025-11-08 10:32:29 +01:00
Deukhoofd 90eaeb1a72 Implements experience gain
Build / Build (push) Successful in 1m49s
2025-11-02 23:20:07 +01:00
Deukhoofd f00453448f Fix turn choice ordering not functioning properly 2025-11-02 22:57:46 +01:00
Deukhoofd 7e537c4003 Fix moves with accuracy 0
Build / Build (push) Successful in 1m46s
2025-10-31 12:48:22 +01:00
Deukhoofd 5831df701b Make ExplicitAI configurable
Build / Build (push) Successful in 1m2s
2025-10-21 11:27:04 +02:00
Deukhoofd 8fd7df5d80 Don't allow switching into a Pokemon that's already in the field
Build / Build (push) Successful in 1m36s
2025-10-19 11:04:08 +02:00
Deukhoofd f061ba2455 Work on item use/evolutions
Build / Build (push) Successful in 1m7s
2025-08-18 11:57:03 +02:00
Deukhoofd e5041ec5f0 Fixes for Pokemon capture
Build / Build (push) Successful in 1m11s
2025-08-08 12:45:27 +02:00
Deukhoofd a5675024a4 Tweaks and fixes for Pokemon capture
Build / Build (push) Successful in 1m34s
2025-08-03 12:00:20 +02:00
Deukhoofd cccffc4954 Greatly improve performance due to ScriptIterator changes
Build / Build (push) Successful in 1m43s
2025-07-26 14:47:55 +02:00
Deukhoofd 6eba332096 Make moveflags of gen 7 plugin shared statically 2025-07-26 14:37:43 +02:00
Deukhoofd 77d7b86a3c Implement most pokeballs
Build / Build (push) Successful in 1m2s
2025-07-20 11:15:45 +02:00
Deukhoofd db3f7f2403 Rewrite StringKey hashing to fix issues on .NET Framework
Build / Build (push) Successful in 1m3s
2025-07-20 09:42:54 +02:00
Deukhoofd bf83b25238 Implements AI Switching
Build / Build (push) Successful in 58s
2025-07-12 13:03:00 +02:00
Deukhoofd 364d4b9080 Implement basic AI check for whether a move would fail 2025-07-11 17:13:11 +02:00
Deukhoofd a3a4993407 Getting started with implementing an explicit AI, based on the Essentials one.
Build / Build (push) Successful in 1m2s
2025-07-11 17:03:08 +02:00
Deukhoofd 084ae84130 Minor performance tweaks 2025-07-10 22:41:56 +02:00
Deukhoofd 7c270a6d52 Finish script interface refactor
Build / Build (push) Successful in 1m1s
2025-07-06 10:27:56 +02:00
Deukhoofd 83f6a183e3 Tweaks and fixes 2025-07-05 18:27:42 +02:00
Deukhoofd d57076374f Some initial work on prescient AI, AI runner, and some random fixes
Build / Build (push) Successful in 1m3s
2025-07-05 17:48:51 +02:00
Deukhoofd 7b25161a8d More work on micro optimization
Build / Build (push) Successful in 52s
2025-07-05 16:13:53 +02:00
Deukhoofd 8a857ed232 Implements some micro-optimizations
Build / Build (push) Successful in 51s
2025-07-05 15:46:32 +02:00
Deukhoofd c795f20e54 Implement highest damage AI, further work on AI runner, random fixes
Build / Build (push) Successful in 51s
2025-07-05 14:56:25 +02:00
Deukhoofd 32aaa5150a Initial setup for testing AI performance, random fixes
Build / Build (push) Successful in 54s
2025-07-05 13:56:33 +02:00
Deukhoofd 4499927551 Further work on the script interface rework 2025-07-05 11:30:18 +02:00
Deukhoofd 1feb27e826 More work on refactor to interfaces
Build / Build (push) Successful in 50s
2025-06-29 12:03:51 +02:00
Deukhoofd 436d1899e0 Further work on refactor to interface based scripts 2025-06-28 18:40:33 +02:00
Deukhoofd b7bdf2b744 Refactor move classes to implement respective interfaces for better structure
Build / Build (push) Successful in 52s
2025-06-28 12:02:24 +02:00
Deukhoofd 2319160b52 Refactor move selection prevention to use interface 2025-06-28 10:36:43 +02:00
Deukhoofd 04cf585f5a Move OnInitialize to interface 2025-06-28 10:31:23 +02:00
Deukhoofd d719ce03ea Cleanup, move OnBeforeAnyHookInvoked function to an interface 2025-06-28 10:28:23 +02:00
Deukhoofd 43813c1c1c Implements pledge moves
Build / Build (push) Successful in 48s
2025-06-22 12:17:08 +02:00
Deukhoofd 6d448e4e8d Implements confusion effect
Build / Build (push) Successful in 52s
2025-06-22 11:56:29 +02:00
Deukhoofd 6394f4eab3 Implements terrain
Build / Build (push) Successful in 49s
2025-06-22 11:31:24 +02:00
Deukhoofd 02510fd1d0 Implements sandstorm
Build / Build (push) Successful in 50s
2025-06-22 10:53:56 +02:00
Deukhoofd 2533512eda Slight cleanup, do some TODOs
Build / Build (push) Successful in 51s
2025-06-22 10:42:25 +02:00
Deukhoofd e305cfaef6 Support for changing turn choice when executing
Build / Build (push) Successful in 50s
2025-06-15 14:23:28 +02:00
Deukhoofd b11203cb3a Last couple abilities 2025-06-15 13:32:58 +02:00
Deukhoofd cd6095455a More abilities 2025-06-15 13:20:58 +02:00
Deukhoofd ec8681eaa9 More abilities 2025-06-15 13:05:52 +02:00
Deukhoofd 85d97cb9e6 More abilities, refactor IPokemon.SetStatus to pass pokemon that caused the status change
Build / Build (push) Successful in 50s
2025-06-15 12:29:13 +02:00
Deukhoofd defb1349ca Add EventHook parameter to item use scripts
Build / Build (push) Successful in 47s
Items can be used on Pokemon outside of battle, and we want the user of the library to be able to check for what changed. This allows for example a heal event to be sent back to the user of the library after using an item.
2025-06-15 11:59:17 +02:00
Deukhoofd f5d18d7186 More abilities, refactor stealing held items
Build / Build (push) Successful in 50s
2025-06-15 11:49:15 +02:00
Deukhoofd 1b9d137bb0 Surprisingly, more abilities
Build / Build (push) Successful in 50s
2025-06-14 13:37:58 +02:00
Deukhoofd 5961bb746e Even more abilities
Build / Build (push) Successful in 51s
2025-06-14 13:24:38 +02:00
Deukhoofd 4b07f36176 Update TUnit
Build / Build (push) Successful in 53s
2025-06-14 12:30:26 +02:00
Deukhoofd df9846b8d8 More abilities 2025-06-14 12:25:29 +02:00
Deukhoofd 6c13d20bf7 Even more abilities
Build / Build (push) Successful in 52s
2025-06-14 11:30:56 +02:00
Deukhoofd 24712fbb0d More abilities
Build / Build (push) Successful in 48s
2025-06-13 15:39:08 +02:00
Deukhoofd 4385f0afaa More abilities
Build / Build (push) Successful in 50s
2025-06-13 12:56:47 +02:00
Deukhoofd 8363b955af More abilities, implemented support for form inheritance
Build / Build (push) Successful in 49s
2025-06-13 12:24:03 +02:00
Deukhoofd 6d71de375e More abilities, refactor custom triggers to be typed.
Build / Build (push) Successful in 48s
2025-06-13 11:15:48 +02:00
Deukhoofd 4326794611 More abilities
Build / Build (push) Successful in 49s
2025-06-09 18:16:29 +02:00
Deukhoofd e68491e72a More abilities 2025-06-09 17:37:37 +02:00
Deukhoofd 1579d46671 More abilities
Build / Build (push) Successful in 49s
2025-06-09 15:24:37 +02:00
Deukhoofd 074f92bfc0 Even more abilities 2025-06-09 14:23:51 +02:00
Deukhoofd 97868ab4c6 More abilities
Build / Build (push) Successful in 48s
2025-06-09 13:44:26 +02:00
Deukhoofd 00005aa4bf Implements more abilities
Build / Build (push) Successful in 47s
2025-06-09 12:10:25 +02:00
Deukhoofd af0126e413 Fixes for unit tests 2025-06-07 11:34:37 +02:00
Deukhoofd 273d26057a Adds doccomments to all abilities
Build / Build (push) Successful in 50s
2025-06-07 11:20:35 +02:00
Deukhoofd b2ba3d96ba Adds more abilities 2025-06-07 11:03:48 +02:00
Deukhoofd 232b94b04c More abilities
Build / Build (push) Successful in 49s
2025-06-01 11:23:46 +02:00
Deukhoofd b090aa65f9 First couple abilities implemented
Build / Build (push) Successful in 48s
2025-05-31 12:29:03 +02:00
Deukhoofd c1a7b806b1 Tweaks for build run name
Build / Build (push) Successful in 48s
2025-05-24 17:30:19 +02:00
Deukhoofd f4d5ad4e2a Tweaks for loading data from plugins
Build / Build (push) Successful in 50s
2025-05-24 16:30:43 +02:00
Deukhoofd 2680aeff80 Adds optional way to set damage randomness on or off on individual integration tests.
Build / Build (push) Successful in 49s
2025-05-19 16:10:05 +02:00
Deukhoofd 405a21e887 Implements freeze, poisoned, badly poisoned 2025-05-19 15:56:27 +02:00
Deukhoofd 9d2c2de17a Implements Paralysis 2025-05-19 15:30:57 +02:00
Deukhoofd 0d03a8f28d Implements burn 2025-05-19 15:19:35 +02:00
Deukhoofd eea5697109 Fixes all warnings
Build / Build (push) Successful in 49s
2025-05-19 11:50:51 +02:00
Deukhoofd 015e5819f3 Make Disable actually stop after a set number of turns 2025-05-19 11:48:51 +02:00
Deukhoofd 377c1a1c68 Implements critical capture, tweaks for integration tests.
Build / Build (push) Successful in 48s
2025-05-18 17:07:46 +02:00
Deukhoofd cbd4340b13 Make another pass through moves file
Build / Build (push) Successful in 47s
2025-05-18 14:15:37 +02:00
Deukhoofd 9ff4745c0a Finishes the last few moves
Build / Build (push) Successful in 49s
2025-05-18 12:20:21 +02:00
Deukhoofd 3a9123b5ba Remove drone file
Build / Build (push) Successful in 47s
2025-05-17 18:53:18 +02:00
Deukhoofd f70b6dedf5 Run all unit tests on push, not just the primary ones
Build / Build (push) Successful in 49s
2025-05-17 18:49:05 +02:00
Deukhoofd 169b954995 Disable tunit logo
continuous-integration/drone/push Build is passing
Build / Build (push) Successful in 47s
2025-05-17 18:44:54 +02:00
Deukhoofd c46df584dc Test gitea action
continuous-integration/drone/push Build is passing
Build / Build (push) Successful in 9m47s
2025-05-17 18:20:40 +02:00
Deukhoofd 9370325cc2 Fix slnx file
continuous-integration/drone/push Build is passing
2025-05-17 17:46:41 +02:00
Deukhoofd a17cb92c5a Implements a bunch more moves
continuous-integration/drone/push Build is failing
2025-05-17 17:44:15 +02:00
Deukhoofd ecabe2fd10 Minor csproj cleanup
continuous-integration/drone/push Build is failing
2025-05-16 17:04:16 +02:00
Deukhoofd 3309711856 Move to centralized package management
continuous-integration/drone/push Build is failing
2025-05-16 15:15:11 +02:00
Deukhoofd 2cf30bbb10 Update TUnit deps
continuous-integration/drone/push Build is passing
2025-05-16 14:27:20 +02:00
Deukhoofd a40d85fdae Slight refactor to clean up resource loading from plugins 2025-05-16 14:22:14 +02:00
Deukhoofd fdfca99e71 Document all undocumented methods and properties
continuous-integration/drone/push Build is passing
2025-05-16 13:59:36 +02:00
Deukhoofd 810cdbb15a Move data and data loading to plugin libraries.
continuous-integration/drone/push Build is passing
2025-05-16 13:01:23 +02:00
Deukhoofd b6ff51c9df CI: Hide documentation warnings in CI
continuous-integration/drone/push Build is passing
2025-05-05 17:36:23 +02:00
Deukhoofd d103fccdc6 Tweaks for CI build
continuous-integration/drone/push Build is passing
2025-05-05 17:31:30 +02:00
Deukhoofd 7727f92f4e Even more moves
continuous-integration/drone/push Build is passing
2025-05-05 16:58:03 +02:00
Deukhoofd 292c303fc0 More moves implemented 2025-05-05 11:36:59 +02:00
Deukhoofd 11ba3c73bb Fix CI
continuous-integration/drone/push Build is passing
2025-05-03 18:00:46 +02:00
Deukhoofd d131f2343f Log filename with integration tests
continuous-integration/drone/push Build is failing
2025-05-03 17:57:36 +02:00
Deukhoofd 1973ff50fa More move scripts 2025-05-03 17:52:50 +02:00
Deukhoofd f8c43b6ba0 Migrate sln to slnx
continuous-integration/drone/push Build is passing
2025-05-03 15:00:47 +02:00
Deukhoofd 2fa7bf130d Change to artifact output, add CI
continuous-integration/drone Build is passing
2025-05-03 14:47:06 +02:00
Deukhoofd 441f5dddaf Add all missing docs 2025-05-03 14:18:12 +02:00
Deukhoofd 4d5dfd0342 Remove FluentAssertions 2025-05-03 13:32:26 +02:00