Minor change to sprite shader

This commit is contained in:
Flashfyre committed 2023-11-26 09:53:16 -05:00
1 parent ab9812f837
commit 1e2bd0dbb9
3 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -116,8 +116,8 @@ export class BlockItemTheftAbAttr extends AbAttr {
export class StabBoostAbAttr extends AbAttr {
apply(pokemon: Pokemon, cancelled: Utils.BooleanHolder, args: any[]): boolean {
if ((args[0] as Utils.IntegerHolder).value > 1)
(args[0] as Utils.IntegerHolder).value += 0.5;
if ((args[0] as Utils.NumberHolder).value > 1)
(args[0] as Utils.NumberHolder).value += 0.5;
return true;
}