Commit Graph

499 Commits

Author SHA1 Message Date
Deukhoofd 10f7f38c2d
Implements float Effect Parameter. 2020-04-10 21:18:18 +02:00
Deukhoofd d12267c695
Implements new Effect Parameters in AngelScript/ 2020-04-10 20:39:11 +02:00
Deukhoofd 0700f7cfbd
Fix for Pokemon.HasHeldItem in AngelScript, added tests. 2020-04-10 16:03:15 +02:00
Deukhoofd d2573fe959
Fixed size_t that should be asUINT. 2020-04-10 15:15:46 +02:00
Deukhoofd bbb01ae458
Fixed ints for vector counts. Should be size_t. 2020-04-10 15:10:22 +02:00
Deukhoofd 149b0f08f6
Rework AngelScript effect names to be not based on script names, but on attributes instead. 2020-04-10 14:57:20 +02:00
Deukhoofd 72ef9599ed
Add conststring to several tests. 2020-04-07 12:05:37 +02:00
Deukhoofd aa8915b314
Angelscript support for ConstString. 2020-04-07 12:04:23 +02:00
Deukhoofd 1046eceacf
Clean up AngelScript context on exception. 2020-04-06 20:06:43 +02:00
Deukhoofd 48ef465c82
Update to the latest CreatureLib version. 2020-04-06 20:03:44 +02:00
Deukhoofd 29a82a5e75
Support for new version of CreatureLib. 2020-02-28 19:51:50 +01:00
Deukhoofd dba8ae2b83
Link Arbutils in CMake. 2020-02-27 19:06:59 +01:00
Deukhoofd f91e36085a
Include Arbutils in conan. 2020-02-27 19:00:22 +01:00
Deukhoofd 40a003429e
Updates CreatureLib, implements ConstStrings. 2020-02-27 18:59:15 +01:00
Deukhoofd d57b5852f1
Force conan export-pkg 2020-02-27 13:12:52 +01:00
Deukhoofd d1ec6325a0
Update Conan url. 2020-02-27 13:03:30 +01:00
Deukhoofd 98e17a1eb8
Move script name to type. 2020-02-23 16:02:27 +01:00
Deukhoofd 13a8228a44
Changes for Conan file. 2020-02-23 14:16:36 +01:00
Deukhoofd e27cc2270d
Update CreatureLib, added RemoveVolatile function to AngelScript. 2020-02-23 12:46:44 +01:00
Deukhoofd 6a3df344da
Fixed invalid AngelScript declaration. 2020-02-22 16:14:20 +01:00
Deukhoofd ed287f93db
Update CreatureLib, added AddVolatile function to AngelScript. 2020-02-22 16:10:22 +01:00
Deukhoofd 1f07ddc428
Fix build. 2020-02-22 15:26:16 +01:00
Deukhoofd 904af99022
Update to newest version of CreatureLib, added ChoiceQueue in AngelScript. 2020-02-22 15:22:13 +01:00
Deukhoofd b1f101d646
Update to newest version of CreatureLib. 2020-02-20 13:32:13 +01:00
Deukhoofd 19cfcc9e32
Support for specific PkmnLib functions in Scripts, added ModifyCriticalStage function. 2020-02-20 13:28:31 +01:00
Deukhoofd 83a49eee6c
Add new damage library script hooks to AngelScript. 2020-02-19 10:25:27 +01:00
Deukhoofd a6e1726dc5
Include extern directory in conan. 2020-02-19 09:59:46 +01:00
Deukhoofd 6fc6dbd05f
Added ScriptBuilder that gives us access to conditional compilation and metadata attributes. 2020-02-19 09:07:44 +01:00
Deukhoofd 93be2ee8a1
Add Held Item functions to AngelScript. 2020-02-17 17:35:14 +01:00
Deukhoofd f507d76432
Make Pokemon battle class inherit publicly. 2020-02-17 16:56:44 +01:00
Deukhoofd 6fff01a994
Add PokemonParty class. 2020-02-17 16:05:03 +01:00
Deukhoofd f9f83f892d
Fixed ModifyEffectChance function having uint16 instead of float as chance. 2020-02-17 10:55:42 +01:00
Deukhoofd 3446412c0d
Fix EffectChance using uint16 instead of float. 2020-02-17 10:34:11 +01:00
Deukhoofd 27f5c5b3b5
Update CreatureLib 2020-02-17 10:10:32 +01:00
Deukhoofd 40f3b24bed
Change battle.Random from address to handle.. 2020-02-16 17:57:51 +01:00
Deukhoofd 30c3c5f405
Upgrade CreatureLib, added basic Battle class, as we'll use it later on/ 2020-02-16 17:50:16 +01:00
Deukhoofd 62eaf24f31
Fix ChangeStatBoost using the wrong underlying function 2020-02-16 17:00:52 +01:00
Deukhoofd 57c142a11a
Add Stat boost change script function in AngelScript. 2020-02-16 16:55:46 +01:00
Deukhoofd 98c3bdea1a
Register many new types and properties in AngelScript. 2020-02-16 16:43:37 +01:00
Deukhoofd 0147515ffb
Implement AngelScript support for effect chance changes. 2020-02-16 15:21:58 +01:00
Deukhoofd 321afbebe4
Use namespaces to differentiate between different categories of scripts. 2020-02-16 14:38:05 +01:00
Deukhoofd bb06026587
Allow creating script from direct string instead of invoking load function. 2020-02-16 13:33:58 +01:00
Deukhoofd a31477d4cb
Fix HitData.Damage being float instead of uint on scripts. 2020-02-16 12:37:13 +01:00
Deukhoofd 3a141e7f9d
Fix Script GetAttackDataForTarget function. 2020-02-16 12:28:05 +01:00
Deukhoofd 85d402c2c1
Update CreatureLib. 2020-02-16 12:19:14 +01:00
Deukhoofd 5bbb880700
Improve script exception error message. 2020-02-16 11:44:50 +01:00
Deukhoofd 7a452f96a7
Update to newer version of CreatureLib. 2020-02-16 10:14:44 +01:00
Deukhoofd 3f3cb8cd9a
Update to newer version of CreatureLib. 2020-02-16 09:23:27 +01:00
Deukhoofd 0587d5b47d
Update CreatureLib version. 2020-02-15 19:18:45 +01:00
Deukhoofd 45662cb29b
Update to new CreatureLib version, updated libraries in accordance. 2020-02-15 19:04:06 +01:00