You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I make it so that every time the opponent hits a note, BF loses a little bit of health? I want to see if I can do this with lua so that I don't need to mess with the Source Code
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:
function opponentNoteHit(id, direction, noteType, isSustainNote)
if getProperty('health') > 0.2 then --prevent opponent from killing by just singing too long
if not isSustainNote then
setProperty('health', getProperty('health')-0.02); --amount to lose on normal notes
else
setProperty('health', getProperty('health')-0.01); --amount to lose on sustain part of notes
end
end
end
Describe your problem here.
How can I make it so that every time the opponent hits a note, BF loses a little bit of health? I want to see if I can do this with lua so that I don't need to mess with the Source Code
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: