Core/GameObject: Solve some TODOs related to traps in GameObject::Update and improve logic.

Some more changes, TODO solutions and a fix for traps like those in #1359 or #6388 will follow.
This commit is contained in:
Gacko committed 2014-05-04 22:18:12 +02:00
1 parent 6ecbc03955
commit 24ef7dbdf4
2 files changed
+55 -46

No files matched your search

@@ -123,7 +123,7 @@ struct GameObjectTemplate
{
uint32 lockId; //0 -> Lock.dbc
uint32 level; //1
uint32 radius; //2 radius for trap activation
uint32 diameter; //2 radius for trap activation
uint32 spellId; //3
uint32 type; //4 0 trap with no despawn after cast. 1 trap despawns after cast. 2 bomb casts on spawn.
uint32 cooldown; //5 time in secs