Closed ntseng closed 1 year ago
Though the base mechabee has an example of how to summon more enemies into combat, that implementation causes a circular dependency in this case.
Though the base mechabee has an example of how to summon more enemies into combat, that implementation causes a circular dependency in this case.
Summoning other enemies can probably be made possible by moving action logic into its own dictionary, then keeping string keys of the actions in the enemy files instead of keeping the logic in the files themselves (similar to getting move logic from the equip dictionary). An action dictionary is likely a superior architecture anyways (allowing making Punch less of a special case, and players using enemy moves if game design finds use for that).
Alternatively, the circular dependency can be side stepped by having the Mechaqueen order the Mechabees to do the summoning (which is somewhat more flavorful anyways)
If no mechabees are present, maybe a protocol round should be overwritten by summoning 1 mechabee?
HP: low for boss Element: Earth Comes with n mechabees
Actions:
Schedule: