добавлен последний пункт

видимо, я к концу подзабыл что там ещё надо
This commit is contained in:
2026-09-17 06:21:30 +00:00
parent 2438d0bf22
commit f124dea43f
+10 -1
View File
@@ -136,6 +136,7 @@ Table attack_energy_cost {
cost_quantity int [default: 1] // Количество энергии (например, 3 единицы Огня)
}
// pokemon_attribute: Хранит модификаторы урона покемона против определенных стихий. Связь Многие-ко-Многим. (Уязвимость и Сопротивление)
Table pokemon_attribute {
attribute_id int [pk]
attribute_pokemon_card_id int [unique]
@@ -144,6 +145,11 @@ Table pokemon_attribute {
attribute_modifier_value text // Обозначение изменения урона (Пример: 'x2', '-20', '-30')
}
// trainer_mechanic_link: Промежуточная таблица (Многие-ко-Многому). Связывает карточку тренера с ее скрытыми игровыми правилами движка.
Table trainer_mechanic_link {
mechanic_link_trainer_card_id int [pk]
mechanic_link_mechanic_id int
}
Ref: "pokedex_entry"."entry_pokedex_number" ?>? "pokemon_species"."species_pokedex_number"
@@ -170,4 +176,7 @@ Ref: "attack_energy_cost"."cost_link_id" ?>? "pokemon_attack_link"."link_id"
Ref: "attack_energy_cost"."cost_energy_type_id" ?>? "energy_type"."energy_type_id"
Ref: "pokemon_card"."pokemon_card_id" ?-? "pokemon_attribute"."attribute_pokemon_card_id"
Ref: "energy_type"."energy_type_id" ?-? "pokemon_attribute"."attribute_energy_type_id"
Ref: "energy_type"."energy_type_id" ?-? "pokemon_attribute"."attribute_energy_type_id"
Ref: "trainer_mechanic_link"."mechanic_link_mechanic_id" ?>? "game_mechanic"."mechanic_id"
Ref: "trainer_card"."trainer_card_id" -? "trainer_mechanic_link"."mechanic_link_trainer_card_id"