Commit Graph

119 Commits

Author SHA1 Message Date
Deukhoofd 545e321018
Updates needed for breaking change in how abilities work.
continuous-integration/drone/push Build is passing Details
2021-11-15 12:47:02 +01:00
Deukhoofd ede314ef39
A bunch of work on the concept of script owners.
continuous-integration/drone/push Build is failing Details
2021-10-29 23:54:44 +02:00
Deukhoofd 2ae73b816b
Implements ScriptSource changes, Updates OnEndTurn.
continuous-integration/drone/push Build is failing Details
2021-10-29 19:35:31 +02:00
Deukhoofd f447e40663
Adds damage script hooks.
continuous-integration/drone/push Build is passing Details
2021-10-29 18:29:30 +02:00
Deukhoofd accf582a51
Style fixes.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2021-09-26 10:53:26 +02:00
Deukhoofd 8005ad1232
Large cleanup of type registration, added new "NativeArray" (or narray in angelscript) type that simply holds a pointer to a native list, to prevent copies we don't need
continuous-integration/drone/push Build is failing Details
2021-09-25 17:56:45 +02:00
Deukhoofd 3a5fa268dd
Fixes Pokemon::get_Nickname in angelscript.
continuous-integration/drone/push Build is passing Details
2021-09-19 12:57:11 +02:00
Deukhoofd 728bc13ac1
Update to new CreatureLib nickname handling
continuous-integration/drone/push Build is passing Details
2021-09-19 11:43:02 +02:00
Deukhoofd bb4fd8456c
Fixes CreatePokemon initializing invalid moves.
continuous-integration/drone/push Build is passing Details
2021-08-29 17:06:45 +02:00
Deukhoofd e323b62250
Damage calculation can only return 0 if effectiveness is 0.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:20:22 +02:00
Deukhoofd aee0f04d9c
Further fixes for rounding errors in damage calculations.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:16:01 +02:00
Deukhoofd 037ff590f0
Fixes for damage calculation: Adds missing + 2, and handles rounding correctly.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:04:18 +02:00
Deukhoofd 7fe7c8becf
Add support for turning off the random damage modifier.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:57:45 +02:00
Deukhoofd 0eb2cb0ed0
Adds OverrideBasePower script hook.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:28:27 +02:00
Deukhoofd b5ea856443
Remove status handling, as its already in CreatureLib
continuous-integration/drone/push Build is passing Details
2021-07-09 15:37:44 +02:00
Deukhoofd 2e2dfbaf1d
Adds missing references for EvolutionScript
continuous-integration/drone/push Build is passing Details
2021-07-09 14:57:20 +02:00
Deukhoofd 5a082c5995
Style Fixes
continuous-integration/drone/push Build is passing Details
2021-07-09 14:36:14 +02:00
Deukhoofd 9424a209ec
Adds a bunch of helpers for evolution, as well as custom script evolution methods.
continuous-integration/drone/push Build is failing Details
2021-07-09 13:54:42 +02:00
Deukhoofd 3d3bff3772
Work on evolution helpers
continuous-integration/drone/push Build is passing Details
2021-06-27 17:11:37 +02:00
Deukhoofd 4633c6beef
Adds function to set IsEgg on Pokemon
continuous-integration/drone/push Build is passing Details
2021-06-27 12:21:02 +02:00
Deukhoofd 94de55f933
Adds Pokemon::IsEgg function, make eggs not usable in battle.
continuous-integration/drone/push Build is passing Details
2021-06-19 12:44:05 +02:00
Deukhoofd 59a092a06e
Use GetUseAttack for executingmove
continuous-integration/drone/push Build is passing Details
2021-05-13 13:25:08 +02:00
Deukhoofd 6def68cf72
Adds Angelscript wrappers for Party.
continuous-integration/drone/push Build is passing Details
2021-05-08 12:12:36 +02:00
Deukhoofd 1c66aa8696
Return optional pointer instead of raw pointers in Pokemon::GetMoves
continuous-integration/drone/push Build is passing Details
2021-04-23 11:53:00 +02:00
Deukhoofd 939cf4e328
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-18 12:56:46 +02:00
Deukhoofd 7dff0c90bc
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-13 22:48:38 +02:00
Deukhoofd 44c47d64bd
When cloning a battle, ensure the old battle data is always cleared from the cloned party.
continuous-integration/drone/push Build is passing Details
2021-04-13 18:33:10 +02:00
Deukhoofd 5b9bb68682
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-11 23:46:09 +02:00
Deukhoofd e8b86a20d1
Add support for creating pokemon with passed Random parameter.
continuous-integration/drone/push Build is failing Details
2021-04-11 17:50:47 +02:00
Deukhoofd a88719e2b3
Supports cloning battles for AI purposes.
continuous-integration/drone/push Build is passing Details
2021-04-11 16:27:21 +02:00
Deukhoofd 18cebe842a
Updates to newer CreatureLib. 2021-03-07 11:12:18 +01:00
Deukhoofd 31008c0107
Several fixes and improvements.
continuous-integration/drone/push Build is passing Details
2020-12-28 15:11:06 +01:00
Deukhoofd bbb2691b91
Update to latest Arbutils.
continuous-integration/drone/push Build is passing Details
2020-12-13 12:32:52 +01:00
Deukhoofd 53bd6e7a94
Update to new Arbutils memory model.
continuous-integration/drone/push Build is failing Details
2020-12-12 14:25:27 +01:00
Deukhoofd fff926b617
Mark several classes as final for devirtualization performance benefits.
continuous-integration/drone/push Build is passing Details
2020-10-15 18:13:00 +02:00
Deukhoofd f816975b63
Fix for Pokemon::ClearStatus crashing when a Pokemon does not have a status. Now will just do nothing.
continuous-integration/drone/push Build is passing Details
2020-10-02 17:43:16 +02:00
Deukhoofd 2ce766f589
Adds precompiled header.
continuous-integration/drone/push Build is passing Details
2020-09-29 17:51:11 +02:00
Deukhoofd 8f73a9a43a
Several fixes.
continuous-integration/drone/push Build is passing Details
2020-08-30 13:53:15 +02:00
Deukhoofd c6e2de6156
Use level_int_t for levels.
continuous-integration/drone/push Build is passing Details
2020-08-22 12:24:52 +02:00
Deukhoofd cc92cf1491
Defensive programming.
continuous-integration/drone/push Build is passing Details
2020-08-17 18:23:25 +02:00
Deukhoofd f3721ad2a5
Fixes damage calculation, 2020-08-17 18:23:13 +02:00
Deukhoofd 3baabe6d79
Update tp latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-08-17 12:36:21 +02:00
Deukhoofd cd4893936e
Link to library we use for stacktraces.
continuous-integration/drone/push Build is passing Details
2020-08-16 11:22:43 +02:00
Deukhoofd b5a1d74bdb
Update to latest CreatureLib
continuous-integration/drone/push Build is passing Details
2020-08-16 11:12:04 +02:00
Deukhoofd 3477de14cb
Update to latest CreatureLib.
continuous-integration/drone/push Build is failing Details
2020-08-14 15:26:44 +02:00
Deukhoofd 77eae12326
Fixes for new CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-08-12 18:09:24 +02:00
Deukhoofd ece07f5648
Defensive programming in DamageLibrary, ensuring the final damage is between 0 and uint32 max.
continuous-integration/drone/push Build is passing Details
2020-08-11 21:47:05 +02:00
Deukhoofd 2a884a0a8b
Setters for IVs and EVs.
continuous-integration/drone/push Build is passing Details
2020-08-08 17:52:57 +02:00
Deukhoofd 0ace5798f8
Update to new Arbutils.
continuous-integration/drone/push Build is passing Details
2020-08-08 12:35:57 +02:00
Deukhoofd 683f3ad08b
Add Pokemon Status.
continuous-integration/drone/push Build is passing Details
2020-08-08 12:01:05 +02:00