]> git.localhorst.tv Git - l2e.git/blob - test-data/capsules.l2s
added capsule wheel and table
[l2e.git] / test-data / capsules.l2s
1 Sprite flashSprite {
2         image: :"flash.png",
3         size: <96, 96>
4 }
5
6 export Capsule flash {
7         name: "Flash",
8         alignment: "LIGHT",
9         alignmentCursor: <-32, 0>,
10         alignmentSprite: Sprite {
11                 image: :"capsule-sprites.png",
12                 size: <32, 32>,
13                 offset: <0, 96>
14         },
15         maxHealth: 5,
16         stats: Stats {
17                 atp: 12,
18                 dfp: 18,
19                 str:  2,
20                 agl: 11,
21                 int: 16,
22                 gut: 23,
23                 mgr: 11
24         },
25         classes: [ CapsuleClass
26                 {
27                         name: "1 TODO",
28                         tribe: "Shaggy",
29                         battleSprite: flashSprite,
30                         meleeAnimation: SimpleAnimation {
31                                 sprite: Sprite {
32                                         image: :"melee-maxim.png",
33                                         size: <96,96>
34                                 },
35                                 frametime: 66, // two "frames"
36                                 framecount: 4
37                         },
38                         attackAnimation: ComplexAnimation {
39                                 sprite: flashSprite,
40                                 frametime: fourFramesTime,
41                                 repeat: false,
42                                 frames:
43                                 [ ComplexAnimationFrame
44                                         { column: 0, row: 1, disposition: < 0, -16> },
45                                         { column: 0, row: 0, disposition: < 0, -16> },
46                                         { column: 0, row: 1, disposition: < 0, -16> },
47                                         { column: 0, row: 0, disposition: < 0, -16> }
48                                 ]
49                         }
50                 },
51                 {
52                         name: "2 TODO",
53                         tribe: "Sprite",
54                         battleSprite: flashSprite,
55                         meleeAnimation: SimpleAnimation {
56                                 sprite: Sprite {
57                                         image: :"melee-maxim.png",
58                                         size: <96,96>
59                                 },
60                                 frametime: 66, // two "frames"
61                                 framecount: 4
62                         },
63                         attackAnimation: ComplexAnimation {
64                                 sprite: flashSprite,
65                                 frametime: fourFramesTime,
66                                 repeat: false,
67                                 frames:
68                                 [ ComplexAnimationFrame
69                                         { column: 0, row: 1, disposition: < 0, -16> },
70                                         { column: 0, row: 0, disposition: < 0, -16> },
71                                         { column: 0, row: 1, disposition: < 0, -16> },
72                                         { column: 0, row: 0, disposition: < 0, -16> }
73                                 ]
74                         },
75                         healthBoost: 208,
76                         statBoost: Stats {
77                                 atp:  38,
78                                 dfp:  71,
79                                 str:  24,
80                                 agl:  78,
81                                 int: 195,
82                                 gut:  12, // TODO: this is probably higher, but clipped at 199
83                                 mgr: 135
84                         }
85                 },
86                 {
87                         name: "3 TODO",
88                         tribe: "Cupid",
89                         battleSprite: flashSprite,
90                         meleeAnimation: SimpleAnimation {
91                                 sprite: Sprite {
92                                         image: :"melee-maxim.png",
93                                         size: <96,96>
94                                 },
95                                 frametime: 66, // two "frames"
96                                 framecount: 4
97                         },
98                         attackAnimation: ComplexAnimation {
99                                 sprite: flashSprite,
100                                 frametime: fourFramesTime,
101                                 repeat: false,
102                                 frames:
103                                 [ ComplexAnimationFrame
104                                         { column: 0, row: 1, disposition: < 0, -16> },
105                                         { column: 0, row: 0, disposition: < 0, -16> },
106                                         { column: 0, row: 1, disposition: < 0, -16> },
107                                         { column: 0, row: 0, disposition: < 0, -16> }
108                                 ]
109                         },
110                         healthBoost: 208,
111                         statBoost: Stats {
112                                 atp:  38,
113                                 dfp:  71,
114                                 str:  24,
115                                 agl:  78,
116                                 int: 195,
117                                 gut:  12, // TODO: this is probably higher, but clipped at 199
118                                 mgr: 135
119                         }
120                 },
121                 {
122                         name: "4",
123                         tribe: "Twinkle",
124                         battleSprite: flashSprite,
125                         meleeAnimation: SimpleAnimation {
126                                 sprite: Sprite {
127                                         image: :"melee-maxim.png",
128                                         size: <96,96>
129                                 },
130                                 frametime: 66, // two "frames"
131                                 framecount: 4
132                         },
133                         attackAnimation: ComplexAnimation {
134                                 sprite: flashSprite,
135                                 frametime: fourFramesTime,
136                                 repeat: false,
137                                 frames:
138                                 [ ComplexAnimationFrame
139                                         { column: 0, row: 1, disposition: < 0, -16> },
140                                         { column: 0, row: 0, disposition: < 0, -16> },
141                                         { column: 0, row: 1, disposition: < 0, -16> },
142                                         { column: 0, row: 0, disposition: < 0, -16> }
143                                 ]
144                         },
145                         healthBoost: 208,
146                         statBoost: Stats {
147                                 atp:  38,
148                                 dfp:  71,
149                                 str:  24,
150                                 agl:  78,
151                                 int: 195,
152                                 gut:  12, // TODO: this is probably higher, but clipped at 199
153                                 mgr: 135
154                         }
155                 },
156                 {
157                         name: "M TODO",
158                         tribe: "Twinkle",
159                         battleSprite: flashSprite,
160                         meleeAnimation: SimpleAnimation {
161                                 sprite: Sprite {
162                                         image: :"melee-maxim.png",
163                                         size: <96,96>
164                                 },
165                                 frametime: 66, // two "frames"
166                                 framecount: 4
167                         },
168                         attackAnimation: ComplexAnimation {
169                                 sprite: flashSprite,
170                                 frametime: fourFramesTime,
171                                 repeat: false,
172                                 frames:
173                                 [ ComplexAnimationFrame
174                                         { column: 0, row: 1, disposition: < 0, -16> },
175                                         { column: 0, row: 0, disposition: < 0, -16> },
176                                         { column: 0, row: 1, disposition: < 0, -16> },
177                                         { column: 0, row: 0, disposition: < 0, -16> }
178                                 ]
179                         },
180                         healthBoost: 208,
181                         statBoost: Stats {
182                                 atp:  38,
183                                 dfp:  71,
184                                 str:  24,
185                                 agl:  78,
186                                 int: 195,
187                                 gut:  12, // TODO: this is probably higher, but clipped at 199
188                                 mgr: 135
189                         }
190                 }
191         ]
192 }