PDA

Просмотр полной версии : [11370] Implement CONDITION_LEARNABLE_ABILITY, check by spell and optionally item


newsbot
17.04.2011, 01:30
автор: NoFantasy


<pre>m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11370] Implement CONDITION_LEARNABLE_ABILITY, check by spell and optionally item

The primary use are intended for items that teach spell, typically for primary/secondary tradeskills.

Condition is true when player does not know the spell already, has the needed corresponding skill (and skill level) and does not have the item already (when item is defined).

Signed-off-by: NoFantasy <nofantasy@nf.no></pre>




Дальше... (https://github.com/mangos/mangos/commit/c9c6ec50e762fc287b0faa480203533c978f72db)