From 700c998f49255b0d7b844363d23509cfedc68865 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Sun, 3 Mar 2019 12:57:10 +0100 Subject: Fix anchors --- docs/smart_scripts.md | 92 +++++++++++++++++++++++++-------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) (limited to 'docs/smart_scripts.md') diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index d883a3c..3bc824b 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -15,7 +15,7 @@

Comment

-

entryorguid

+

entryorguid

bigint(20)

signed

PRI

@@ -27,7 +27,7 @@

-

source_type

+

source_type

tinyint(3)

unsigned

PRI

@@ -39,7 +39,7 @@

-

id

+

id

smallint(5)

unsigned

PRI

@@ -51,7 +51,7 @@

-

link

+

link

smallint(5)

unsigned

PRI

@@ -63,7 +63,7 @@

-

event_type

+

event_type

tinyint(3)

unsigned


@@ -76,7 +76,7 @@

-

event_phase_mask

+

event_phase_mask

tinyint(3)

unsigned


@@ -89,7 +89,7 @@

-

event_chance

+

event_chance

tinyint(3)

unsigned


@@ -102,7 +102,7 @@

-

event_flags

+

event_flags

tinyint(3)

unsigned


@@ -115,7 +115,7 @@

-

event_param1

+

event_param1

int(10)

unsigned


@@ -128,7 +128,7 @@

-

event_param2

+

event_param2

int(10)

unsigned


@@ -141,7 +141,7 @@

-

event_param3

+

event_param3

int(10)

unsigned


@@ -154,7 +154,7 @@

-

event_param4

+

event_param4

int(10)

unsigned


@@ -167,7 +167,7 @@

-event_param5 +event_param5 int(10) unsigned
@@ -180,7 +180,7 @@ -

action_type

+

action_type

tinyint(3)

unsigned


@@ -193,7 +193,7 @@

-

action_param1

+

action_param1

int(10)

unsigned


@@ -206,7 +206,7 @@

-

action_param2

+

action_param2

int(10)

unsigned


@@ -219,7 +219,7 @@

-

action_param3

+

action_param3

int(10)

unsigned


@@ -232,7 +232,7 @@

-

action_param4

+

action_param4

int(10)

unsigned


@@ -245,7 +245,7 @@

-

action_param5

+

action_param5

int(10)

unsigned


@@ -258,7 +258,7 @@

-

action_param6

+

action_param6

int(10)

unsigned


@@ -271,7 +271,7 @@

-

target_type

+

target_type

tinyint(3)

unsigned


@@ -284,7 +284,7 @@

-

target_param1

+

target_param1

int(10)

unsigned


@@ -297,7 +297,7 @@

-

target_param2

+

target_param2

int(10)

unsigned


@@ -310,7 +310,7 @@

-

target_param3

+

target_param3

int(10)

unsigned


@@ -323,7 +323,7 @@

-target_param4 +target_param4 int(10) unsigned
@@ -336,7 +336,7 @@ -

target_x

+

target_x

float

signed


@@ -349,7 +349,7 @@

-

target_y

+

target_y

float

signed


@@ -362,7 +362,7 @@

-

target_z

+

target_z

float

signed


@@ -375,7 +375,7 @@

-

target_o

+

target_o

float

signed


@@ -388,7 +388,7 @@

-

comment

+

comment

text

signed


@@ -1839,7 +1839,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_CAST

11

SpellId

-

castFlags

+

castFlags

triggeredFlags


@@ -1853,7 +1853,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_SUMMON_CREATURE

12

creature_template.entry

-

Summon type

+

Summon type

duration in ms

attackInvoker


@@ -2930,7 +2930,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_CALL_TIMED_ACTIONLIST

80

-

EntryOrGuid * 100 (smart_scripts.entryorguid with 00 added after the entry, or 01, 02, 03 etc. for multiple action lists)

+

EntryOrGuid * 100 (smart_scripts.entryorguid with 00 added after the entry, or 01, 02, 03 etc. for multiple action lists)

timer update type(0 OOC, 1 IC, 2 ALWAYS)


@@ -3014,7 +3014,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_SELF_CAST

85

SpellID

-

castFlags

+

castFlags

triggeredFlags


@@ -3028,7 +3028,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_CROSS_CAST

86

SpellID

-

castFlags

+

castFlags

CasterTargetType (caster is selected here, use it as target_type)

CasterTarget (target_param1)

CasterTarget (target_param2)

@@ -3038,19 +3038,19 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_CALL_RANDOM_TIMED_ACTIONLIST

87

-

EntryOrGuid 1 (smart_scripts.entryorguid * 100 + n)

-

EntryOrGuid 2 (smart_scripts.entryorguid * 100 + n)

-

EntryOrGuid 3 (smart_scripts.entryorguid * 100 + n)

-

EntryOrGuid 4 (smart_scripts.entryorguid * 100 + n)

-

EntryOrGuid 5 (smart_scripts.entryorguid * 100 + n)

-

EntryOrGuid 6 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 1 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 2 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 3 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 4 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 5 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 6 (smart_scripts.entryorguid * 100 + n)

Will select one entry from the ones provided. 0 is ignored.

SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST

88

-

EntryOrGuid 1 (smart_scripts.entryorguid * 100 + n)

-

EntryOrGuid 2 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 1 (smart_scripts.entryorguid * 100 + n)

+

EntryOrGuid 2 (smart_scripts.entryorguid * 100 + n)



@@ -3211,8 +3211,8 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_SEND_GOSSIP_MENU

98

gossip_menu.entry

-

gossip_menu.text_id
-(same value as npc_text.ID)

+

gossip_menu.text_id
+(same value as npc_text.ID)



@@ -3793,7 +3793,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if SMART_ACTION_INVOKER_CAST 134

SpellID

-castFlags +castFlags triggeredFlags
-- cgit