From eb07156ac420bb7861562244f555da27027d06b6 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Fri, 20 Dec 2019 13:05:17 +0100 Subject: docs: update smart_scripts, areatrigger, FAQ (#161) --- docs/FAQ.md | 4 + docs/areatrigger_involvedrelation.md | 2 +- docs/areatrigger_scripts.md | 2 +- docs/areatrigger_tavern.md | 2 +- docs/areatrigger_teleport.md | 2 +- docs/phase_area.md | 2 +- docs/smart_scripts.md | 426 +---------------------------------- 7 files changed, 14 insertions(+), 426 deletions(-) (limited to 'docs') diff --git a/docs/FAQ.md b/docs/FAQ.md index c354d54..9b3413e 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -34,6 +34,10 @@ Read this carefully: [How to ask help](How-to-ask-for-help.md) - because it helps to **avoid duplicate questions** +#### 6 - Why does AzerothCore not mimic blizzlike bugs or exploits? + +Although we strive to provide blizzlike content we also value user experience. This means that we sometimes fix bugs or exploits which existed during retail at the time to provide a better overall experience for the players. + ## COMMON ERRORS diff --git a/docs/areatrigger_involvedrelation.md b/docs/areatrigger_involvedrelation.md index b19f1d2..530270a 100644 --- a/docs/areatrigger_involvedrelation.md +++ b/docs/areatrigger_involvedrelation.md @@ -59,7 +59,7 @@ If there is a record in the table for a quest, then the quest will not be comple ### id -This is the trigger ID from [AreaTrigger.dbc](AreaTrigger) +This is the trigger ID from [AreaTrigger.dbc](DBC-AreaTrigger) ### quest diff --git a/docs/areatrigger_scripts.md b/docs/areatrigger_scripts.md index dbf5637..ab7a988 100644 --- a/docs/areatrigger_scripts.md +++ b/docs/areatrigger_scripts.md @@ -57,7 +57,7 @@ Allows for an area trigger to be scripted with Trinity Script. ### entry -This is the trigger identifier from [AreaTrigger.dbc](AreaTrigger) +This is the trigger identifier from [AreaTrigger.dbc](DBC-AreaTrigger) ### ScriptName diff --git a/docs/areatrigger_tavern.md b/docs/areatrigger_tavern.md index a94072a..257a091 100644 --- a/docs/areatrigger_tavern.md +++ b/docs/areatrigger_tavern.md @@ -57,7 +57,7 @@ Enable a trigger when player enters a city or tavern. This causes the player to ### id -This is the trigger identifier, see [AreaTrigger.dbc](AreaTrigger) +This is the trigger identifier, see [AreaTrigger.dbc](DBC-AreaTrigger) ### name diff --git a/docs/areatrigger_teleport.md b/docs/areatrigger_teleport.md index 3a8be80..6cd6336 100644 --- a/docs/areatrigger_teleport.md +++ b/docs/areatrigger_teleport.md @@ -117,7 +117,7 @@ Contains all the teleport triggers definition. This table is used to complete .d ### id -This is the trigger identifier, it must match with the one from [AreaTrigger.dbc](AreaTrigger) +This is the trigger identifier, it must match with the one from [AreaTrigger.dbc](DBC-AreaTrigger) ### name diff --git a/docs/phase_area.md b/docs/phase_area.md index 5ea22d8..d839c38 100644 --- a/docs/phase_area.md +++ b/docs/phase_area.md @@ -60,7 +60,7 @@ Each line holds one Zone or Area with one phaseId and a description. Each line ### AreaId -This is the Zone or Area identifier, see [AreaTrigger.dbc](AreaTrigger) +This is the Zone or Area identifier, see [AreaTrigger.dbc](DBC-AreaTrigger) ### PhaseId diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index a075c85..14ea604 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -411,8 +411,6 @@ **Description of the fields** -Please note: ❌ means that the feature/option is not (yet) implemented. - ### entryorguid - EntryOrGuid > 0: entry of the creature / game object / etc. @@ -434,12 +432,6 @@ Please note: ❌ means that the feature/option is not (yet) implemented. | SMART\_SCRIPT\_TYPE\_CREATURE | 0 | | SMART\_SCRIPT\_TYPE\_GAMEOBJECT | 1 | | SMART\_SCRIPT\_TYPE\_AREATRIGGER | 2 | - | ❌ SMART\_SCRIPT\_TYPE\_EVENT | 3 | - | ❌ SMART\_SCRIPT\_TYPE\_GOSSIP | 4 | - | ❌ SMART\_SCRIPT\_TYPE\_QUEST | 5 | - | ❌ SMART\_SCRIPT\_TYPE\_SPELL | 6 | - | ❌ SMART\_SCRIPT\_TYPE\_TRANSPORT | 7 | - | ❌ SMART\_SCRIPT\_TYPE\_INSTANCE | 8 | | SMART\_SCRIPT\_TYPE\_TIMED\_ACTIONLIST | 9 | ### id @@ -1104,91 +1096,6 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
❌ SMART_EVENT_TRANSPORT_ADDPLAYER
-41
-
-
-
-
-
-
❌ SMART_EVENT_TRANSPORT_ADDCREATURE
-42
Entry (0 any)
-
-
-
-
-
❌ SMART_EVENT_TRANSPORT_REMOVE_PLAYER
-43
-
-
-
-
-
-
❌ SMART_EVENT_TRANSPORT_RELOCATE
-44
PointId
-
-
-
-
-
❌ SMART_EVENT_INSTANCE_PLAYER_ENTER
-45
Team (0 any)
CooldownMin
CooldownMax
-
-
-
SMART_EVENT_AREATRIGGER_ONTRIGGER
46
TriggerId (0 any)
❌ SMART_EVENT_QUEST_ACCEPTED
-47
-
-
-
-
-
❌ SMART_EVENT_QUEST_OBJ_COMPLETION
-48
-
-
-
-
-
❌ SMART_EVENT_QUEST_COMPLETION
-49
-
-
-
-
-
❌ SMART_EVENT_QUEST_REWARDED
-50
-
-
-
-
-
❌ SMART_EVENT_QUEST_FAIL
-51
-
-
-
-
-
SMART_EVENT_TEXT_OVER
52
❌ SMART_ACTION_SET_CORPSE_DELAY
116
timer
-
-
-
-
-
-
❌ SMART_ACTION_DISABLE_EVADE
117
disable evade (1) / re-enable (0)
-
-
-
-
-
-
❌ SMART_ACTION_GO_SET_GO_STATE
118
state
-
-
-
-
-
-
❌ SMART_ACTION_SET_CAN_FLY
119
0/1
-
-
-
-
-
-
❌ SMART_ACTION_REMOVE_AURAS_BY_TYPE
120
Type
-
-
-
-
-
-
SMART_ACTION_SET_SIGHT_DIST
121
SightDistance
SMART_ACTION_FLEE
122
FleeTime
SMART_ACTION_ADD_THREAT
123
+threat
SMART_ACTION_LOAD_EQUIPMENT
124
Id
SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT
125
id min range
SMART_ACTION_REMOVE_ALL_GAMEOBJECTS
126
@@ -3667,115 +3404,6 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
❌ SMART_ACTION_REMOVE_MOVEMENT
127
movementType
Forced
-
-
-
-
see SMART_ACTION_STOP_MOTION (212)
❌ SMART_ACTION_PLAY_ANIMKIT
128
AnimKit ID
type:
-1- PlayOneShotAnimKitId
-2- SetAIAnimKitId
-3- SetMeleeAnimKitId
-4- SetMovementAnimKitId
-
-
-
-
// don't use on 3.3.5a
❌ SMART_ACTION_SCENE_PLAY
129
SceneId
-
-
-
-
-
// don't use on 3.3.5a
❌ SMART_ACTION_SCENE_CANCEL
130
SceneId
-
-
-
-
-
// don't use on 3.3.5a
❌ SMART_ACTION_SPAWN_SPAWNGROUP
131
groupId
minDelay
maxDelay
spawnflags
-
-
-
❌ SMART_ACTION_DESPAWN_SPAWNGROUP
132
groupId
minDelay
maxDelay
spawnflags
-
-
-
❌ SMART_ACTION_RESPAWN_BY_SPAWNID
133
spawnType (0 npc/ 1 gob)
spawnId (DB Guid)
-
-
-
-
Use to respawn npcs and gobs, the target in this case is always=1 and only a single unit could be a target via the spawnId (action_param1, action_param2)
SMART_ACTION_MOVE_TO_POS_TARGET
201
-
-
-
-
-
-
-
-
Farthest unit on the threat list
-
-
-
-
-
-
-