- MSW 로컬 워크스페이스 데이터(Global/RootDesk/map/ui) 형상관리 시작 - Slay the Spire 풍 덱빌더 전투 프레임워크 초안 포함 - README.md: 협업(로컬 워크스페이스+git) 방식·구조·프레임워크 현황 문서화 - .gitignore: Authorization 토큰 포함된 .mcp.json/.codex 제외 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
84 lines
2.1 KiB
Plaintext
84 lines
2.1 KiB
Plaintext
{
|
|
"Id": "",
|
|
"GameId": "",
|
|
"EntryKey": "codeblock://playerhit",
|
|
"ContentType": "x-mod/codeblock",
|
|
"Content": "",
|
|
"Usage": 0,
|
|
"UsePublish": 1,
|
|
"UseService": 0,
|
|
"CoreVersion": "26.5.0.0",
|
|
"StudioVersion": "0.1.0.0",
|
|
"DynamicLoading": 0,
|
|
"ContentProto": {
|
|
"Use": "Json",
|
|
"Json": {
|
|
"CoreVersion": {
|
|
"Major": 0,
|
|
"Minor": 2
|
|
},
|
|
"ScriptVersion": {
|
|
"Major": 1,
|
|
"Minor": 3
|
|
},
|
|
"Description": "",
|
|
"Id": "PlayerHit",
|
|
"Language": 1,
|
|
"Name": "PlayerHit",
|
|
"Type": 4,
|
|
"Source": 1,
|
|
"Target": "MOD.Core.HitComponent",
|
|
"Properties": [
|
|
{
|
|
"Type": "number",
|
|
"DefaultValue": "1",
|
|
"SyncDirection": 0,
|
|
"Attributes": [
|
|
{
|
|
"$type": "MOD.Core.Script.MinValueScriptAttribute, MOD.Core",
|
|
"Value": 0.0
|
|
}
|
|
],
|
|
"Name": "ImmuneCooldown"
|
|
},
|
|
{
|
|
"Type": "number",
|
|
"DefaultValue": "0",
|
|
"SyncDirection": 0,
|
|
"Attributes": [
|
|
{
|
|
"$type": "MOD.Core.Script.HideFromInspectorScriptAttribute, MOD.Core"
|
|
}
|
|
],
|
|
"Name": "LastHitTime"
|
|
}
|
|
],
|
|
"Methods": [
|
|
{
|
|
"Return": {
|
|
"Type": "boolean",
|
|
"DefaultValue": null,
|
|
"SyncDirection": 0,
|
|
"Attributes": [],
|
|
"Name": null
|
|
},
|
|
"Arguments": [
|
|
{
|
|
"Type": "string",
|
|
"DefaultValue": null,
|
|
"SyncDirection": 0,
|
|
"Attributes": [],
|
|
"Name": "attackInfo"
|
|
}
|
|
],
|
|
"Code": "local currentTime = _UtilLogic.ElapsedSeconds\nif self.LastHitTime + self.ImmuneCooldown < currentTime then\n\tself.LastHitTime = _UtilLogic.ElapsedSeconds\n\treturn true\nend\n\nreturn false",
|
|
"Scope": 2,
|
|
"ExecSpace": 0,
|
|
"Attributes": [],
|
|
"Name": "IsHitTarget"
|
|
}
|
|
],
|
|
"EntityEventHandlers": []
|
|
}
|
|
}
|
|
} |