Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event_index to main_state #644

Merged
merged 1 commit into from
Sep 19, 2021
Merged

Conversation

Shimi9999
Copy link
Contributor

luaスキンで呼び出せるmain_stateモジュールに、イベントの現在の状態のインデックスを返すevent_index(id)関数を追加

例:
ゲージにEXHARDを選択している場合、ゲージのインデックス順は以下の通りなので、main_state.event_index(40)は4を返します。

  • 0 ASSITED EASY
  • 1 EASY
  • 2 NORMAL
  • 3 HARD
  • 4 EXHARD
  • 5 HAZARD

@exch-bms2 exch-bms2 merged commit 35f7958 into exch-bms2:master Sep 19, 2021
@Shimi9999 Shimi9999 deleted the add-event_index branch September 19, 2021 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants