Skip to content

Commit 55ec327

Browse files
committed
Projectile Implementation!
* AB: Implemented ability projectiles * AB: Added Shadow Strike, Carrion Swarm, and Impale as demo abilities * AB: Added floating text hooks * AB: Added try/catch to ability loading so one bad file won't always cause others to fail * AB: Updated Point Target Simple to properly perform onAdd actions * AB: Updated Timed Buffs to allow different art types * AB: Refactored use of getCastingUnit to have clearer getBuffedUnit and getListenerUnit for specific cases * Core: Fixed crit text not appearing on misses for splash attacks * Core: Fixed AOE size for splash attacks that don't have a small damage area * Core: Fixed attack sounds for melee misses * Core: Fixed miss text appearing for splash missiles * Core: Hacked the miss text to appear by using the crit formatting
1 parent 24ee927 commit 55ec327

File tree

69 files changed

+3388
-272
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3388
-272
lines changed

core/assets/abilityBehaviors/generalPassives.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
"condition": {
235235
"type": "and",
236236
"condition1": {
237-
"type": "isValidTarget",
237+
"type": "isUnitValidTarget",
238238
"target": {
239239
"type": "getAttackedUnit"
240240
}
@@ -514,7 +514,7 @@
514514
"actions": [{
515515
"type": "setHp",
516516
"target": {
517-
"type": "getCastingUnit"
517+
"type": "getListenerUnit"
518518
},
519519
"amount": {
520520
"type": "rawFloat",

core/assets/abilityBehaviors/humanUnitActives.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"onAddActions": [{
9393
"type": "addNonStackingStatBuff",
9494
"targetUnit": {
95-
"type": "getCastingUnit"
95+
"type": "getBuffedUnit"
9696
},
9797
"buff": {
9898
"type": "getStoredNonStackingStatBuffByKey",
@@ -108,7 +108,7 @@
108108
},{
109109
"type": "addNonStackingStatBuff",
110110
"targetUnit": {
111-
"type": "getCastingUnit"
111+
"type": "getBuffedUnit"
112112
},
113113
"buff": {
114114
"type": "getStoredNonStackingStatBuffByKey",
@@ -125,7 +125,7 @@
125125
"onRemoveActions": [{
126126
"type": "removeNonStackingStatBuff",
127127
"targetUnit": {
128-
"type": "getCastingUnit"
128+
"type": "getBuffedUnit"
129129
},
130130
"buff": {
131131
"type": "getStoredNonStackingStatBuffByKey",
@@ -141,7 +141,7 @@
141141
},{
142142
"type": "removeNonStackingStatBuff",
143143
"targetUnit": {
144-
"type": "getCastingUnit"
144+
"type": "getBuffedUnit"
145145
},
146146
"buff": {
147147
"type": "getStoredNonStackingStatBuffByKey",

core/assets/abilityBehaviors/neutralHeroUnitActives.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"value1": {
1616
"type": "getUnitCurrentMana",
1717
"unit": {
18-
"type": "getCastingUnit"
18+
"type": "getListenerUnit"
1919
}
2020
},
2121
"value2": {
@@ -48,7 +48,7 @@
4848
"thenActions": [{
4949
"type": "setMp",
5050
"target": {
51-
"type": "getCastingUnit"
51+
"type": "getListenerUnit"
5252
},
5353
"amount": {
5454
"type": "rawFloat",
@@ -69,7 +69,7 @@
6969
"elseActions": [{
7070
"type": "subtractMp",
7171
"target": {
72-
"type": "getCastingUnit"
72+
"type": "getListenerUnit"
7373
},
7474
"amount": {
7575
"type": "*",

0 commit comments

Comments
 (0)