Go-piratia Posted October 30, 2023 Share Posted October 30, 2023 variable.lua: MapExpZero = {} MapExpZero["Карта"] = true MapExpZero["Карта2"] = true MapExpZero["Карта3"] = true exp_and_level.lua: Находим функцию: function ShareTeamExp ( dead , team_atker , dead_exp , The_Killer) И в ней находим строчку: exp = exp + exp_up К ней добавляем: exp = exp + exp_up* zero_exp Затем выше этой строчки добавим код: zero_exp = 1 local map_name = GetChaMapName (TurnToCha(t[i]) ) if(MapExpZero[map_name] ~= nil)then zero_exp = 0 end В итоге у Вас должно получиться так: zero_exp = 1 local map_name = GetChaMapName (TurnToCha(t[i]) ) if(MapExpZero[map_name] ~= nil)then zero_exp = 0 end exp = exp + exp_up* zero_exp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.