Subject | Hash | Author | Date (UTC) |
---|---|---|---|
doc: add Arcane Lance issue note | 2ea8eff1b2fa0b0123c387ad09a40afef0717337 | Vladyslav Bondarenko | 2024-01-08 18:59:12 |
doc: add issue | d64841d9821a6925327b090574744271b048d0d0 | Vladyslav Bondarenko | 2024-01-05 17:01:07 |
feat: spell Attunement leaves battle scarring | c3458ede56c8b85d6580851fa38a0c726ee5eb7c | Vladyslav Bondarenko | 2024-01-05 16:36:58 |
feat: spell Arcane Lance displays beam graphics | e40bf803cc04cae231295a04a277480ad3acff19 | Vladyslav Bondarenko | 2024-01-05 15:24:10 |
fix: spell Attunement uses ability id for effects | 93f15ee614ce5958f2a52a8fbc336c8938b40b09 | Vladyslav Bondarenko | 2023-12-27 08:57:29 |
feat!: add spell Arcane Lance base | e164d3c3f3f69230dbb9b1e5045c551f5870337d | Vladyslav Bondarenko | 2023-12-23 23:23:58 |
nightly: 0.1-WIP | c97814a5f138ed20958a7a1f88f5c2c6a2081906 | Vladyslav Bondarenko | 2023-12-22 04:08:33 |
doc: add note to self about computer users | 40c8b325bce404489c03ab0a8db90cadbc008ae3 | Vladyslav Bondarenko | 2023-12-22 04:05:26 |
feat: add simple test scripts | 9bb401206b8187fe06ae9b3d2309e1244cea3c36 | Vladyslav Bondarenko | 2023-12-22 04:03:25 |
feat: add spell Attunement | 29062f0810e8e239f37639973a48b187d0b81e4a | Vladyslav Bondarenko | 2023-12-22 03:58:59 |
feat!: add spell Dampening Field | 61ddc9409c00c79ee947578291c21eaa701f41e2 | Vladyslav Bondarenko | 2023-12-22 01:38:15 |
stash amend this | 050948decf45ea58dd25b0eddf62d1593ed4460f | Vladyslav Bondarenko | 2023-12-21 07:39:33 |
fix!: patch map script correctly | 3a8cb9ba68d82685dce420659416d36b00e06ac8 | Vladyslav Bondarenko | 2023-12-21 01:15:05 |
fix: typo in Makefile | 7fd84f0bd1d63c2218c4f72f96ea2297f204a223 | Vladyslav Bondarenko | 2023-12-21 01:00:47 |
build: complicate Makefile | bff3fe00560b3afe70a869e2859d665367b4f62d | Vladyslav Bondarenko | 2023-12-21 00:52:56 |
fix!: declare Jass module user correctly | c7f6b810ca76a7eee47213061a0740039ec95cec | Vladyslav Bondarenko | 2023-12-21 00:50:29 |
doc: add macro preprocessor caveat | 651bad90dfe868626b5aa19331f674b9981f1dee | Vladyslav Bondarenko | 2023-12-20 01:55:27 |
doc: add macro preprocessor caveat | 886e7960b79f1f13acd2359c44715dc157c6d7cf | Vladyslav Bondarenko | 2023-12-20 01:55:27 |
fix: fix typo in Makefile | 652c3bd4a70f9f215a8f6824bc689596d173b85a | Vladyslav Bondarenko | 2023-12-20 01:33:56 |
doc: add basic build instructions | 0fbeb1f61f266b7430d9365e3c282e64f751487d | Vladyslav Bondarenko | 2023-12-20 01:32:07 |
File | Lines added | Lines deleted |
---|---|---|
src/spell.j | 49 | 0 |
File src/spell.j changed (mode: 100644) (index 0fa7d5e..fe369d9) | |||
1 | 1 | // jass_module(`SRC_SPELL_J') | // jass_module(`SRC_SPELL_J') |
2 | 2 | ||
3 | // Spell events will always trigger in this order. | ||
4 | // * channel (mandatory); | ||
5 | // * cast (optional); | ||
6 | // * effect (optional); | ||
7 | // * finish (optional); | ||
8 | // * endcast (mandatory); | ||
9 | |||
10 | // --- | ||
11 | // EVENT_PLAYER_UNIT_SPELL_CHANNEL | ||
12 | // --- | ||
13 | // Order to cast received. | ||
14 | // All calls to GetUnitCurrentOrder will return the same order identifier. | ||
15 | // Mana is not subtracted. | ||
16 | // GetUnitState will return mana _before_ subtraction. | ||
17 | // Channel event will always trigger. | ||
18 | |||
19 | // --- | ||
20 | // EVENT_PLAYER_UNIT_SPELL_CAST | ||
21 | // --- | ||
22 | // Mana will be subtracted. | ||
23 | // GetUnitState will return mana _before_ subtraction. | ||
24 | // Cast event will trigger _after_ "casting time" (Cast) expires. | ||
25 | // Cast event will trigger _before_ "follow through time" (DataA) expires. | ||
26 | // EffectArt will be rendered from this point. | ||
27 | |||
28 | // --- | ||
29 | // EVENT_PLAYER_UNIT_SPELL_EFFECT | ||
30 | // --- | ||
31 | // Mana will be subtracted. | ||
32 | // GetUnitState will return mana _before_ subtraction. | ||
33 | // Spell was not canceled and will take effect. | ||
34 | // Effect event will trigger _after_ "casting time" (Cast) expires. | ||
35 | // Effect event will trigger _before_ "follow through time" (DataA) expires. | ||
36 | |||
37 | // --- | ||
38 | // EVENT_PLAYER_UNIT_SPELL_FINISH | ||
39 | // --- | ||
40 | // Mana was subtracted. | ||
41 | // GetUnitState will return mana _after_ subtraction. | ||
42 | // Finish event will trigger given the spell finished gracefully uninterrupted, | ||
43 | // and "follow through time" duration expired completely. | ||
44 | |||
45 | // --- | ||
46 | // EVENT_PLAYER_UNIT_SPELL_ENDCAST | ||
47 | // --- | ||
48 | // Mana was subtracted. | ||
49 | // GetUnitState will return mana _after_ subtraction. | ||
50 | // Endcast event will always trigger. | ||
51 | |||
3 | 52 | // Filter checks ability id or maybe caster. | // Filter checks ability id or maybe caster. |
4 | 53 | function spell_trig_init takes conditionfunc filter, code action returns trigger | function spell_trig_init takes conditionfunc filter, code action returns trigger |
5 | 54 | local trigger t = null | local trigger t = null |