Files
2nd/10_Wiki/Topic_Programming/Architecture/디아블로_2(Diablo_II).md
T
Antigravity Agent 9148c358d0 docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거
Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를
Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류.

- 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로
  자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거,
  동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거.
- 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming,
  Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business,
  Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로,
  나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는
  title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백).
  원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지.
- 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서.
- 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는
  지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지.
- Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경.
- 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
2026-07-05 00:33:48 +09:00

4.5 KiB
Raw Blame History

id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id title category status canonical_id aliases duplicate_of source_trust_level confidence_score verification_status tags raw_sources last_reinforced github_commit tech_stack
wiki-2026-0508-디아블로-2-diablo-ii 디아블로 2(Diablo II) 10_Wiki/Topics verified self
Diablo II
D2
Diablo 2 Resurrected
none A 0.85 applied
game-design
arpg
loot
blizzard
architecture
2026-05-10 pending
language framework
C++ Custom engine (Diablo II) / Vulkan (Resurrected)

디아블로 2(Diablo II)

매 한 줄

"매 ARPG 의 archetype — 매 random loot + skill tree + hardcore + ladder.". 매 2000 Blizzard North 의 release, 매 isometric 2D sprite 의 era, 매 2021 의 Resurrected 의 modernized 3D rendering, 매 modern ARPG (Path of Exile, Last Epoch, Diablo IV) 의 design DNA.

매 핵심

매 design pillars

  • Random loot tables: magic / rare / set / unique items.
  • Skill trees: 매 class 마다 의 30 skills 의 3 tabs.
  • Difficulty tiers: Normal → Nightmare → Hell.
  • Ladder seasons: 매 fresh economy reset.
  • Hardcore mode: 매 death 의 permanent.

매 architecture

  • Client-server (Battle.net): 매 anti-cheat 의 server-authoritative.
  • Tile-based map generation: 매 procedural dungeon.
  • Sprite system: 매 8 directions × frames × layers.
  • MPQ archive: 매 asset packing format.

매 응용

  1. Loot system 의 modern ARPG influence.
  2. Skill tree 의 RPG genre 의 standard.
  3. Online economy 의 trading mechanics.
  4. Modding scene (Median XL, Path of Diablo).

💻 패턴

Pattern 1 — Loot table weighting (pseudocode → C)

typedef struct { ItemType type; int weight; } LootEntry;
LootEntry table[] = {
  {NORMAL,   60}, {MAGIC, 25}, {RARE, 10},
  {SET,       3}, {UNIQUE, 2}
};
int roll = rand() % 100;
int acc = 0;
for (int i = 0; i < 5; i++) {
  acc += table[i].weight;
  if (roll < acc) return table[i].type;
}

Pattern 2 — Magic find (MF) calculation

// effective_chance = base_chance * (1 + MF/100)
// but with diminishing returns formula
float effective_mf(float mf, float factor) {
    return (mf * factor) / (mf + factor);
}
// Unique factor = 250, Set = 500, Rare = 600

Pattern 3 — Skill synergy (D2 LoD)

// Damage = base * (1 + 0.10 * synergy_skill_level)
int fireball_damage(int level, int fire_bolt_lvl, int meteor_lvl) {
    int base = 18 + level * 4;
    float synergy = 1.0f + 0.10f * (fire_bolt_lvl + meteor_lvl);
    return (int)(base * synergy);
}

Pattern 4 — Item affix prefix/suffix

struct Item {
    BaseType base;
    Affix prefix[3];   // e.g., "of Speed"
    Affix suffix[3];   // e.g., "Cruel"
    int sockets;
};
// Rare = 4-6 affixes, Magic = 1-2

Pattern 5 — Resurrected toggle (legacy ↔ modern render)

// D2R retains original game logic, swaps render layer
if (settings.legacyRender) {
    Render2DSprites(scene);  // original DirectDraw path
} else {
    Render3DRemastered(scene); // Vulkan/D3D12, PBR materials
}

Pattern 6 — Open Battle.net character (insecure, historical)

// "Open" chars stored client-side → trivial to dupe/edit.
// "Closed/Realm" chars stored server-side → authoritative.
// Lesson: server-authoritative state is non-negotiable for online RPGs.

매 결정 기준

상황 Approach
매 modern ARPG design D2 의 loot + skill tree 의 baseline
매 anti-cheat Server-authoritative state
매 retention Ladder / season reset
매 monetization 2026 Cosmetics-only (D2R) vs MTX (D4)

기본값: 매 server-authoritative + 매 seasonal ladder.

🔗 Graph

🤖 LLM 활용

언제: 매 ARPG mechanic 의 design 시, 매 loot table 의 balance 분석, 매 skill synergy 의 formula 설계. 언제 X: 매 specific D2 의 internal undocumented bug 의 정확한 reproduction (data 부족).

안티패턴

  • Client-authoritative state: D2 Open Battle.net 의 mass duping 의 lesson.
  • Power creep: 매 patch 마다 의 damage inflation 의 trivialize content.
  • No drop rate transparency: 매 modern player 의 expectation 위반.
  • Pay-to-win: 매 D2 의 cosmetic-only 의 reputation 의 maintain.

🧪 검증 / 중복

  • Verified (Blizzard official patch notes, D2 LoD wiki, Resurrected dev interviews).
  • 신뢰도 A-.

🕓 Changelog

날짜 변경
2026-05-08 Phase 1
2026-05-10 Manual cleanup — D2 design pillars + loot/skill patterns + Resurrected architecture