server: AVA2 conqueror level (ENABLE_CONQUEROR_LEVEL)

- Conqueror level/exp/step/points and the four sungma stats on the player
  (db load/save, simple player, actor add/update packets), POINT_CONQUEROR_*.
- Conqueror maps 129-132 give conqueror exp instead of exp; per-map sungma
  requirements from map/<name>/sungma_attr.txt, sent as GC_SUNGMA_ATTR_UPDATE,
  with the AVA2 damage/defence penalties when below them.
- /conqueror_stat, pc.set_conqueror_level / pc.get_conqueror_level, 9th skills
  176-183 (+ Cheonun affects); DAMAGE_BLOCK is spelled (1 << 3) in char_battle.
- tools/conqueror: schema, skill_proto rows, sungma_attr maps, the
  conqueror_unlock quest (lv 120 login/levelup) and install.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-24 20:06:32 +09:00
co-authored by Claude Opus 5.5
parent 794ac41a41
commit 31ebae050b
33 changed files with 968 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
-- Conqueror (Yohara) level unlock. AVA2 ships pc.set_conqueror_level without a quest that calls it; give
-- conqueror level 1 once a character reaches the max level (the function itself checks gPlayerMaxLevel).
quest conqueror_unlock begin
state start begin
when login or levelup with pc.get_level() >= 120 and pc.get_conqueror_level() == 0 begin
if pc.set_conqueror_level() then
syschat("你已成为征服者!击败成魔地图的怪物可获得征服者经验。")
end
end
end
end