74 lines
4.1 KiB
Common Lisp
74 lines
4.1 KiB
Common Lisp
*start
|
||
|
||
|
||
[dispsize width=134 height=126]
|
||
[state enablemove=false enableattack=false]
|
||
|
||
[ontrigger name=landing target=*landing1]
|
||
|
||
[move path="(100,0, 60)" xaccel=1 haccel=-1 frame=6]
|
||
[move path="(120,0,-60)" xaccel=-1 haccel=1 frame=6]
|
||
|
||
[disp left=0 top=0 opacity=255][wait frame=4]
|
||
[disp left=1 top=0 opacity=255][wait frame=4]
|
||
[disp left=2 top=0 opacity=255]
|
||
|
||
; 落下する敵に、敵に対する攻撃力を付加
|
||
[effect storage='e110_thrown1_e' return='mp.e' kind='chiffon']
|
||
|
||
[s]
|
||
|
||
*landing1
|
||
[eval exp="mp.e.layer.trigger('end')" cond="mp.e!==void && isvalid mp.e"]
|
||
|
||
[playse storage=se211]
|
||
[quake frame=10 vmax=5]
|
||
[ontrigger name=landing target=*landing2]
|
||
|
||
[eval exp="sprite.HP-=getAttackStrength(60),sprite.damage.tick=bao.tickCount"]
|
||
|
||
[image id=stDamage2 num=2]
|
||
[dispsize width=158 height=54]
|
||
|
||
[disp left=0 top=1 opacity=255][hit rect="(17,53,145,54)"]
|
||
[move path=(20,0,20) haccel=-1 frame=5][wait frame=5]
|
||
[disp left=0 top=0 opacity=255][hit rect="(17,53,145,54)"]
|
||
[move path=(20,0,-20) haccel=1 frame=5]
|
||
[s]
|
||
|
||
*landing2
|
||
[ontrigger name=landing target=*landing3]
|
||
|
||
[disp left=0 top=1 opacity=255][hit rect="(17,53,145,54)"]
|
||
[move path=(5,0,6) haccel=-1 frame=5][wait frame=5]
|
||
[disp left=0 top=0 opacity=255][hit rect="(17,53,145,54)"]
|
||
[move path=(5,0,-6) haccel=1 frame=5]
|
||
[s]
|
||
|
||
*landing3
|
||
|
||
[if exp="sprite.HP > 0"]
|
||
[wait frame=15]
|
||
[load id="stStandUp"]
|
||
[endif]
|
||
|
||
[wait frame=15]
|
||
[del]
|
||
[eval exp="sf.enemyKillCount++"]
|
||
|
||
[load id=stDown]
|
||
|
||
;[disp left=3 top=0 opacity=235][wait frame=3]
|
||
;[disp left=3 top=0 opacity=215][wait frame=3]
|
||
;[disp left=3 top=0 opacity=195][wait frame=3]
|
||
;[disp left=3 top=0 opacity=175][wait frame=3]
|
||
;[disp left=3 top=0 opacity=155][wait frame=3]
|
||
;[disp left=3 top=0 opacity=135][wait frame=3]
|
||
;[disp left=3 top=0 opacity=115][wait frame=3]
|
||
;[disp left=3 top=0 opacity= 95][wait frame=3]
|
||
;[disp left=3 top=0 opacity= 75][wait frame=3]
|
||
;[disp left=3 top=0 opacity= 55][wait frame=3]
|
||
;[disp left=3 top=0 opacity= 35][wait frame=3]
|
||
;[disp left=3 top=0 opacity= 15][wait frame=3]
|
||
;[disp left=3 top=0 opacity= 0][wait frame=3]
|
||
;
|