refactor: op -> player

This commit is contained in:
2026-04-15 15:19:58 +08:00
parent 509e121275
commit e5da41c1cb
3 changed files with 22 additions and 22 deletions
@@ -231,7 +231,7 @@ describe('enemyIntentDesert.csv import', () => {
it('should have effects with target, effect ref, and value', () => {
for (const intent of enemyIntentDesertData) {
for (const [target, effect, value] of intent.effects) {
expect(target === 'self' || target === 'opponent').toBe(true);
expect(target === 'self' || target === 'player').toBe(true);
expect(typeof effect === 'string' || typeof effect === 'object').toBe(true);
expect(typeof value).toBe('number');
}