WurstScript
WurstScript copied to clipboard
Programming language and toolkit to create Warcraft III Maps
I would like to be able to run code in the map's `config` function. The `config` function is like the `main` function but it runs prior to the lobby being...
**Is your feature request related to a problem? Please describe.** Unless I'm missing something, it's not possible to access a child static member/method from the parent class. Overriding may do...
https://github.com/Cokemonkey11/the-gorge/commit/366295415c93eab49aa6b3d4218e52f25e9e44f7#diff-a3f636d1e541c7692fd4ddf2f7f7a9f2R54 If you remove the `doAfter()`, the init block will fail at runtime. It looks like this is related to the `tile` type being a bit weird
``` class A function func(int i) print("func_int...") function func(string s) print("func_string...") class B extends A function func() print("func_noarg") function func(bool b) print("func_boolean...") init let b = new B() b.func() b.func(true)...
@compiletime function createFeedback() let tgen = new LotsAbilityTooltipGenerator("Burns an opponent's mana on each attack, dealing mana burned as damage to the target.", Targettype.PASSIVE) new AbilityDefinitionFeedback(FEEDBACK_ABIL_ID) ..registerTooltipGenerator(tgen) ..tooltipStartListen() ..preset("Feedback", Hotkey.E) **..addTooltipProperty("Mana...
**Describe the bug** A clear and concise description of what the bug is. ``` abstract class A abstract function foo(int i) abstract function foo() abstract class B extends A override...
**Is your feature request related to a problem? Please describe.** Unless I'm doing it wrong, you can't override parent (abstract) class member variable from the child class **Describe the solution...
https://github.com/wurstscript/WurstScript/blob/05650e5419b6fedd262fe0d7c1676680aebe3d74/de.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/utils/Utils.java#L647 Cleaning up TODOs
Allow suppression one package's all warning There are two things I want to discuss here. > 1: Is it necessary to alert for grammatical inconsistencies? I find that there are...
Add a nicer way to construct strings. So instead of return "(" + v.x.toString() + ", " + v.y.toString() + ", " + v.z.toString() + ")" we could write: return...