Mi2dRPGamEng/tests
Amir Alexander Abdelbaki 05f66b8e00 Add launch_lightning ability with bot-specific shortcircuit effect
- Sample launch_lightning ability (storm_rod item): guaranteed hit on
  the first Character within a configurable range along the aim
  direction, no skill check - burns roughly half the target's body
  parts and inflicts heart_palpitations, which both weighs down
  heart-dependent checks directly and damages the target's
  heart-equivalent organ (new OrganDef.role tag + Character.find_organ
  _by_role, so this works species-agnostically) so its dependents
  degrade too via the existing organ-interaction tick.
- Bot targets (new SpeciesDef.is_synthetic flag) also short-circuit:
  120% organ damage randomly split across every organ they have, plus
  a heavy insight/perception/sleight_of_hand debuff - the intellect
  hit falls out of the existing organ-penalty math since bot_cpu/
  bot_npu are among the randomly-damaged organs.
- ABILITY_CASTERS/_cast_ability now thread aim_direction uniformly so
  directional abilities work through the hand/implant/ability-bar
  casting paths alike.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015mFzQQZYexNaSB69e2oU95
2026-07-15 14:25:02 +02:00
..
test_abilities.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_ability_bar.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_ability_cooldowns.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_actions.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_aim.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_armor.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_blocking.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_character_creator.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_character_fallback.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_character_health.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_character_library.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_character_menu.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_clothing_fit.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_combat.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_combat_ailments.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_companion.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_config.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_construction.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_continuous_movement.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_db_roundtrip.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_defs_loading.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_gamepad.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_health_ticks.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_implants.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_input.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_interaction.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_inventory.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_knockback.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_launch_lightning.py Add launch_lightning ability with bot-specific shortcircuit effect 2026-07-15 14:25:02 +02:00
test_leap.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_map_embedding.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_network.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_organs.py Add launch_lightning ability with bot-specific shortcircuit effect 2026-07-15 14:25:02 +02:00
test_ranged_combat.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_ship_test_map.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_shooting.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_species_samples.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_speed.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_staircases.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_start_screen.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_steering.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00
test_time_warp.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_timing.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_weather.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_wielding.py Initial commit: top-down RPG engine (wgpu-py + glfw) 2026-07-15 13:35:59 +02:00
test_world_creation.py Add ship rotation speed limits, combat ailments, and character creator depth 2026-07-15 14:10:13 +02:00