안녕하세요. 저는 yanfly 엔진을 쓰고 있습니다.
질문드리고 싶은 건 상태창에서 자동 제거 타이밍을 결정하는 Action End,, Turn End 부분인데요.
버프나 DOT류 상태는 문제없이 동작하는 데 배틀러에게 행동 불능을 주는
EX) 스턴, 슬립 등등...
은 -0-;...턴 카운트가 되지 않아서 영원히? 잠들거나 기절해버립니다.
골치가 아파서 얀모에 포스트를 찾아보니
We have a couple of bugfixes today! Though, one of them happens to be an “unfix”. It appears that MV 1.0.1 has added one of my bugfixes to the source code and having a duplicate fix of it within my Core Engine plugin is a bit excessive so the Core Engine has been updated to remove that fix. The Battle Engine Core has also been updated regarding states. Forced Actions now no longer reduce the Action Start and Action End state turns. However, it seems that there was another bug that needed fixing, and this was actually a bug that was found within MV itself.
Apparently, if you have states set to Turn End, they would normally end at the end of the turn as expected. No problems with that. However, if at the end of the turn, you use a Force Action event, this would actually kick the turn battle into gear again and the Turn End would occur again. This means that for each turn that ends with a forced action, states would go down 2 turns as opposed to 1 turn. This problem is now fixed for the Battle Engine Core. However, I may make a separate fix for it in the Core Engine for those who don’t plan on using the Battle Engine Core.
이렇게 되어 있는데;;; 대충 'Turn end 를 쓰면 문제 없지만 Action End를 쓰면 카운트가 두번 되는 버그가 있어서 제대로 동작하지 않는다' 라고 이해했는 데 이게 맞는건가요 ㅠㅠ;;
혹시 해결 방법은 없을까요.
action end는 state에 해당하는 플레이어의 액션이 끝났을때 -1씩 카운트하구요 turn end는 모든 캐릭터가 action을 모두 끝마치고 턴이 끝날때 -1씩 카운트하는거라
기절이나 수면등의 state는 플레이어의 action을 취할 수 없게 만들기 때문에 무한반복이 이뤄지는거 같습니다. removal timing 부분을 turn end로 하시면 해결되실거 같습니다