]> git.localhorst.tv Git - l2e.git/blobdiff - test-data/capsules.l2s
added capsule wheel and table
[l2e.git] / test-data / capsules.l2s
index a4f525ec444f0595956ec09610217dd8c6d05f13..866e76f43828e4fd12990349a27a9bd53de6f4c6 100644 (file)
@@ -6,6 +6,12 @@ Sprite flashSprite {
 export Capsule flash {
        name: "Flash",
        alignment: "LIGHT",
+       alignmentCursor: <-32, 0>,
+       alignmentSprite: Sprite {
+               image: :"capsule-sprites.png",
+               size: <32, 32>,
+               offset: <0, 96>
+       },
        maxHealth: 5,
        stats: Stats {
                atp: 12,
@@ -17,6 +23,101 @@ export Capsule flash {
                mgr: 11
        },
        classes: [ CapsuleClass
+               {
+                       name: "1 TODO",
+                       tribe: "Shaggy",
+                       battleSprite: flashSprite,
+                       meleeAnimation: SimpleAnimation {
+                               sprite: Sprite {
+                                       image: :"melee-maxim.png",
+                                       size: <96,96>
+                               },
+                               frametime: 66, // two "frames"
+                               framecount: 4
+                       },
+                       attackAnimation: ComplexAnimation {
+                               sprite: flashSprite,
+                               frametime: fourFramesTime,
+                               repeat: false,
+                               frames:
+                               [ ComplexAnimationFrame
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> },
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> }
+                               ]
+                       }
+               },
+               {
+                       name: "2 TODO",
+                       tribe: "Sprite",
+                       battleSprite: flashSprite,
+                       meleeAnimation: SimpleAnimation {
+                               sprite: Sprite {
+                                       image: :"melee-maxim.png",
+                                       size: <96,96>
+                               },
+                               frametime: 66, // two "frames"
+                               framecount: 4
+                       },
+                       attackAnimation: ComplexAnimation {
+                               sprite: flashSprite,
+                               frametime: fourFramesTime,
+                               repeat: false,
+                               frames:
+                               [ ComplexAnimationFrame
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> },
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> }
+                               ]
+                       },
+                       healthBoost: 208,
+                       statBoost: Stats {
+                               atp:  38,
+                               dfp:  71,
+                               str:  24,
+                               agl:  78,
+                               int: 195,
+                               gut:  12, // TODO: this is probably higher, but clipped at 199
+                               mgr: 135
+                       }
+               },
+               {
+                       name: "3 TODO",
+                       tribe: "Cupid",
+                       battleSprite: flashSprite,
+                       meleeAnimation: SimpleAnimation {
+                               sprite: Sprite {
+                                       image: :"melee-maxim.png",
+                                       size: <96,96>
+                               },
+                               frametime: 66, // two "frames"
+                               framecount: 4
+                       },
+                       attackAnimation: ComplexAnimation {
+                               sprite: flashSprite,
+                               frametime: fourFramesTime,
+                               repeat: false,
+                               frames:
+                               [ ComplexAnimationFrame
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> },
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> }
+                               ]
+                       },
+                       healthBoost: 208,
+                       statBoost: Stats {
+                               atp:  38,
+                               dfp:  71,
+                               str:  24,
+                               agl:  78,
+                               int: 195,
+                               gut:  12, // TODO: this is probably higher, but clipped at 199
+                               mgr: 135
+                       }
+               },
                {
                        name: "4",
                        tribe: "Twinkle",
@@ -51,6 +152,41 @@ export Capsule flash {
                                gut:  12, // TODO: this is probably higher, but clipped at 199
                                mgr: 135
                        }
+               },
+               {
+                       name: "M TODO",
+                       tribe: "Twinkle",
+                       battleSprite: flashSprite,
+                       meleeAnimation: SimpleAnimation {
+                               sprite: Sprite {
+                                       image: :"melee-maxim.png",
+                                       size: <96,96>
+                               },
+                               frametime: 66, // two "frames"
+                               framecount: 4
+                       },
+                       attackAnimation: ComplexAnimation {
+                               sprite: flashSprite,
+                               frametime: fourFramesTime,
+                               repeat: false,
+                               frames:
+                               [ ComplexAnimationFrame
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> },
+                                       { column: 0, row: 1, disposition: < 0, -16> },
+                                       { column: 0, row: 0, disposition: < 0, -16> }
+                               ]
+                       },
+                       healthBoost: 208,
+                       statBoost: Stats {
+                               atp:  38,
+                               dfp:  71,
+                               str:  24,
+                               agl:  78,
+                               int: 195,
+                               gut:  12, // TODO: this is probably higher, but clipped at 199
+                               mgr: 135
+                       }
                }
        ]
 }