Moonwell
Moonwell is a C# modding framework and build toolchain for Warcraft III: Reforged.
With Moonwell, a map is a C# project (MyMap.csproj) and a Warcraft III map saved as a folder (map/).
MyMap/
├── MyMap.csproj
├── Map.cs
├── Start.cs
├── Champion/
│ ├── Champion.cs
│ ├── Fury.cs
│ └── Smite.cs
└── map/ You declare the map's settings, its units, heroes, items, abilities, buffs, destructables, doodads, and upgrades, all in code.
public sealed class Settings : Map
{
public Settings()
{
Name = "MyMap";
Description = "A map made with Moonwell.";
RecommendedPlayers = "1";
Components.Add(new Start());
}
}
public sealed class Champion : Paladin
{
public Champion()
{
Name = "Champion";
HitPoints = HitPoints + 200;
HeroAbilities.Remove<HolyLight>();
HeroAbilities.Add<Smite>();
Components.Add(new Fury());
}
} You use the World Editor for terrain and placing things like regions, cameras, units, items, and trees.
moonwell build # writes declared object data into a staged copy of the map, compiles your C# into Lua, and packs the .w3x archive.