Minor change to sprite shader
This commit is contained in:
1 parent
ab9812f837
commit
1e2bd0dbb9
3 files changed
+9
-9
No files matched your search
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user