mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Update src/data/abilities/ability.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
6cbe8a753a
commit
91b9587f41
@ -401,7 +401,6 @@ export abstract class AbAttr {
|
|||||||
*
|
*
|
||||||
* @remarks
|
* @remarks
|
||||||
* Abilities that have simple cancel interactions (e.g. {@linkcode BlockRecoilDamageAttr}) can extend this class to reuse the `canApply` and `apply` logic
|
* Abilities that have simple cancel interactions (e.g. {@linkcode BlockRecoilDamageAttr}) can extend this class to reuse the `canApply` and `apply` logic
|
||||||
* Classes can
|
|
||||||
*/
|
*/
|
||||||
abstract class CancelInteractionAbAttr extends AbAttr {
|
abstract class CancelInteractionAbAttr extends AbAttr {
|
||||||
override canApply({ cancelled }: AbAttrParamsWithCancel): boolean {
|
override canApply({ cancelled }: AbAttrParamsWithCancel): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user