Subject | Hash | Author | Date (UTC) |
---|---|---|---|
fix: remove debug trace | 7022f33a403d9d37f3f84acda98501ca76e1f981 | Vladyslav Bondarenko | 2023-12-16 04:18:53 |
feat: add hero selection | 230e7f365c3b564c39edeb7a5d76ceb343234da1 | Vladyslav Bondarenko | 2023-12-14 16:26:23 |
build: Use git-archive to package bundles | 666f7110532eba52212a35290a9e194170a00bc7 | Vladyslav Bondarenko | 2023-12-14 12:11:09 |
feat!: build skeleton project | da405d9978fcb6c8414249ceda4e07848e34f62a | Vladyslav Bondarenko | 2023-12-14 11:59:17 |
File | Lines added | Lines deleted |
---|---|---|
src/defeat.j | 0 | 1 |
src/herotoken.j | 0 | 4 |
File src/defeat.j changed (mode: 100644) (index aca3219..781a527) | |||
... | ... | function defeat_check takes nothing returns boolean | |
49 | 49 | set y = y + 1 | set y = y + 1 |
50 | 50 | set q = GetPlayerUnitCount(p, true) + q | set q = GetPlayerUnitCount(p, true) + q |
51 | 51 | set g = GetPlayerState(p, PLAYER_STATE_RESOURCE_GOLD) + g | set g = GetPlayerState(p, PLAYER_STATE_RESOURCE_GOLD) + g |
52 | call BJDebugMsg("i:" + I2S(i) + "q:" + I2S(GetPlayerTechCount(p, 'HERO', false)) + "g:" + I2S(GetPlayerState(p, PLAYER_STATE_RESOURCE_GOLD))) | ||
53 | 52 | endif | endif |
54 | 53 | set i = i + 1 | set i = i + 1 |
55 | 54 | endloop | endloop |
File src/herotoken.j changed (mode: 100644) (index a99f4fd..9c6f054) | |||
... | ... | endfunction | |
49 | 49 | function herotoken_init takes nothing returns nothing | function herotoken_init takes nothing returns nothing |
50 | 50 | call herotoken_hero_limit_init() | call herotoken_hero_limit_init() |
51 | 51 | call herotoken_unique_hero_trig_init() | call herotoken_unique_hero_trig_init() |
52 | |||
53 | call BJDebugMsg("HERO: Player0:" + I2S(GetPlayerTechMaxAllowed(Player(0), 'HERO'))) | ||
54 | call BJDebugMsg("HERO: Player1:" + I2S(GetPlayerTechMaxAllowed(Player(1), 'HERO'))) | ||
55 | call BJDebugMsg("HERO: Player2:" + I2S(GetPlayerTechMaxAllowed(Player(2), 'HERO'))) | ||
56 | 52 | endfunction | endfunction |