shiny-cuty-excel-chiffon/data/e320_clinched.asd

31 lines
1.6 KiB
Common Lisp
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*start
[dispsize width=80 height=112 centerpos=40 baseline=0]
[state enablemove=false enableAttack=false]
[disp left=0 top=0 opacity=255][hit rect="(5,9,66,95)"]
[wait frame=10]
*loop
[wait frame=5]
[eval exp="mp.p = sprite.targetPlayer"]
[if exp="sprite.inverse==mp.p.inverse"]
[s]
[endif]
[if exp="mp.p.nowSpriteId==stClinching && sprite.lockedCount==0"]
[eval exp="mp.p.inverse = intrandom(0,1)"]
[eval exp="mp.p.nowSpriteId=stClinched"]
[eval exp="mp.p.damage.kind=atkHold"]
[eval exp="mp.p.damage.strength=500"]
[eval exp="mp.p.damage.tick=bao.tickCount"]
[eval exp="mp.p.damageFrom=sprite"]
[eval exp="mp.p.releaseStrength = 0"]
[eval exp="sprite.invincibleCount=15"]
[eval exp="sprite.clinch()"]
[endif]
[jump target=*loop]
;[eval exp="sprite.clinch()"]