feat: add grid-inventory
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# targetType can be one of: single, none
|
||||
|
||||
type,name,shape,costType,costCount,targetType,desc
|
||||
string,string,string,string,int,string,string
|
||||
string,string,string,'energy'|'uses',int,'single'|'none',string
|
||||
weapon,剑,oee,energy,1,single,【攻击2】【攻击2】
|
||||
weapon,长斧,oees,energy,2,none,对全体【攻击5】
|
||||
weapon,长枪,oeee,energy,1,single,【攻击2】【攻击2】【攻击2】
|
||||
|
||||
|
@@ -2,11 +2,13 @@ type HeroItemFighter1Table = readonly {
|
||||
readonly type: string;
|
||||
readonly name: string;
|
||||
readonly shape: string;
|
||||
readonly costType: string;
|
||||
readonly costType: "energy" | "uses";
|
||||
readonly costCount: number;
|
||||
readonly targetType: string;
|
||||
readonly targetType: "single" | "none";
|
||||
readonly desc: string;
|
||||
}[];
|
||||
|
||||
export type HeroItemFighter1 = HeroItemFighter1Table[number];
|
||||
|
||||
declare const data: HeroItemFighter1Table;
|
||||
export default data;
|
||||
|
||||
Reference in New Issue
Block a user