We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a default lua script that allows the opponent to take some HP
function opponentNoteHit(id, direction, noteType, isSustainNote)
if getProperty('health') >= 0.4 then setProperty('health', getProperty('health') - 0.01) end
end
I want to do it when the player's HP is low and when the opponent starts singing, he could kill the player
Lua
Windows x64
No response
The text was updated successfully, but these errors were encountered:
function opponentNoteHit(id, direction, noteType, isSustainNote) if getProperty('health') <= 0.4 then setProperty('health', 0) end end
Sorry, something went wrong.
Thank you very much! It worked!
No branches or pull requests
Describe your problem here.
I have a default lua script that allows the opponent to take some HP
function opponentNoteHit(id, direction, noteType, isSustainNote)
end
I want to do it when the player's HP is low and when the opponent starts singing, he could kill the player
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response
The text was updated successfully, but these errors were encountered: