https://forums.rpgmakerweb.com/index.php?threads/adding-depth-to-your-action-sequences.92967/





얀플라이 이발


https://forums.rpgmakerweb.com/index.php?threads/how-can-i-add-state-considering-targets-state-rate-in-yanfly-action-sequence.63836/




yanfly 메모장 명령어 


https://docs.google.com/spreadsheets/d/1N5jG2xN_K6ker0GOhQkk2sTCiJg9V08OOXqi9N6mVyo/edit#gid=1019998625






yanfly lunatic

얀플라이 eval

Action Sequences 

라고 불려짐







<Custom Show Eval>


if (user.isStateAffected(37)) {


  visible = false;


} else {


  visible = true;


}


</Custom Show Eval>




이렇게 하면 특정 상태이상일 때 이 스킬이 안보여짐






<Custom HP Cost>


cost = Math.ceil(a.hp * 0.25)


</Custom HP Cost>



a.hp * 0.25










내가 상태이상 1일 때


적에게 상태이상 1 걸리게 하기


내가 상태이상1 아니면


적에게 상태이상 걸리게 할 확률 20퍼




<Pre-Damage Eval>


//Check if user has State 1


if (user.isStateAffected(1)){


//Change X to your Poison state below. State is applied when damage is deal with 100% chance


target.addState(x);}


else{


//Make a random number for 20% chance when user does not have State 1


if (Math.random() < 0.2){


//Change X to your Poison state below


target.addState(x);}}


</Pre-Damage Eval>







yanfly action sequence 얀플라이 액션 시퀀스




MOTION WALK: target


MOTION STANDBY: target


MOTION CHANT: target


MOTION GUARD: target


MOTION DAMAGE: target


MOTION EVADE: target


MOTION ATTACK: target


MOTION THRUST: target


MOTION SWING: target


MOTION MISSILE: target


MOTION SKILL: target


MOTION SPELL: target


MOTION ITEM: target


MOTION ESCAPE: target


MOTION VICTORY: target


MOTION DYING: target


MOTION ABNORMAL: target


MOTION SLEEP: target


MOTION DEAD: target







<Target Action>


motion swing: user


perform action


motion wait: user


action animation: target


wait for animation


action effect: target


death break


perform finish


</Target Action>








<Setup Action>


display action


camera focus: user


zoom: 150%, 20


camera offset: right, 50


immortal: targets, true


</Setup Action>

반응형
Posted by 이름이 익명
: