]> git.localhorst.tv Git - l2e.git/blobdiff - test-data/test.l2s
use definition of Maxim and Lizard from source
[l2e.git] / test-data / test.l2s
index ef1cce28cf52cfb33164b593fa6dd043eefd6a70..31c4ace27abea7f986edc6222c8c28d566d4b40e 100644 (file)
@@ -5,23 +5,25 @@ Number fiveFramesTime 165
 export Monster lizard {
        name: "Lizard",
        sprite: Sprite {
-               image: "monster.png",
+               // using pathes relative to project root until path resolution is implemented
+               image: "test-data/monster.png",
                size: <64,64>
        },
        level: 1,
        maxHealth: 8,
+       health: 8,
        stats: Stats {
-               attack:         14,
-               defense:         6,
-               strength:        6,
-               agility:         6,
-               intelligence:    6,
-               gut:             6,
-               magicResistance: 6
+               atp: 14,
+               dfp:  6,
+               str:  6,
+               agl:  6,
+               int:  6,
+               gut:  6,
+               mgr:  6
        },
        attackAnimation: SimpleAnimation {
                sprite: Sprite {
-                       image: "attack-monster.png",
+                       image: "test-data/attack-monster.png",
                        size: <96,64>
                },
                frametime: frameTime,
@@ -30,7 +32,7 @@ export Monster lizard {
 }
 
 Sprite maximSprite {
-       image: "maxim.png",
+       image: "test-data/maxim.png",
        size: <64,64>
 }
 export Hero maxim {
@@ -43,13 +45,13 @@ export Hero maxim {
        mana: 20,
        ip: 0,
        stats: Stats {
-               attack:          28,
-               defense:         22,
-               strength:        28,
-               agility:         17,
-               intelligence:    14,
-               gut:            100,
-               magicResistance: 10
+               atp:  28,
+               dfp:  22,
+               str:  28,
+               agl:  17,
+               int:  14,
+               gut: 100,
+               mgr:  10
        },
        attackAnimation: ComplexAnimation {
                sprite: maximSprite,
@@ -97,7 +99,7 @@ export Hero maxim {
        },
        meleeAnimation: SimpleAnimation {
                sprite: Sprite {
-                       image: "melee-maxim.png",
+                       image: "test-data/melee-maxim.png",
                        size: <96,96>
                },
                frametime: twoFramesTime,