Skip to content

Battle ~ Test ~ Moves ~ Items ~ Equipment ~ Design Document

nicholaswlee edited this page May 22, 2022 · 8 revisions

Battle Testing Moves, Items, and Equipment Design Document

There have been a lot file changes and ways that battles have changed. We need to implement a couple more tests to allow for all of our code base to be tested.

test_battle_ai.c

critical_chance

We want to make sure critical damage occurs at the proper chances.

mag_damage

We would like to ensure magical damage is calculated correctly

phys_damage

We would like to ensure physical damage is calculated correctly

crit_damage

We would like to ensure critical damage is calculated correctly.

test_battle_default_objects.c

default_equip_weapon

We would like to test to make sure a weapons stats are applied correctly

default_equip_accessory

We would like to test to make sure a accessory stats are applied correctly

default_equip_armor

We would like to test to make sure a armor stats are applied correctly

default_equip_equipement_sets

We would like to test to make sure that different equipment sets are applied correctly

default_equip_offensive_item

We would like to test offensive items to make sure they debut correctly.

test_battle_flow.c

set_battle_player

Needs to be changed to test for battle equipment.

set_enemy

Needs to be changed to test for battle equipment.

set_battle

Needs to be changed to test for battle equipment for both player and NPC

do_damage_physical_battle_flow_move

Need to test a physical damaging move is executed properly.

do_damage_magical_battle_flow_move

Need to test a magical damaging move is executed properly.

do_stat_change_single_battle_flow_move

Need to test a single stat_changing move is executed properly.

do_stat_change_both_battle_flow_move

Need to test a both stat_changing move is executed properly.

do_damage_stat_change_battle_flow_move

Need to test a damaging and stat_changing move is executed properly.

do_stat_change_single_enemy_make_move

Need to test a single stat_changing move is executed properly.

do_stat_change_both_enemy_make_move

Need to test a both stat_changing move is executed properly.

do_damage_stat_change_enemy_make_move

Need to test a damaging and stat_changing move is executed properly.

calculate_accuracy

Need to test accuracy and how it is calculated.

test_battle_flow_structs.c

test_battle_logic.c

test_battle_move_maker.c

test_battle_moves.c

test_battle_print.c

test_battle_state.c

Clone this wiki locally