diff options
| author | Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> | 2019-07-30 13:12:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-30 13:12:41 +0200 |
| commit | 3dadcd2f56bab9ccab5c9924ef7111053f0832d2 (patch) | |
| tree | 0cf4238e86ca49abc89b12b805e40f6cec576196 /docs/spell_scripts.md | |
| parent | 1610205aa4746ac8cf1fd7cbb30f6c8bfcd8de2b (diff) | |
| download | wiki-3dadcd2f56bab9ccab5c9924ef7111053f0832d2.tar.gz wiki-3dadcd2f56bab9ccab5c9924ef7111053f0832d2.tar.bz2 wiki-3dadcd2f56bab9ccab5c9924ef7111053f0832d2.zip | |
Update waypoints and scripts documentation (#102)
Diffstat (limited to 'docs/spell_scripts.md')
| -rw-r--r-- | docs/spell_scripts.md | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/docs/spell_scripts.md b/docs/spell_scripts.md index 1c01053..94d148d 100644 --- a/docs/spell_scripts.md +++ b/docs/spell_scripts.md @@ -1,15 +1,24 @@ [Database Structure](Database-Structure) > [World-Database](World-Database) > [spell_scripts](spell_scripts) -Column | Type | Description ---- | --- | --- -Id | mediumint(8) unsigned | -EffIndex | tinyint(3) unsigned | -Delay | int(10) unsigned | -Command | mediumint(8) unsigned | -Datalong | mediumint(8) unsigned | -Datalong2 | int(10) unsigned | -Dataint | int(11) | -X | float | -Y | float | -Z | float | -O | float | +# spell\_scripts + +### Information + +Holds scripts that can be activated by spells with effect SPELL\_EFFECT\_SCRIPT\_EFFECT (77) or SPELL\_EFFECT\_DUMMY(3). + +### Structure + +| Field | Type | Attributes | Key | Null | Default | +|----------------------------------|--------------|--------------|-----|------|---------| +| [id](scripts#id) | mediumint(8) | unsigned | | NO | 0 | +| [effIndex](scripts#effindex) | tinyint(3) | unsigned | | NO | 0 | +| [delay](scripts#delay) | int(10) | unsigned | | NO | 0 | +| [command](scripts#command) | mediumint(8) | unsigned | | NO | 0 | +| [datalong](scripts#otherfields) | mediumint(8) | unsigned | | NO | 0 | +| [datalong2](scripts#otherfields) | int(10) | unsigned | | NO | 0 | +| [dataint](scripts#otherfields) | int(11) | | | NO | 0 | +| [x](scripts#otherfields) | float | | | NO | 0 | +| [y](scripts#otherfields) | float | | | NO | 0 | +| [z](scripts#otherfields) | float | | | NO | 0 | +| [o](scripts#otherfields) | float | | | NO | 0 | + |
