You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1004 B
30 lines
1004 B
import type { BattleSession } from 'db://assets/mx/module/battle';
|
|
import type { EntityId } from 'db://assets/mx/module/ecs';
|
|
import type { Player } from '../../game/Player';
|
|
import { getInBattleBondHost } from '../bond/InBattleBondHost';
|
|
|
|
export {
|
|
parseSkillChange,
|
|
applySkillChangesToParts,
|
|
parseEntryBaseAttr,
|
|
parseEntryBasePara,
|
|
} from './SkillEntryParse';
|
|
|
|
/**
|
|
* 词条物化(旧三选1)。词条表已删,全部为空操作,保留类以免断引用。
|
|
*/
|
|
export class SkillPickApplier {
|
|
constructor(private readonly _session: BattleSession) {}
|
|
|
|
applyEntryToPlayer(_playerId: number, _player: Player, _entry: ITableSkill): void {
|
|
/* no-op:词条表已删 */
|
|
}
|
|
|
|
materializePlayerSkillsToTowers(_playerId: number, player: Player): void {
|
|
getInBattleBondHost().refreshPlayer(player);
|
|
}
|
|
|
|
materializePlayerSkillsToEntity(entityId: EntityId, player: Player): void {
|
|
getInBattleBondHost().refreshEntity(entityId, player);
|
|
}
|
|
}
|
|
|