]> git.localhorst.tv Git - l2e.git/blobdiff - test-data/capsules.l2s
extracted common capsule base
[l2e.git] / test-data / capsules.l2s
diff --git a/test-data/capsules.l2s b/test-data/capsules.l2s
new file mode 100644 (file)
index 0000000..a4f525e
--- /dev/null
@@ -0,0 +1,56 @@
+Sprite flashSprite {
+       image: :"flash.png",
+       size: <96, 96>
+}
+
+export Capsule flash {
+       name: "Flash",
+       alignment: "LIGHT",
+       maxHealth: 5,
+       stats: Stats {
+               atp: 12,
+               dfp: 18,
+               str:  2,
+               agl: 11,
+               int: 16,
+               gut: 23,
+               mgr: 11
+       },
+       classes: [ CapsuleClass
+               {
+                       name: "4",
+                       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
+                       }
+               }
+       ]
+}