]> git.localhorst.tv Git - l2e.git/blob - test-data/capsules.l2s
a4f525ec444f0595956ec09610217dd8c6d05f13
[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         maxHealth: 5,
10         stats: Stats {
11                 atp: 12,
12                 dfp: 18,
13                 str:  2,
14                 agl: 11,
15                 int: 16,
16                 gut: 23,
17                 mgr: 11
18         },
19         classes: [ CapsuleClass
20                 {
21                         name: "4",
22                         tribe: "Twinkle",
23                         battleSprite: flashSprite,
24                         meleeAnimation: SimpleAnimation {
25                                 sprite: Sprite {
26                                         image: :"melee-maxim.png",
27                                         size: <96,96>
28                                 },
29                                 frametime: 66, // two "frames"
30                                 framecount: 4
31                         },
32                         attackAnimation: ComplexAnimation {
33                                 sprite: flashSprite,
34                                 frametime: fourFramesTime,
35                                 repeat: false,
36                                 frames:
37                                 [ ComplexAnimationFrame
38                                         { column: 0, row: 1, disposition: < 0, -16> },
39                                         { column: 0, row: 0, disposition: < 0, -16> },
40                                         { column: 0, row: 1, disposition: < 0, -16> },
41                                         { column: 0, row: 0, disposition: < 0, -16> }
42                                 ]
43                         },
44                         healthBoost: 208,
45                         statBoost: Stats {
46                                 atp:  38,
47                                 dfp:  71,
48                                 str:  24,
49                                 agl:  78,
50                                 int: 195,
51                                 gut:  12, // TODO: this is probably higher, but clipped at 199
52                                 mgr: 135
53                         }
54                 }
55         ]
56 }