- Joined
- Jan 9, 2016
- Messages
- 1,487
5 / 5 = 1
, but 5 / 5.0 = 1.0
It is reporting an error from the blizzard.j though. That means that you're on an older patch--pJASS was updated to have stricter type checking so it'll spam errors at you if your wc3 has a pre-1.24 blizzard.j in its MPQ's.
Try to find an older copy of pJASS if you still want to develop on that older patch. Or you can enable the default syntax checker (if you aren't using vJass) by going to "Grimoire -> (untick) Disable default WE syntax checker", and disable jasshelper.
[jasscompiler]
//this is to specify what compiler to use, normally pjass.exe,
// though you may also want to use JassParserCLI.exe ...
//"JassParserCLI.exe"
"pjass.exe"
// The next line specifies the jass syntax checker's arguments:
//"--pjass $COMMONJ $BLIZZARDJ $WAR3MAPJ"
"$COMMONJ +rb $BLIZZARDJ -rb $WAR3MAPJ"
// i.e. You can change it to "$COMMONJ +rb $BLIZZARDJ -rb $WAR3MAPJ"
// in case of a recent PJass version ...
.... ._.
My warcraft is at patch 1.24e.
I dunno what is the patch of my jasshelper ._.