Core/GameObjects: Implemented playerCast (Data23) for GAMEOBJECT_TYPE_GOOBER
This commit is contained in:
1 parent
437315a154
commit
5657280b65
2 files changed
+3
-1
No files matched your search
@@ -2003,7 +2003,8 @@ void GameObject::Use(Unit* user)
|
||||
|
||||
// cast this spell later if provided
|
||||
spellId = info->goober.spellId;
|
||||
spellCaster = nullptr;
|
||||
if (!info->goober.playerCast)
|
||||
spellCaster = nullptr;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -200,6 +200,7 @@ struct GameObjectTemplate
|
||||
uint32 WorldStateSetsState; //20
|
||||
uint32 floatOnWater; //21
|
||||
uint32 conditionID1; //22
|
||||
uint32 playerCast; //23
|
||||
} goober;
|
||||
//11 GAMEOBJECT_TYPE_TRANSPORT
|
||||
struct
|
||||
|
||||
Reference in new issue
Block a user