Open-Source-Software-Development / Cardtorium

OSSD Project
https://open-source-software-development.github.io/Cardtorium-Website/#/index
GNU General Public License v3.0
6 stars 19 forks source link

Implement `attribute_5` (splash) #58

Closed j-wielg closed 6 months ago

j-wielg commented 6 months ago

Write logic for the splash attribute. After attacking a unit, this attribute should inspect every tile in a 1-tile radius of the enemy which got attacked, and attack every enemy within that radius using half as much attack power as usual. DO NOT call the .attack or .being_attacked methods in the attribute logic (cards affected by splash damage should not be allowed to counter-attack). The damage calculations should resemble those found in Classes/troop.gd

See here for more info on attributes.

Requirements:

mayleenliu commented 6 months ago

This is currently being worked on