mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-08 07:16:08 +00:00
重构继承关系
This commit is contained in:
@@ -12,6 +12,7 @@ import GEffectUtil from "../../effect/GEffectUtil";
|
||||
import { TableGRoleAttackEffect } from "../../../../resources/config/ts/TableGRoleAttackEffect";
|
||||
import GDetection from "../common/GDetection";
|
||||
import { rect } from "cc";
|
||||
import GRoleDefault from "../role/GRoleDefault";
|
||||
|
||||
/**
|
||||
* 抛物线 爆炸普攻
|
||||
@@ -19,7 +20,7 @@ import { rect } from "cc";
|
||||
*/
|
||||
export default class GAttackParabolicRemote implements GAttackBase{
|
||||
|
||||
attack(role: GRoleBase<{}>, info: TableGRoleAttack): void {
|
||||
attack(role: GRoleDefault, info: TableGRoleAttack): void {
|
||||
|
||||
let enemy = role.fsm.enemy;
|
||||
if(!enemy) return;
|
||||
|
||||
Reference in New Issue
Block a user