• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wurstscript / WurstScript / 228

29 Nov 2023 05:00PM UTC coverage: 62.48% (-0.09%) from 62.574%
228

push

circleci

web-flow
Show dialog for choosing game path, cleanup (#1083)

* show dialog for choosing game path

* cleanup code

* remove logs and refactor

* remove confusing mpq error, make some mpq loads readonly

17295 of 27681 relevant lines covered (62.48%)

0.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.71
de.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/jassinterpreter/providers/EffectProvider.java
1
package de.peeeq.wurstio.jassinterpreter.providers;
2

3
import de.peeeq.wurstio.jassinterpreter.mocks.EffectMock;
4
import de.peeeq.wurstscript.intermediatelang.ILconstReal;
5
import de.peeeq.wurstscript.intermediatelang.ILconstString;
6
import de.peeeq.wurstscript.intermediatelang.IlConstHandle;
7
import de.peeeq.wurstscript.intermediatelang.interpreter.AbstractInterpreter;
8

9
public class EffectProvider extends Provider {
10
    public EffectProvider(AbstractInterpreter interpreter) {
11
        super(interpreter);
1✔
12
    }
1✔
13

14
    public IlConstHandle AddSpecialEffect(ILconstString modelName, ILconstReal x, ILconstReal y) {
15
        return new IlConstHandle(NameProvider.getRandomName("effect"), new EffectMock(modelName, x, y));
1✔
16
    }
17

18
    public void DestroyEffect(IlConstHandle effect) {
19
    }
1✔
20

21
    public ILconstReal BlzGetLocalSpecialEffectX(IlConstHandle effect) {
22
        return ((EffectMock)effect.getObj()).x;
1✔
23
    }
24

25
    public ILconstReal BlzGetLocalSpecialEffectY(IlConstHandle effect) {
26
        return ((EffectMock)effect.getObj()).y;
1✔
27
    }
28
    public ILconstReal BlzGetLocalSpecialEffectZ(IlConstHandle effect) {
29
        return ((EffectMock)effect.getObj()).z;
×
30
    }
31

32

33
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc