Skip to content

Commit fa928e5

Browse files
committed
Add vocation and elemental_bond to item attributes.
1 parent 9d85d5c commit fa928e5

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 7.0.1 (2025-05-19)
4+
5+
- Add `vocation` and `elemental_bond` to item attributes.
6+
37
## 7.0.0 (2025-05-17)
48

59
- `WikiClient` is no longer a "static class", an instance must now be created in order to better reuse HTTP sessions.
@@ -18,8 +22,6 @@
1822
- Added `cooldown2` and `cooldown3` for reduced cooldowns by the Wheel of Destiny.
1923
- Rename `premium` to `is_premium`.
2024
- Rename `promotion` to `is_promotion`.
21-
- Rename `promotion` to `is_promotion`.
22-
- Rename `promotion` to `is_promotion`.
2325
- Added `is_wheel_spell` attribute.
2426
- Added `is_passive` attribute.
2527
- Item changes
@@ -56,7 +58,7 @@
5658
- Renamed `preview` to `is_preview`.
5759
- Renamed `experimental` to `is_experimental`.
5860
- Mount changes:
59-
- Renamed `buyable` to `is_buyable``.
61+
- Renamed `buyable` to `is_buyable`.
6062
- Update changes:
6163
- Renamed `date` to `release_date`.
6264

@@ -110,7 +112,7 @@
110112
`type` function.
111113
- Renamed to `item_type` in `item` table and `Item` class.
112114
- Renamed to `creature_type` in `creature` table and `Creature` class.
113-
- Parsing relies more on `mwparserfromhell <https://mwparserfromhell.readthedocs.io/>`_ and less on regular expressions.
115+
- Parsing relies more on [mwparserfromhell](https://mwparserfromhell.readthedocs.io/) and less on regular expressions.
114116
- TibiaWiki merged items into "objects" (non pickupable). So now the `item` table will contain a lot more records.
115117
- More attributes related to "objects" are now added to the `item_attribute` table.
116118
- Added support for attributes added in the Summer Update 2020 and some other missing attributes.

tibiawikisql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
__copyright__ = "Copyright 2025 Allan Galarza"
55

66
__license__ = "Apache 2.0"
7-
__version__ = "7.0.0"
7+
__version__ = "7.0.1"

tibiawikisql/parsers/item.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class ItemParser(BaseParser):
4949

5050
item_attributes: ClassVar = {
5151
"level": "levelrequired",
52+
"vocation": "vocrequired",
5253
"attack": "attack",
5354
"defense": "defense",
5455
"defense_modifier": "defensemod",
@@ -95,6 +96,7 @@ class ItemParser(BaseParser):
9596
"upgrade_classification": "upgradeclass",
9697
"is_rotatable": "rotatable",
9798
"augments": "augments",
99+
"elemental_bond": "elementalbond",
98100
}
99101

100102
@classmethod

0 commit comments

Comments
 (0)