From 488866c2c436b4bb01d1501cfbac2faaf9921422 Mon Sep 17 00:00:00 2001 From: Jamie Phan <9488815+jamiephan@users.noreply.github.com> Date: Sat, 17 Aug 2024 02:21:45 +0800 Subject: [PATCH] Fixed some typos --- .../Mods/GameData/HeroesMod/PermaArmor.xml | 17 ++++++++++------- .../Mods/GameData/HeroesMod/TestHero.xml | 4 ++-- .../Mods/GameData/SystemMod/TestSystem.xml | 4 ++-- README.md | 2 +- docs/index.md | 4 ++-- docs/tools.md | 6 +++--- scripts/main/buildmimicabilities.js | 6 +++--- 7 files changed, 23 insertions(+), 20 deletions(-) diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml index e356067..8d06874 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml @@ -3,16 +3,19 @@ - - - + + + - - - + + + - + + + + diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml index 2b88503..9fb5368 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml @@ -1,7 +1,7 @@ - \ No newline at end of file diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/SystemMod/TestSystem.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/SystemMod/TestSystem.xml index 2b88503..9fb5368 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/SystemMod/TestSystem.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/SystemMod/TestSystem.xml @@ -1,7 +1,7 @@ - \ No newline at end of file diff --git a/README.md b/README.md index e6d3fc8..523285c 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,4 @@ A modified Try Mode Map for [Heroes of the Storm](https://heroesofthestorm.com/) --- -To get started, please see the project page: https://jamiephan.github.io/HeroesOfTheStorm_TryMode2.0/ \ No newline at end of file +## To get started, please visit the project page: https://jamiephan.github.io/HeroesOfTheStorm_TryMode2.0/ \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 0a1fa90..264d0f8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -79,7 +79,7 @@ Currently, there are two ways to load a custom map: - Replacing in-game single player maps (Tutorial maps, Try Mode): - The in game single player maps was loaded from CASC (Blizzard's game file storage) storage: `mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap`. However due to how StarCraft II's engine works, the game will attempt to priorities loading from `Heroes of the Storm Installation/maps` folder before CASC, therefore, this modified map can be "side-loaded" into the game without modifying the CASC storage (which is against the EULA). - Run a `.stormmap` file directly: - - The game allows to run a `.stormmap` file, which is a modified version of `.sc2map` from StarCraft 2 and it is paclaged in a [MPQ format](http://www.zezula.net/en/mpq/main.html). Simply just run the map with `"HeroesSwitcher_x64.exe "`, where path is the *absolute* path to the `.stormmap` file. Note that unlike usual command line applications where relative path is relative to your working directory, Heroes treats relative path as it is from CASC. So the "relative" path of the `` argument is relative to `mods/heroes.stormmod/base.stormmaps/maps` (CASC) or `Heroes of the Storm Installation/maps`(File System). + - The game allows to run a `.stormmap` file, which is a modified version of `.sc2map` from StarCraft 2 and it is packaged in a [MPQ format](http://www.zezula.net/en/mpq/main.html). Simply just run the map with `"HeroesSwitcher_x64.exe "`, where path is the *absolute* path to the `.stormmap` file. Note that unlike usual command line applications where relative path is relative to your working directory, Heroes treats relative path as it is from CASC. So the "relative" path of the `` argument is relative to `mods/heroes.stormmod/base.stormmaps/maps` (CASC) or `Heroes of the Storm Installation/maps`(File System). > Note that both methods allow loading the map which are either a file, folder, or a symbolic link of both, as long as the name is ending in `.stormmap`. @@ -126,7 +126,7 @@ It have various functionalities such as switch heroes, level, etc, which can sav Base on the naming of the internal variables, I assume this is for QA testers. To use it, type `-devcheats` in the chat (on either Ally or All chats only). ->Note: In a recent commit, I have sync the `/` key with QA Cheat menu and Debug menu, which means the `/` key will open both debug and QA menu together. I am considering should I "desync" them. +>Note: In a recent commit, I have sync the `/` key with QA Cheat menu and Debug menu, which means the `/` key will open both debug and QA menu together. I am considering should I "de-sync" them. Here is a quick look of the QA cheat menu: diff --git a/docs/tools.md b/docs/tools.md index 5a95d68..4e8b65c 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -93,7 +93,7 @@ To do so, just simply add the behavior to the selected units (e.g using the [cha Also note that some abilities have special requirements, such as ultimates requires `Ultimate2Unlocked` or `Ultimate2Unlocked` behavior, you will need to also add them to the units as well (e.g chat command `adb Ultimate2Unlocked`). Details on each abilities requirements will be shown inside the generated XML file. ->Note: After generation, it will run a function similar to `npm run buildxml` once, since its a XML mod after all. +>Note: After generation, it will run a function similar to `npm run build:xml` once, since its a XML mod after all. Generated XML file location: `./(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/AbilityMimic.xml` @@ -118,7 +118,7 @@ This will generate an ability with the prefixed `MB`. For instance, the behavior >Note: This will also respect the game settings, e.g Stuns and Silences will disable hotkey bars. Therefore it is not recommended to use `MBPermaStun` (Behavior Buff: `PermaStun`) or `MBPermaSilence` (Behavior Buff: `PermaSilence`) since you cannot active again to cancel it. You will need to respawn / remove the behavior (not the ability but actual behavior buff) if you would like to regain control. ->Note: After generation, it will run a function similar to `npm run buildxml` once, since its a XML mod after all. +>Note: After generation, it will run a function similar to `npm run build:xml` once, since its a XML mod after all. Generated XML file location: `./(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/AbilityMimic.xml` @@ -136,7 +136,7 @@ This tool will search though all the `` and map it to a ``, which This will generate a unit with the prefixed `UN`. For instance, the model `RetreatPing` (White Flag retreat ping model) will have a unit `UNRetreatPing`, which you can summon this unit using tools such as [summon](usage.md#cmd-summon), with the command of `summon UNRetreatPing`. ->Note: After generation, it will run a function similar to `npm run buildxml` once, since its a XML mod after all. +>Note: After generation, it will run a function similar to `npm run build:xml` once, since its a XML mod after all. Generated XML file location: `./(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/ModelMimic.xml` diff --git a/scripts/main/buildmimicabilities.js b/scripts/main/buildmimicabilities.js index 78247ea..7d85fd7 100644 --- a/scripts/main/buildmimicabilities.js +++ b/scripts/main/buildmimicabilities.js @@ -11,14 +11,14 @@ const idPrefix = 'M'; let finalXML = '\n\n'; finalXML += '\n'; -finalXML += '\n'; +finalXML += '\n'; finalXML += '\n'; finalXML += '\n'; // eslint-disable-next-line max-len finalXML += '\n'; -finalXML += '\n'; +finalXML += '\n'; // eslint-disable-next-line max-len -finalXML += '\n'; +finalXML += '\n'; finalXML += '\n'; finalXML += '\n'; finalXML += '\n\n';