From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/creature_summon_groups.md | 272 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 258 insertions(+), 14 deletions(-) (limited to 'docs/creature_summon_groups.md') diff --git a/docs/creature_summon_groups.md b/docs/creature_summon_groups.md index 807b7fd..9d25a1e 100644 --- a/docs/creature_summon_groups.md +++ b/docs/creature_summon_groups.md @@ -1,14 +1,258 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [creature_summon_groups](creature_summon_groups) - -Column | Type | Description ---- | --- | --- -SummonerId | mediumint(8) unsigned | -SummonerType | tinyint(3) unsigned | -GroupId | tinyint(3) unsigned | -Entry | mediumint(8) unsigned | -Position_x | float | -Position_y | float | -Position_z | float | -Orientation | float | -SummonType | tinyint(3) unsigned | -SummonTime | int(10) unsigned | +# creature\_summon\_groups + +`Back-to:World` + +# Table: creature\_summon\_groups + +This table holds data about temporary summoned creatures. It is possible to group summons and create boss waves of adds etc. + +## Structure + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

summonerId

mediumint(8)

unsigned

 

NO

0

 

 

summonerType

tinyint(3)

unsigned

 

NO

0

 

 

groupIdtinyint(3)unsigned NO0  
entrymediumint(8)unsigned NO0  

position_x

float

 

 

NO

0

 

 

position_y

float

 

 

NO

0

 

 

position_z

float

 

 

NO

0

 

 

orientation

float

 

 

NO

0

 

 

summonTypetinyint(3)unsigned NO0  
summonTimeint(10)unsigned NO0  
+ +## **Description of the fields** + +### summonerId + +Summoner's id depending on [summonerType](#creature_summon_groups-summonerType) + +### summonerType + +Summoner's type: + + ++++ + + + + + + + + + + + + + + + + + + + + +

Value

Type

0

SUMMONER_TYPE_CREATURE

1

SUMMONER_TYPE_GAMEOBJECT

2

SUMMONER_TYPE_MAP

+ +### groupId + +Group identificator, all creatures with the same [groupId](#creature_summon_groups-groupId) will be summoned at once + +### entry + +Entry of summoned creature from [creature\_template.entry](http://collab.kpsn.org/display/tc/creature_template#entry) + +### position\_x + +X coordinate of position, where the creature will be spawned + +### position\_y + +Y coordinate of position, where the creature will be spawned + +### position\_z + +Z coordinate of position, where the creature will be spawned + +### orientation + +Orientation the summoned creature will get when spawned + +### summonType + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Value

Name

Comments

1

TEMPSUMMON_TIMED_OR_DEAD_DESPAWN

Despawns after a specified time OR when the creature disappears

2

TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN

Despawns after a specified time OR when the creature dies

3

TEMPSUMMON_TIMED_DESPAWN

Despawns after a specified time

4

TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT

Despawns after a specified time after the creature is out of combat

5

TEMPSUMMON_CORPSE_DESPAWN

Despawns instantly after death

6

TEMPSUMMON_CORPSE_TIMED_DESPAWN

Despawns after a specified time after death

7

TEMPSUMMON_DEAD_DESPAWN

Despawns when the creature disappears

8

TEMPSUMMON_MANUAL_DESPAWN

Despawns when UnSummon() is called

+ +### summonTime + +Timer linked to summontype -- cgit