vrtc / honeydew (public) (License: CC0) (since 2023-12-20) (hash sha1)
Warcraft 3: The Frozen Throne 1.27 custom scenario.
List of commits:
Subject Hash Author Date (UTC)
fix: unique hero per player c7910812bf1957513aab9067e817ca57634d4834 Vladyslav Bondarenko 2023-12-19 13:05:50
feat: heroes do not require resources to hire 717364a931afcde3496058a3f6100d95c92f7fe7 Vladyslav Bondarenko 2023-12-18 15:47:54
fix: add user force singleton 62f7007392e88829951855f9bd5eab3e7a5552aa Vladyslav Bondarenko 2023-12-17 13:02:08
doc: update design notes to self d8caf093082f02efc919b01cc7bfddd9193d0531 Vladyslav Bondarenko 2023-12-17 12:35:50
feat: add victory script 8d0299b42a3e61ffee708395017967dc288ed1b8 Vladyslav Bondarenko 2023-12-17 12:28:18
feat: summon any hero instantly b3657cf44de4558f3e6a2eac5d7916a036aa3dad Vladyslav Bondarenko 2023-12-16 04:19:10
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
Commit c7910812bf1957513aab9067e817ca57634d4834 - fix: unique hero per player
Author: Vladyslav Bondarenko
Author date (UTC): 2023-12-19 13:05
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2023-12-19 13:05
Parent(s): 717364a931afcde3496058a3f6100d95c92f7fe7
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: 71b8a9b2d926bfe7ac2fc5b45d9e6e5024f5c9eb
File Lines added Lines deleted
src/altar.j 5 1
File src/altar.j changed (mode: 100644) (index 7724912..fdcc6fd)
... ... function altar_train_trig_action takes nothing returns nothing
47 47 call SetPlayerState(p, PLAYER_STATE_RESOURCE_GOLD, g) call SetPlayerState(p, PLAYER_STATE_RESOURCE_GOLD, g)
48 48 call SetPlayerState(p, PLAYER_STATE_RESOURCE_LUMBER, b) call SetPlayerState(p, PLAYER_STATE_RESOURCE_LUMBER, b)
49 49
50 // Only one instance of a hero type is allowed per player.
51 call SetPlayerTechMaxAllowed(p, utype, 1)
52
50 53 set e = AddSpellEffectTargetById('Aawa', EFFECT_TYPE_TARGET, u, "origin") set e = AddSpellEffectTargetById('Aawa', EFFECT_TYPE_TARGET, u, "origin")
51 54 call DestroyEffect(e) call DestroyEffect(e)
52 55 endfunction endfunction
 
... ... function altar_train_trig_init takes nothing returns trigger
63 66 endfunction endfunction
64 67
65 68 function altar_player_altar_type_get takes player p returns integer function altar_player_altar_type_get takes player p returns integer
66 return 'halt'
69 return 'h000'
67 70 endfunction endfunction
68 71
69 72 function altar_player_altar_unit_get takes player p returns unit function altar_player_altar_unit_get takes player p returns unit
 
... ... function altar_player_structure_init takes player p returns unit
94 97 set u = CreateUnitAtLoc(p, utype, loc, bj_UNIT_FACING) set u = CreateUnitAtLoc(p, utype, loc, bj_UNIT_FACING)
95 98
96 99 call SetUnitInvulnerable(u, true) call SetUnitInvulnerable(u, true)
100 // Remove rally button to fit more hero buttons on the panel.
97 101 call UnitRemoveAbility(u, 'ARal') call UnitRemoveAbility(u, 'ARal')
98 102
99 103 if p == GetLocalPlayer() then if p == GetLocalPlayer() then
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/honeydew

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/honeydew

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/honeydew

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main