Skip to content

Commit e9b419f

Browse files
committed
Update packages
1 parent da65d98 commit e9b419f

19 files changed

Lines changed: 14619 additions & 18963 deletions

_articles/abilities/datadriven/datadriven-ability-events-modifiers.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@ A guide that tries to cover every Ability & Modifier Event of the *ability_datad
99

1010
![img](/images/external/T7W828Q.png)
1111

12-
- [Ability Events](#Comment_28)
13-
- [Spell Start](#Comment_28)
14-
- [Toggleable Abilities](#Comment_29)
15-
- [Channeled Abilities](#Comment_30)
16-
- [Death and Spawn](#Comment_31)
17-
- [Projectiles](#Comment_32)
18-
- [Item Equip](#Comment_33)
19-
- [Others](#Comment_34)
20-
- [Modifier Events](#Comment_35)
21-
- [Create and Destroy](#Comment_35)
22-
- [Repeating Actions](#Comment_36)
23-
- [Attacks](#Comment_37)
24-
- [Damage](#Comment_38)
25-
- [Killing and Dying](#Comment_39)
26-
- [Orbs](#Comment_40)
27-
- [Others](#Comment_41)
28-
29-
<br />
3012
<a name="start"></a>
3113
This is an Intermediate guide that expects some knowledge of the most common first-level keyvalues. If unsure about the meaning of any of them, check the [DataDriven Ability Breakdown](/abilities/ability-keyvalues).
3214

_articles/abilities/item-keyvalues.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ A comprehensive guide to npc_items_custom and coding items
1111

1212
Start with "item_" and your item name. If you **don't** put `item_` at the begging of an item, bad things happen
1313

14-
`"item_custom"
15-
{ ... }`
14+
```
15+
"item_custom"
16+
{ ... }
17+
```
1618

1719
Each item needs its proper ID for purchasing on the shop, although you can define items without an ID if you only plan to create them through Lua.
1820
Do not override Dota IDs, use IDs between 1000~2000
@@ -173,7 +175,7 @@ Apart from this values specially related to items, you can add ***everything***
173175
"AbilityCastAnimation" "ACT_DOTA_CAST_ABILITY_1"
174176
"AbilityManaCost" "100"
175177
"AbilityValues"
176-
{ ... }
178+
{...}
177179
```
178180

179181
**[Ability Events](datadriven/datadriven-ability-events-modifiers)** like `"OnSpellStart"`, `"OnOwnerDied"` or `"OnEquip"` also go here in the main block.
@@ -278,7 +280,7 @@ This is how Basher is disallowed for certain heroes
278280
"InvalidHeroes" "npc_dota_hero_spirit_breaker;npc_dota_hero_faceless_void"
279281
```
280282

281-
For the Scripted, more powerful version, read more on [Item Restrictions & Requirements](scripting/item-restrictions-requirements)
283+
For the Scripted, more powerful version, read more on [Item Restrictions & Requirements](/scripting/item-restrictions-requirements)
282284

283285
------
284286

@@ -310,9 +312,9 @@ Displays "[ALLIES] Gather for **ItemName** here."
310312

311313
![img](/images/external/duiGf-025d66f1cd.jpg)
312314

313-
```~
315+
```
314316
"ItemAlertable" "1"
315-
```~
317+
```
316318

317319

318320
---

_articles/panorama/webpack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ You can find more packages built for Panorama using this search query: [keywords
162162

163163
webpack loaders are packages that process your files before webpack puts them into a bundle.
164164

165-
One good example of a loader is [`babel-loader`](https://www.npmjs.com/package/babel-loader), which processes your code with Babel, allowing you to use newer JavaScript features, and non-standard syntax extensions, such as [JSX](react#JSX).
165+
One good example of a loader is [`babel-loader`](https://www.npmjs.com/package/babel-loader), which processes your code with Babel, allowing you to use newer JavaScript features, and non-standard syntax extensions, such as [JSX](react#jsx).
166166

167167
First you need to install a few dependencies:
168168

_articles/scripting-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Go into your &lt;addonName&gt;/scripts/ folder. The 2 main script folders are **
2020
* npc_**abilities**_override.txt - Modified dota abilities/items with changed values.
2121
* **herolist**.txt - List of the heroes available for picking.
2222

23-
These files are defined using KeyValues (KV) and are the core of the the **DataDriven system**. While they fulfill the definition of a programming language, it’s more like a big table containing all the possible data in a static document. it uses a relatively simple syntax whose only special characters are curly braces and quotes, with alternating sets of "Key" and "Value" or "Key" {table} pairs, where table is another set of KeyValues.
23+
These files are defined using KeyValues (KV) and are the core of the the **DataDriven system**. While they fulfill the definition of a programming language, it’s more like a big table containing all the possible data in a static document. it uses a relatively simple syntax whose only special characters are curly braces and quotes, with alternating sets of "Key" and "Value" or "Key" `{table}` pairs, where `table` is another set of KeyValues.
2424

2525
KV will define the data of abilities/items/units, while more elaborate behavior is handled with Lua or TypeScript.
2626

_articles/scripting/item-drop-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The 'or 100' and 'or 1' are just to make sure that if the "Chance" or "Multiple"
142142

143143
Sometimes doing "50% of item 1 and 50% of item 2" is too random, because it will mean sometimes a mob will drop nothing, and sometimes it might drop 2. In order to reduce the randomness and ensure a certain combination of items will drop, the most common approach is to have a set list of possible drops, and make it so that the unit will drop only one of that set at random.
144144

145-
To do this, instead of tying a single item to each item table, there will be yet another table of the { possible Set of items } that we want this creature to drop:
145+
To do this, instead of tying a single item to each item table, there will be yet another table of the \{possible Set of items\} that we want this creature to drop:
146146

147147
```
148148
"Drops"

_articles/scripting/lava-damage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It should change to the specified (trigger) material.
2121
<StaticVideo path="/videos/WaterloggedQuarrelsomeDutchshepherddog.mp4" />
2222

2323
Then convert the mesh to Entity by pressing Ctrl+T or find the `Outliner` => Right Click => Selected Meshes => Tie to Entity.
24-
Afterwards, name it plus assign this Entity script to lavatrigger.lua <-- you can name it whatever you want.
24+
Afterwards, name it plus assign this Entity script to lavatrigger.lua &lt;-- you can name it whatever you want.
2525

2626
![](/images/external/5eZycip.png)
2727

_articles/tools/setting-up-for-collaboration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ eight
5252
>>>>>>> branch-a
5353
```
5454

55-
Basically everything between '<<<<<<<HEAD' and '=====' is what you have for that line, everything between the '==========' line and the '>>>>>>>' line is what you pulled from the remote. Resolve the conflict by just removing everything except the code you want to keep. This can be your stuff, the stuff from the remote or even both! A fixed file could look like this (I chose to keep both):
55+
Basically everything between `<<<<<<<HEAD` and `=====` is what you have for that line, everything between the `==========` line and the `>>>>>>>` line is what you pulled from the remote. Resolve the conflict by just removing everything except the code you want to keep. This can be your stuff, the stuff from the remote or even both! A fixed file could look like this (I chose to keep both):
5656

5757
```
5858
nine

api/src/components/Docs/types.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ const ReferenceType: React.FC<{ name: string }> = ({ name }) => {
5858
type.kind === "class" || type.kind === "enum"
5959
? name
6060
: type.kind === "constant"
61-
? "constants"
62-
: type.kind === "function"
63-
? "functions"
64-
: undefined,
61+
? "constants"
62+
: type.kind === "function"
63+
? "functions"
64+
: undefined,
6565
type.kind === "constant" || type.kind === "function" ? name : undefined,
6666
];
6767
}, [name]);

api/src/components/Docs/utils/filtering.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ export function doSearch(declarations: api.Declaration[], words: string[]): api.
121121
),
122122
}
123123
: declaration.kind === "enum"
124-
? {
125-
...declaration,
126-
members: declaration.members.filter(composeFilters([filterName, filterAvailability])),
127-
}
128-
: undefined;
124+
? {
125+
...declaration,
126+
members: declaration.members.filter(composeFilters([filterName, filterAvailability])),
127+
}
128+
: undefined;
129129

130130
if (partialDeclaration && partialDeclaration.members.length > 0) {
131131
return partialDeclaration;

api/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

0 commit comments

Comments
 (0)