이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
가입하기
로그인
gitlord
/
isleward
의 미러
https://gitlab.com/Isleward/isleward.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
203
위키
활동
소스 검색
work
1993-leagues
Shaun
7 달 전
부모
e30fc1a191
커밋
32d0dcce4d
3개의 변경된 파일
과
5개의 추가작업
그리고
5개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/client/ui/templates/characters/styles.less
+3
-3
src/server/config/consts.js
+1
-1
src/server/world/threadManager.js
+ 1
- 1
src/client/ui/templates/characters/styles.less
파일 보기
@@ -62,7 +62,7 @@
align-items: center;
.sprite {
width:
8
px;
width:
7.9
px;
height: 8px;
transform-origin: 50% 50%;
transform: scale(16);
+ 3
- 3
src/server/config/consts.js
파일 보기
@@ -16,13 +16,13 @@ module.exports = {
hpMults: [0.1, 0.2, 0.4, 0.7, 0.78, 0.91, 1.16, 1.19, 1.65, 2.36, 3.07, 3.55, 4.1, 4.85, 5.6, 5.9, 6.5, 7.1, 7.9, 12, 15],
//How far a player can see objects horizontally
viewDistanceX: 2
5
,
viewDistanceX:
3
2,
//How far a player can see objects vertically
viewDistanceY: 1
4
,
viewDistanceY: 1
7
,
//How many milliseconds to wait to kill a thread after it's been empty
destroyThreadWhenEmptyForMs: 10
* 60 * 1
000,
destroyThreadWhenEmptyForMs: 10000,
init: function (threadArgs) {
const emBeforeGetConsts = {
+ 1
- 1
src/server/world/threadManager.js
파일 보기
@@ -208,7 +208,7 @@ const getThread = async ({ zoneName, zoneId, obj }) => {
if (!map)
map = mapList.find(m => m.name === clientConfig.config.defaultZone);
let thread = threads.find(t => t.id === zoneId && t.name === zoneName);
let thread = threads.find(t =>
(zoneId === null ||
t.id === zoneId
)
&& t.name === zoneName);
//Maybe this player has been in a thread for this map before
if (!thread)
쓰기
미리보기
불러오는 중...
취소
저장