标题: TRINITY的禁止技能的系统代码 [打印本页] 作者: admin 时间: 2016-4-18 22:37 标题: TRINITY的禁止技能的系统代码 1、TrinityHG_rev1175-禁止技能之宠物
# HG changeset patch# User KingPin
# Date 1236430022 18000
# Branch trunk
# Node ID 7910c3719e17c362c5de005dbeacfaed2a21ea2a
# Parent 72b8c4aff658370035b4bb5a64602295b96696a7
Extend the spell_disabled table to have a seperate flag for pet spells from player spells, Patch by Koani
diff -r 72b8c4aff658 -r 7910c3719e17 src/game/ObjectMgr.cpp
--- a/src/game/ObjectMgr.cpp Sat Mar 07 09:04:27 2009 +0100
+++ b/src/game/ObjectMgr.cpp Sat Mar 07 07:47:02 2009 -0500
@@ -6289,6 +6289,7 @@
{
m_DisabledPlayerSpells.clear(); // need for reload case
m_DisabledCreatureSpells.clear();
+ m_DisabledPetSpells.clear();
QueryResult *result = WorldDatabase.Query("SELECT entry, disable_mask FROM spell_disabled");