-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
513 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export function generateVersion(config) { | ||
return `export const versionOf${config.name} = '${config.histories[0].version}'`; | ||
} | ||
|
||
export function generateVersionType(config) { | ||
return `export const versionOf${config.name}: string;`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { PluginConfigSchema } from "../../modules/config/configSchema"; | ||
|
||
export function generateVersion(config: PluginConfigSchema) { | ||
return `export const versionOf${config.name} = '${config.histories.find(history => history.version)?.version}'` | ||
} | ||
|
||
export function generateVersionType(config: PluginConfigSchema) { | ||
return `export const versionOf${config.name}: string;`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/codes/ActionDebuffSuccessRate/ActionDebuffSuccessRate.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// <reference path="../../typings/rmmz.d.ts" /> | ||
|
||
declare interface Game_Action { | ||
baseDebuffSuccessRate(): number; | ||
} |
4 changes: 2 additions & 2 deletions
4
...ate/DarkPlasma_ActionDebuffSuccessRate.js → ...ate/DarkPlasma_ActionDebuffSuccessRate.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/codes/AdditionalAttackAnimation/AdditionalAttackAnimation.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// <reference path="../../typings/rmmz.d.ts" /> | ||
|
||
type AdditionalAnimation = { | ||
animation: number; | ||
onlyForSomeEnemies: boolean; | ||
enemies: number[]; | ||
onlyForSomeStates: boolean; | ||
states: number[]; | ||
}; | ||
|
||
declare interface Game_Battler { | ||
isAdditionalAnimationTarget(additionalAnimation: AdditionalAnimation): boolean; | ||
} | ||
|
||
declare interface Window_BattleLog { | ||
showAdditionalAnimation(subject: Game_Battler, targets: Game_Battler[]): void; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// <reference path="../../typings/rmmz.d.ts" /> | ||
|
||
declare interface Game_Action { | ||
minimumDamageValue(target: Game_Battler): number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/// <reference path="../../typings/rmmz.d.ts" /> | ||
|
||
declare interface Game_Temp { | ||
_requestedAnimeLightCharacters: Game_CharacterBase[]; | ||
|
||
requestedAnimeLightCharacter(): Game_CharacterBase|undefined; | ||
requestAnimeLight(character: Game_CharacterBase): void; | ||
} | ||
|
||
declare interface Game_CharacterBase { | ||
animeLightSetting(): Data_AnimeLight|null; | ||
} | ||
|
||
declare interface Game_Event { | ||
hasAnimeLight(): boolean; | ||
isMarkedAsAnimeLight(): boolean; | ||
} | ||
|
||
declare interface Spriteset_Map { | ||
_animeLightSprites: Sprite_AnimeLight[]; | ||
|
||
initAnimeLights(): void; | ||
updateAnimeLight(): void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/// <reference path="../../typings/rmmz.d.ts" /> | ||
|
||
declare interface Game_Event { | ||
_area: Game_EventArea; | ||
|
||
isAreaEvent(): boolean; | ||
setupArea(): void; | ||
} |
Oops, something went wrong.