Line 171: |
Line 171: |
| elseif self._card_reference then | | elseif self._card_reference then |
| Ship = Ship or require(self._constructor_module) | | Ship = Ship or require(self._constructor_module) |
− | return Ship:create_from_reference(self._card_reference, self):card() | + | return Ship:create_from_reference(self._card_reference, self):card(hd) |
| end | | end |
| local api_id, simple_naming = self:api_id(), self:simple_naming() | | local api_id, simple_naming = self:api_id(), self:simple_naming() |
Line 186: |
Line 186: |
| elseif self._card_damaged_reference then | | elseif self._card_damaged_reference then |
| Ship = Ship or require(self._constructor_module) | | Ship = Ship or require(self._constructor_module) |
− | return Ship:create_from_reference(self._card_damaged_reference, self):card_damaged() | + | return Ship:create_from_reference(self._card_damaged_reference, self):card_damaged(hd) |
| end | | end |
| local api_id, simple_naming = self:api_id(), self:simple_naming() | | local api_id, simple_naming = self:api_id(), self:simple_naming() |
Line 201: |
Line 201: |
| elseif self._battle_card_reference then | | elseif self._battle_card_reference then |
| Ship = Ship or require(self._constructor_module) | | Ship = Ship or require(self._constructor_module) |
− | return Ship:create_from_reference(self._battle_card_reference, self):battle_card() | + | return Ship:create_from_reference(self._battle_card_reference, self):battle_card(hd) |
| end | | end |
| api_id = self:api_id() | | api_id = self:api_id() |
Line 219: |
Line 219: |
| elseif self._battle_card_damaged_reference then | | elseif self._battle_card_damaged_reference then |
| Ship = Ship or require(self._constructor_module) | | Ship = Ship or require(self._constructor_module) |
− | return Ship:create_from_reference(self._battle_card_damaged_reference, self):battle_card_damaged() | + | return Ship:create_from_reference(self._battle_card_damaged_reference, self):battle_card_damaged(hd) |
| end | | end |
| api_id = self:api_id() | | api_id = self:api_id() |
Line 233: |
Line 233: |
| elseif self._cg_reference then | | elseif self._cg_reference then |
| Ship = Ship or require(self._constructor_module) | | Ship = Ship or require(self._constructor_module) |
− | return Ship:create_from_reference(self._cg_reference, self):cg() | + | return Ship:create_from_reference(self._cg_reference, self):cg(hd) |
| else | | else |
| local api_id, simple_naming = self:api_id(), self:simple_naming() | | local api_id, simple_naming = self:api_id(), self:simple_naming() |
Line 249: |
Line 249: |
| elseif self._cg_damaged_reference then | | elseif self._cg_damaged_reference then |
| Ship = Ship or require(self._constructor_module) | | Ship = Ship or require(self._constructor_module) |
− | return Ship:create_from_reference(self._cg_damaged_reference, self):cg_damaged() | + | return Ship:create_from_reference(self._cg_damaged_reference, self):cg_damaged(hd) |
| else | | else |
| local api_id, simple_naming = self:api_id(), self:simple_naming() | | local api_id, simple_naming = self:api_id(), self:simple_naming() |