Skip to content

Commit 7b08808

Browse files
authored
Update UjAPI v1.1.31.303.txt
1 parent 0aecc0b commit 7b08808

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

uJAPIFiles/Changelogs/UjAPI v1.1.31.303.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
native StringToBase64 takes string s returns string
55
native StringFromBase64 takes string s returns string
66
//
7-
constant native DecPlayerTechResearched takes player whichPlayer, integer techid, integer levels returns nothing
7+
constant native DecPlayerTechResearched takes player whichPlayer, integer techid, integer levels returns nothing
8+
//
9+
native IsUnitRevealed takes unit whichUnit returns boolean
10+
native GetUnitRevealedTo takes unit whichUnit returns integer
11+
native RevealUnit takes unit whichUnit, integer playerMask returns nothing // id << 1 -> BitwiseShiftLeft( id, 1 ) for each player.
12+
native UnrevealUnit takes unit whichUnit returns nothing // only works if unit was revealed beforehand.
813
2. Fixed EVENT_UNIT_ATTACK_FINISHED returning target as source instead.
914
3. BlzDecPlayerTechResearched is now also implemented.
1015
4. SetPlayerTechResearched rewritten, now it supports tech decrease.

0 commit comments

Comments
 (0)