mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Update type annotation in applyMoveEffects
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
a1fce52133
commit
3f2908c397
@ -769,7 +769,7 @@ export class MoveEffectPhase extends PokemonPhase {
|
|||||||
* @param effectiveness - The effectiveness of the move (as previously evaluated in {@linkcode hitCheck})
|
* @param effectiveness - The effectiveness of the move (as previously evaluated in {@linkcode hitCheck})
|
||||||
* @param firstTarget - Whether this is the first target successfully struck by the move
|
* @param firstTarget - Whether this is the first target successfully struck by the move
|
||||||
*/
|
*/
|
||||||
protected applyMoveEffects(target: Pokemon, effectiveness: TypeDamageMultiplier, firstTarget): void {
|
protected applyMoveEffects(target: Pokemon, effectiveness: TypeDamageMultiplier, firstTarget: boolean): void {
|
||||||
const user = this.getUserPokemon();
|
const user = this.getUserPokemon();
|
||||||
if (isNullOrUndefined(user)) {
|
if (isNullOrUndefined(user)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user