Commit ce9deb6
committed
Added Channel spells, lightning hooks, and sound
* AB: Implemented Channeling on spells
* AB: Implemented Lightning effects
* AB: Added sound effects to buffs
* AB: Implemented Aerial Shackles as an example spell
* AB: Fixed spells not checking target viability before beginning spell actions
* AB: Fixed major issues with when onBeginCasting and onEndCasting were called
* AB: Fixed cooldown handling so the visual displays properly
* AB: Fix the base spell to properly interrupt spell casts
* AB: Fix toggle spells to start cooldown on activation, and avoid error message on deactivation
* Core: Implemented Stun behavior, as pausing units stops things like HP regen
* Core: Implemented SimulationRenderComponents for ability sounds, to allow ending sounds selectively
* Core: Updated unit-targeted lightning methods with optional duration
* Core: Fixed issue where some looping sounds didn't loop
* Core: Fixed crash when unit has projectile attack with no art1 parent a7df261 commit ce9deb6
49 files changed
Lines changed: 1545 additions & 612 deletions
File tree
- core
- assets/abilityBehaviors
- src/com/etheller/warsmash/viewer5
- gl
- handlers/w3x
- simulation
- abilitybuilder
- ability
- behavior
- action
- ability
- buff
- unitstate
- callback
- booleancallbacks
- fxcallbacks
- locationcallbacks
- condition/unit
- buff
- core
- parser
- behaviors
- combat/attacks/listeners
- unit
- util
- desktop/src/com/etheller/warsmash/desktop
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
Lines changed: 30 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
122 | 130 | | |
123 | | - | |
| 131 | + | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
127 | | - | |
| 135 | + | |
128 | 136 | | |
129 | 137 | | |
130 | 138 | | |
| |||
139 | 147 | | |
140 | 148 | | |
141 | 149 | | |
142 | | - | |
143 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
144 | 158 | | |
145 | | - | |
| 159 | + | |
146 | 160 | | |
147 | 161 | | |
148 | 162 | | |
| |||
154 | 168 | | |
155 | 169 | | |
156 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
157 | 179 | | |
Lines changed: 65 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
641 | 648 | | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
| |||
734 | 736 | | |
735 | 737 | | |
736 | 738 | | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
737 | 746 | | |
738 | 747 | | |
739 | 748 | | |
| |||
1300 | 1309 | | |
1301 | 1310 | | |
1302 | 1311 | | |
1303 | | - | |
| 1312 | + | |
1304 | 1313 | | |
1305 | 1314 | | |
1306 | | - | |
1307 | | - | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
1308 | 1319 | | |
1309 | 1320 | | |
| 1321 | + | |
| 1322 | + | |
1310 | 1323 | | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1311 | 1330 | | |
1312 | 1331 | | |
1313 | 1332 | | |
1314 | | - | |
| 1333 | + | |
1315 | 1334 | | |
1316 | 1335 | | |
1317 | | - | |
1318 | | - | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1319 | 1340 | | |
1320 | | - | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
1321 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
1322 | 1351 | | |
1323 | 1352 | | |
1324 | 1353 | | |
| |||
1360 | 1389 | | |
1361 | 1390 | | |
1362 | 1391 | | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
1363 | 1396 | | |
1364 | 1397 | | |
1365 | 1398 | | |
| |||
1369 | 1402 | | |
1370 | 1403 | | |
1371 | 1404 | | |
1372 | | - | |
1373 | | - | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
1374 | 1414 | | |
1375 | 1415 | | |
1376 | 1416 | | |
| |||
2926 | 2966 | | |
2927 | 2967 | | |
2928 | 2968 | | |
2929 | | - | |
| 2969 | + | |
| 2970 | + | |
| 2971 | + | |
2930 | 2972 | | |
2931 | 2973 | | |
2932 | 2974 | | |
| |||
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
366 | 372 | | |
367 | 373 | | |
368 | 374 | | |
| |||
664 | 670 | | |
665 | 671 | | |
666 | 672 | | |
667 | | - | |
668 | | - | |
| 673 | + | |
| 674 | + | |
669 | 675 | | |
670 | 676 | | |
671 | | - | |
672 | | - | |
| 677 | + | |
| 678 | + | |
673 | 679 | | |
674 | 680 | | |
675 | 681 | | |
| |||
Lines changed: 23 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
435 | | - | |
| 436 | + | |
436 | 437 | | |
437 | 438 | | |
438 | 439 | | |
| |||
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
447 | | - | |
448 | | - | |
449 | 448 | | |
450 | 449 | | |
451 | 450 | | |
| |||
512 | 511 | | |
513 | 512 | | |
514 | 513 | | |
| 514 | + | |
515 | 515 | | |
| 516 | + | |
516 | 517 | | |
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
520 | 521 | | |
521 | 522 | | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
522 | 541 | | |
| 542 | + | |
523 | 543 | | |
524 | | - | |
525 | 544 | | |
526 | 545 | | |
527 | 546 | | |
528 | 547 | | |
529 | | - | |
530 | 548 | | |
531 | 549 | | |
532 | 550 | | |
| |||
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | | - | |
| 28 | + | |
24 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
25 | 39 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | 229 | | |
231 | 230 | | |
232 | 231 | | |
| |||
0 commit comments