Translate Opportunist, Aggressive and Risky trainer AI
Add the AI_Opportunist, AI_Aggressive and AI_Risky scoring layers with the ROM's stall, reckless and risky tables, HP thresholds, last-wins ties and strict knockout test. AIDamageCalc is ported as a pre-variation damage estimate, including a critical-hit flag left over from an earlier move, which the original also reads. Smart remains the only refused layer, so the rival stays gated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e92936cb9
commit
0d1bedb3b1
10 files changed
+294
-11
No files matched your search
@@ -15,7 +15,10 @@ export const C = {
|
||||
EFFECT_MULTI_HIT: 29,
|
||||
EFFECT_CONVERSION: 30,
|
||||
EFFECT_TOXIC: 33,
|
||||
EFFECT_OHKO: 38,
|
||||
EFFECT_RAZOR_WIND: 39,
|
||||
EFFECT_SUPER_FANG: 40,
|
||||
EFFECT_STATIC_DAMAGE: 41,
|
||||
EFFECT_DOUBLE_HIT: 44,
|
||||
EFFECT_JUMP_KICK: 45,
|
||||
EFFECT_ATTACK_DOWN_2: 58,
|
||||
@@ -54,6 +57,8 @@ export const C = {
|
||||
EFFECT_SUBSTITUTE: 79,
|
||||
EFFECT_LEECH_SEED: 84,
|
||||
EFFECT_DISABLE: 86,
|
||||
EFFECT_LEVEL_DAMAGE: 87,
|
||||
EFFECT_PSYWAVE: 88,
|
||||
EFFECT_ENCORE: 90,
|
||||
EFFECT_SLEEP_TALK: 97,
|
||||
EFFECT_MEAN_LOOK: 106,
|
||||
|
||||
Reference in new issue
Block a user