X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=test-data%2Fcapsules.l2s;fp=test-data%2Fcapsules.l2s;h=a4f525ec444f0595956ec09610217dd8c6d05f13;hb=11cf419b542070def1d0edaa69d2389ab1ab427b;hp=0000000000000000000000000000000000000000;hpb=2255d436a0c2acc10b015827366a72b2ece86094;p=l2e.git diff --git a/test-data/capsules.l2s b/test-data/capsules.l2s new file mode 100644 index 0000000..a4f525e --- /dev/null +++ b/test-data/capsules.l2s @@ -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 + } + } + ] +}