Commit Graph

267 Commits

Author SHA1 Message Date
EmoUsedHM01
930c14fa62
Laser Focus support, with the added BattlerTagTypes to support it (#103)
* Added a new BattlerTagType and support for Laser Focus

BattlerTagType.ALWAYS_CRIT

* Updated battler-tags to support ALWAYS_CRIT

* Added ALWAYS_CRIT = "ALWAYS_CRIT", for the updated battler-tag-type

* Updated the crit formula to include the new critAlways

* Updated crit logic to include critAlways, fixed indents
2024-04-12 16:05:32 -04:00
Matthew Olker
d2ebb499d8 Fix broken call in force switch out 2024-04-12 07:44:45 -04:00
EmoUsedHM01
fba98ffa0c
Updated ForceSwitchOutAttr (#90)
* Updated ForceSwitchOutAttr

Should fix issue #83

* Removed the additional indents

* Updated the import and fixed the ForceSwitchOutAttr coding errors

* Removed the rest of the indents

* Updated formatting
2024-04-12 07:32:06 -04:00
Xavion3
20b6612cd1 Add support for hidden power 2024-04-12 01:45:19 -04:00
Xavion3
747a039a2e Add support for strength sap 2024-04-11 20:55:21 -04:00
Flashfyre
3e9fdc2d0a Fix rest not overriding status 2024-04-11 20:01:43 -04:00
Flashfyre
053c07cfba Fix being able to use rest without drawback when unable to sleep 2024-04-11 12:14:03 -04:00
Flashfyre
43bf8e13ea Fix stack overflow with weather abilities 2024-04-11 09:39:15 -04:00
Flashfyre
31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Xavion3
4f1fa4e192 Fix random category
Also fix the variable name
2024-04-10 22:41:16 -04:00
Xavion3
4f63b83bd9 Add support for variable category moves
Also lets shell side arm poison
2024-04-10 22:41:16 -04:00
Stophles
f418fe294a Rapid Spin now removes traps/seeds, added (P) back on
Rapid Spin now removes the tags for trapping moves and seeds rather than having them lapse.  Re-added the (P) to the move since clearing arena hazards hasn't been implemented yet.
2024-04-10 20:37:11 -04:00
Flashfyre
bd556e3c68 Fix Fillet Away 2024-04-10 17:31:39 -04:00
Flashfyre
f45b21afde Revert "Fillet Away"
This reverts commit 97144077f2.
2024-04-10 17:23:31 -04:00
Kieru Snowbell
97144077f2 Fillet Away
I wanted to use it, so I coded it.
2024-04-10 17:21:07 -04:00
Flashfyre
350aa30a35 Fix issue with status effect move AI 2024-04-10 15:39:36 -04:00
LaukkaE
3a2f364b41 Fix protect having a chance to fail twice in a row
Account for other types of protecting moves
2024-04-10 15:01:38 -04:00
Flashfyre
151b751300 Fix crash when stealing an enemy item not in player pool 2024-04-10 14:31:29 -04:00
Flashfyre
012158e7ff Improve enemy move selection AI 2024-04-10 12:49:23 -04:00
LaukkaE
973eefee1d Add electric terrain electric type boost 2024-04-10 09:12:27 -04:00
LaukkaE
2a5cfbf758 Psyblade & Rising voltage affected by Electric Terrain
fix
2024-04-10 09:12:27 -04:00
Xavion3
6078154a87 Add support for weather ball
Support both type changing and power boosting
2024-04-10 08:46:48 -04:00
LaukkaE
c9eff345cf
Implement Aura Wheel and Raging Bull types (#69)
* Implement Aura Wheel and Raging Bull types

* Account for fusion
2024-04-09 14:02:41 -04:00
LaukkaE
2623313970 Toxic accuracy skip, fix thousand waves 2024-04-09 11:48:04 -04:00
Flashfyre
a2e57bf1f7 Add unsaved changes to Super Fang benefit score 2024-04-09 11:25:15 -04:00
Flashfyre
5ee95bcd17 Add Super Fang target benefit score 2024-04-09 11:04:09 -04:00
Flashfyre
4a528aebcc Fix one hit KO moves not working properly 2024-04-08 12:52:37 -04:00
Flashfyre
5617aa9772 Re-implement counter changes and Metal Burst with missing property added 2024-04-08 12:13:34 -04:00
Flashfyre
db24880064 Revert "Implemented Metal Burst, fixed comeuppance logic, changed CounterDamage attribute"
This reverts commit e24c79d541.
2024-04-08 12:08:47 -04:00
Potattiummm
e24c79d541 Implemented Metal Burst, fixed comeuppance logic, changed CounterDamage attribute
Changed Counterdamage attribute to include a multiplier for metal burst and comeuppance. Changed logic for Comeuppance that caused it to always fail, no matter if a physical or special move hit it. Implemented Metal Burst.
2024-04-08 12:06:34 -04:00
LaukkaE
34cb70afa5 Implement Triage and Gale Wings
add move.ts
2024-04-08 10:16:50 -04:00
Madmadness65
8446130728 Fully implement Spiky Shield move 2024-04-06 21:50:17 -05:00
JackSmith5202
b7913e2a82 Implement Sticky Web 2024-04-06 19:08:47 -04:00
Flashfyre
a8ec37e7fa Fix both side switch out moves softlocking 2024-04-06 12:38:07 -04:00
Flashfyre
751fcf31ca Recoil damage bypasses endure 2024-04-06 01:56:49 -04:00
Flashfyre
e361922091 Revert "Added stat boost for fell stinger"
This reverts commit 9c3595c81a.
2024-04-05 18:33:18 -04:00
Potattiummm
9c3595c81a Added stat boost for fell stinger
added the stat boost for a ko with fell stinger
2024-04-05 18:28:34 -04:00
Madmadness65
9e986390eb Implement Glitzy Glow and Baddy Bad moves 2024-04-05 14:28:50 -05:00
Flashfyre
d88871a86b Bosses prefer not to use sacrificial moves 2024-04-05 12:36:09 -04:00
Matthew
8945de6d59 Implement Pay Day and Make it Rain 2024-04-05 11:55:16 -04:00
Jaime
887a4176ab Implemented moves Reflect, Light Screen and Aurora Veil 2024-04-05 11:44:21 -04:00
LaukkaE
a214e815bc
implement Regenerator (#37)
* implement Regenerator

* fix
2024-04-05 10:32:36 -04:00
Jaime
925bb73f0b Implemented the moves Stored Power and Power Trip 2024-04-04 19:47:20 -04:00
Madmadness65
9310c4d340 Correct the values of many recoil attacks
Many were just dealing a fourth of the damage when they should be dealing a third or even half.
2024-04-04 15:17:38 -05:00
LaukkaE
217ffcfb26 Implement Heat Crash and Heavy Slam 2024-04-04 11:38:16 -04:00
LaukkaE
785e7c14b5 fix switch statement logic 2024-04-04 10:24:48 -04:00
Flashfyre
b2441fb365 Fix same turn charge moves not working properly 2024-04-04 08:51:46 -04:00
Flashfyre
a5f78e59b0 Fix Minimize only raising evasion by one stage 2024-04-03 21:31:42 -04:00
Flashfyre
8d9ccd58d7 Fix charge moves breaking with multi lens 2024-04-03 14:22:12 -04:00
Flashfyre
b99b781e0c Fix Baton Pass logic and enemy multi hit AI hitting ally 2024-04-03 12:14:26 -04:00