wushenghua
|
2127d1318c
|
feat: talent behaviors drive real combat decisions (stage C complete)
Continued PRODUCTION/51. Talent `behavior` text (previously display-only) now
rewrites skill effects so the battle genuinely differs when a talent is active:
- talent_behavior.py / .gd: 11 concrete behaviors -> real effect rewrites
(lowest_hp target, +1 chain jump, armor stack, vuln window, poison stack,
duration extend, extra hit, cooldown x0.75, click-crit energy, pierce extra,
splash). 2 meta rules (auto tier / unlock-alternative) honestly recorded as
out-of-combat, not faked into damage numbers.
- hero_skill_loader + skill_runtime gained optional talent/target_mode params;
empty profile -> identity. game_root.gd injects active talents like growth
modifiers on the live P3a path.
- test_talent_behavior.py PASS 6 checks: every behavior changes effects,
lowest_hp really picks the lowest-HP enemy, cooldown talent changes battle.
- check_talent_behavior_parity.py PASS 6 cases python==gd.
- run_talent_behavior_ui_test.sh PASS (real game_root): cooldown talent
shortens intervals [2.0,3.0,100,6] -> [1.5,2.25,75,4.5], skill events 19->22.
- 3 new gates; full P2_CHECKS_PASS (75 gates), identity preserved.
This makes the talent system match its descriptions ("目标改为最低血量" really
retargets; "冷却缩短" really speeds cooldowns) instead of all collapsing into
stat numbers. Stages D-E (edict rules, enemy/boss mechanics) remain.
prototype/ untracked.
|
2026-11-19 13:48:32 +08:00 |
|