Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   CMaNGOS Commits (http://mangos.ytdb.ru/forumdisplay.php?f=38)
-   -   [10641] Fixed use item dynamic/item proto flags. (http://mangos.ytdb.ru/showthread.php?t=2741)

newsbot 25.10.2010 15:30

[10641] Fixed use item dynamic/item proto flags.
 
автор: VladimirMangos


<pre>m src/game/AuctionHouseHandler.cpp
m src/game/Bag.cpp
m src/game/Group.cpp
m src/game/Item.cpp
m src/game/Item.h
m src/game/ItemHandler.cpp
m src/game/ItemPrototype.h
m src/game/LootHandler.cpp
m src/game/LootMgr.cpp
m src/game/Mail.cpp
m src/game/ObjectMgr.cpp
m src/game/Player.cpp
m src/game/Spell.cpp
m src/game/SpellEffects.cpp
m src/game/SpellHandler.cpp
m src/game/TradeHandler.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10641] Fixed use item dynamic/item proto flags.

* List its independelty. Each from this 2 fields have own flags. Cleanup lists.
* Not copy proto flags to item flags update field. This fix heroic item versions
show in client in result mixed use ITEM_DYNFLAG_WRAPPED (0x8) with ITEM_FLAG_HEROIC (0x8)
* Update uses to proto case use for some cases where before wrongly has been used item dyn.flags
* For ITEM_DYNFLAG_UNLOCKED (0x4) set for item at unlock and check for prevent re-unlocking.
This mostly for future case when will be implemented partly loting items support.
* For ITEM_FLAG_LOOTABLE (0x4) check loot absent or conflicting setting with containers/casted at use items.
Report wrong cases art loading.
* Better check related loot tables content using ITEM_FLAG_PROSPECTABLE and ITEM_FLAG_MILLABLE</pre>




Дальше...


Текущее время: 01:27. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS