You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/AutomatedTesting/Gem/PythonTests/Blast/tests/Blast_ActorSplitsAfterRadia...

26 lines
946 B
Python

"""
Copyright (c) Contributors to the Open 3D Engine Project.
For complete copyright and license terms please see the LICENSE at the root of this distribution.
SPDX-License-Identifier: Apache-2.0 OR MIT
"""
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
def Blast_ActorSplitsAfterRadialDamage():
from BaseDamageTest import base_run as internal_run
from BlastUtils import Constants
def RadialDamage(target_id, position):
azlmbr.destruction.BlastFamilyDamageRequestBus(azlmbr.bus.Event, "Radial Damage", target_id,
position, Constants.DAMAGE_MIN_RADIUS,
Constants.DAMAGE_MAX_RADIUS, Constants.DAMAGE_AMOUNT)
internal_run(RadialDamage)
if __name__ == "__main__":
from editor_python_test_tools.utils import Report
Report.start_test(Blast_ActorSplitsAfterRadialDamage)