Amun's sound fix

This commit is contained in:
ErLullo
2026-01-07 19:24:14 +01:00
parent 7716803ba8
commit cde31770a5
3 changed files with 10 additions and 10 deletions

View File

@@ -158,8 +158,8 @@ class Console(object):
snd.SetMusicVolume(float(arg))
def SetSoundVolume(self, arg):
"Set Effect sound volumn (0 ~ 5)"
snd.SetSoundVolume(int(arg))
"Set Effect sound volumn (0 ~ 1.0)"
snd.SetSoundVolume(float(arg))
def SetSoundScale(self, arg):
"3D Sound scale (default : 200)"
@@ -509,7 +509,7 @@ class Console(object):
chr.testSetComboType(int(type))
def SetSkillGroupFake(self, index):
"""테스트 코드"""
"""<EFBFBD>׽<EFBFBD>Ʈ <20>ڵ<EFBFBD>"""
net.SetSkillGroupFake(int(index))
self.Print(" SetSkillGroupFake : %d" % int(index))
@@ -740,7 +740,7 @@ class ConsoleWindow(ui.Window):
def CloseWindow(self):
self.Hide()
## NOTE : 이곳에서 Command를 처리합니다 - [levites]
## NOTE : <EFBFBD>̰<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Command<EFBFBD><EFBFBD> ó<><C3B3><EFBFBD>մϴ<D5B4> - [levites]
def ProcessCommand(self, text):
if '/' == text[0]:

View File

@@ -90,7 +90,7 @@ class OptionDialog(ui.ScriptWindow):
self.SetCenterPosition()
self.ctrlMusicVolume.SetSliderPos(float(systemSetting.GetMusicVolume()))
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()) / 5.0)
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()))
self.titleBar.SetCloseEvent(ui.__mem_func__(self.Close))
self.ctrlMusicVolume.SetEvent(ui.__mem_func__(self.OnChangeMusicVolume))
@@ -288,8 +288,8 @@ class OptionDialog(ui.ScriptWindow):
def OnChangeSoundVolume(self):
pos = self.ctrlSoundVolume.GetSliderPos()
snd.SetSoundVolumef(pos)
systemSetting.SetSoundVolumef(pos)
snd.SetSoundVolume(pos)
systemSetting.SetSoundVolume(pos)
def __OnChangeMobilePhoneNumber(self):

View File

@@ -89,7 +89,7 @@ class OptionDialog(ui.ScriptWindow):
self.ctrlMusicVolume.SetSliderPos(float(systemSetting.GetMusicVolume()))
self.ctrlMusicVolume.SetEvent(ui.__mem_func__(self.OnChangeMusicVolume))
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()) / 5.0)
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()))
self.ctrlSoundVolume.SetEvent(ui.__mem_func__(self.OnChangeSoundVolume))
# self.ctrlShadowQuality.SetSliderPos(float(systemSetting.GetShadowLevel()) / 5.0)
@@ -211,8 +211,8 @@ class OptionDialog(ui.ScriptWindow):
def OnChangeSoundVolume(self):
pos = self.ctrlSoundVolume.GetSliderPos()
snd.SetSoundVolumef(pos)
systemSetting.SetSoundVolumef(pos)
snd.SetSoundVolume(pos)
systemSetting.SetSoundVolume(pos)
def OnChangeShadowQuality(self):
pos = self.ctrlShadowQuality.GetSliderPos()