[개조관련] 색색으로 된 무적 반사 코드를 알아보자 ~
페이지 정보
작성자 Aravis 작성일 24-02-06 17:32 조회 834 댓글 0본문
이거 중급 강좌에 넣어야하는지 고급 강좌에 넣어야하는지 잘몰라서
고급 강좌에 한번 넣어봤습니다.
우선 라세츄K나 파워풀 도날드 같은 색색으로 된 무적 반사 코드를 사용하려면
[State ]
]
type=lifeadd
trigger1=!ishelper
trigger1=palno=[7,10]
trigger1=numhelper(7400)=1
trigger1=helper(7400),gethitvar(damage)=[-1000,500]
value=-ceil(helper(7400),gethitvar(damage)/2)
ignorehitpause=1
[state ]
type=lifeadd
trigger1=!ishelper
trigger1=palno=[11,12]
trigger1=numhelper(7400)=1
trigger1=helper(7400),gethitvar(damage)=[1,300]
value=-5
ignorehitpause=1
[state ]
type=varset
trigger1=!ishelper
trigger1=MoveGuarded
trigger1=numenemy
trigger1=!(enemynear,movetype!=H||enemynear,ctrl=1)
var(9)=enemynear,gethitvar(hitcount)
ignorehitpause=1
[state ]
type=varset
trigger1=!ishelper
trigger1=numenemy
trigger1=(enemynear,movetype!=H||enemynear,ctrl=1)
var(9)=0
ignorehitpause=1
[state ]
type=varset
trigger1=!ishelper
trigger1=numenemy
trigger1=!(enemynear,movetype!=H||enemynear,ctrl=1)
var(4)=enemynear,gethitvar(hitcount)-var(9)
ignorehitpause=1
[state ]
type=varset
trigger1=!ishelper
trigger1=numenemy
trigger1=(enemynear,movetype!=H||enemynear,ctrl=1)
var(4)=0
ignorehitpause=1
[State ];댶륂뵯맯뵽뭚
type=varset
triggerall=!ishelper&&alive&&roundstate>1
trigger1=sysvar(2)!=0
trigger2=(var(58)!=-1&&var(58)=var(57))
trigger3=(var(56)!=-1&&var(56)=var(55))
trigger4=(var(54)!=-1&&var(54)=var(53))
trigger5=(var(52)!=-1&&var(52)=var(51))
trigger6=(var(50)!=-1&&var(50)=var(49))
trigger7=(var(48)!=-1&&var(48)=var(47))
trigger8=(var(46)!=-1&&var(46)=var(45))
trigger9=(var(44)!=-1&&var(44)=var(43))
trigger10=(var(42)!=-1&&var(42)=var(58))
trigger11=fvar(10)!=0
trigger12=fvar(11)!=0
trigger13=fvar(12)!=0
trigger14=fvar(13)!=0
trigger15=var(24)!=0
trigger16=var(25)<0
trigger17=var(26)<0
trigger18=var(27)!=0
trigger19=var(30)!=0
sysvar(2)=1
[state ]
type=lifeset
triggerall=!ishelper
trigger1=sysvar(2)!=0
trigger2=numpartner&&roundstate>2
trigger2=partner,alive||lose=0
value=lifemax
ignorehitpause=1
[state ]
type=PalFx
triggerall=!ishelper&&alive
triggerall=GameTime%30=0
trigger1=sysvar(2)!=0
add=0,0,0
sinadd=200,200,200,30
time=30
ignorehitpause=1
[state ]
type=selfstate
trigger1=!ishelper&&alive
trigger1=sysvar(2)!=0
trigger1=stateno!=150
value=150
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
triggerall=roundstate<4
triggerall=sysvar(4)!=gametime+gametime*2+gametime*3-gametime*4
triggerall=sysvar(2)=0
trigger1=time>1200
trigger2=time>300&&roundstate=3
value=52
ignorehitpause=1
이렇게 작성해주면 캐릭터 몸이 색색으로 변하면서 무적 반사가 가능하게 됩니다.
여기서 방어하면서 무적 반사를 날리는 기능을 추가하고 싶다면
[state ]
type=selfstate
triggerall=!ishelper&&alive
triggerall=roundstate<4
triggerall=sysvar(4)=gametime+gametime*2+gametime*3-gametime*4
triggerall=sysvar(2)=0
trigger1=time>2000;궋궘귞궶귪궳귖댶륂
trigger2=(var(17)=[1,5])&&(stateno=[5000,5200]);귺???궬궔귞귘귞귢벍띿궸궼궋궔궶궋
value=52
ignorehitpause=1
[state ]
type=selfstate
triggerall=!ishelper
triggerall=roundstate=4
triggerall=sysvar(4)!=gametime+gametime*2+gametime*3-gametime*4
triggerall=WIN
triggerall=alive
triggerall=sysvar(2)=0
trigger1=stateno!=180
value=180
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper
trigger1=stateno=512
trigger1=sysvar(4)=gametime+gametime*2+gametime*3-gametime*4
value=120
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper
trigger1=alive=0
trigger1=sysvar(4)!=gametime+gametime*2+gametime*3-gametime*4
trigger1=time>100||roundstate>3||(numpartner&&roundstate=2&&var(29)=0)
value=5050+100*(pos Y>1)
ignorehitpause=1
[State ];댶륂뵯맯뵽뭚
type=varset
triggerall=!ishelper&&alive&&roundstate>1
trigger1=sysvar(2)!=0
trigger2=(var(59)<1)||(var(17)!=[0,1]);릐?띿or뜫멄똸둀Lv
trigger2=stateno!=[0,1]
trigger2=stateno!=[10,12]
trigger2=stateno!=20
trigger2=stateno!=40
trigger2=stateno!=45
trigger2=stateno!=[50,52]
trigger2=stateno!=[100,101]
trigger2=stateno!=[105,106]
trigger2=stateno!=[110,111]
trigger2=stateno!=120
trigger2=stateno!=[130,132]
trigger2=stateno!=140
trigger2=stateno!=[150,155]
trigger2=stateno!=170
trigger2=stateno!=175
trigger2=stateno!=180
trigger2=stateno!=190
trigger2=stateno!=[200,203]
trigger2=stateno!=205
trigger2=stateno!=400
trigger2=stateno!=[402,404]
trigger2=stateno!=[600,605]
trigger2=stateno!=[700,701]
trigger2=stateno!=[800,801]
trigger2=stateno!=[803,804]
trigger2=stateno!=[900,901]
trigger2=stateno!=920
trigger2=stateno!=2000
trigger2=stateno!=2200
trigger2=stateno!=[3500,3502]
trigger2=stateno!=[5000,5001]
trigger2=stateno!=[5010,5011]
trigger2=stateno!=5020
trigger2=stateno!=5030
trigger2=stateno!=5035
trigger2=stateno!=5040
trigger2=stateno!=5050
trigger2=stateno!=[5070,5071]
trigger2=stateno!=[5080,5081]
trigger2=stateno!=[5100,5101]
trigger2=stateno!=5110
trigger2=stateno!=5120
trigger2=stateno!=5150
trigger2=stateno!=[5200,5201]
trigger2=stateno!=5210
trigger2=stateno!=5500
trigger2=stateno!=5900
trigger3=var(22)>6;륈돸7됷귖뫯궑귡궴궔궵궎뛩궑궲귖?긌긿깋
trigger3=numhelper(5000)
trigger3=helper(5000),sysvar(2)=1;??긌깛긐궳궖궲귡궔귞빥긌긿깋궼됷뷃븉됀
trigger3=anim=2211&&animtime=0;륈돸뢎귦궯궲궔귞
trigger4=WINKO&&roundstate=2&&numenemy
trigger4=enemy(0),alive||enemy(numenemy>1),alive;멻맯뽰쁚
trigger5=var(22)>12;13됷뽞
trigger5=numenemy
trigger5=(enemy(0),life>enemy(0),lifemax*0.95)||(enemy(numenemy>1),life>enemy(numenemy>1),lifemax*0.95);뙵귡딠뼰궢
trigger5=anim=2211&&animtime=0;륈돸뢎귦궯궲궔귞
sysvar(2)=1
이 코드를 함께 넣으시면 됩니다.
이렇게하면 결과는 이렇게 됩니다.(밑에 영상 참조.)
댓글목록 0
등록된 댓글이 없습니다.