Redundant collision tile error handling. And allow a flag for abilities to cancel casts (Wizard Teleport)

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
2023-09-15 17:07:14 +00:00
parent ac0fbbb174
commit dbc68b8c4b
14 changed files with 67 additions and 8 deletions
+11
View File
@@ -7,14 +7,19 @@ Ranger
DamageMult = 1
Radius = 100
Cooldown = 0.6
# Whether or not this ability cancels casts.
CancelCast = 0
ArrowSpd = 250
}
Right Click Ability
{
Name = Retreat
Cooldown = 7
Mana Cost = 0
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64, 255
@@ -34,6 +39,8 @@ Ranger
Name = Rapid Fire
Cooldown = 12
Mana Cost = 35
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -62,6 +69,8 @@ Ranger
Name = Charged Shot
Cooldown = 15
Mana Cost = 40
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -88,6 +97,8 @@ Ranger
Name = Multishot
Cooldown = 25
Mana Cost = 50
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
+8
View File
@@ -7,6 +7,8 @@ Thief
Name = ???
Cooldown = 8
Mana Cost = 5
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64, 255
@@ -21,6 +23,8 @@ Thief
Name = ???
Cooldown = 6
Mana Cost = 30
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -35,6 +39,8 @@ Thief
Name = ???
Cooldown = 6
Mana Cost = 25
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -49,6 +55,8 @@ Thief
Name = ???
Cooldown = 40
Mana Cost = 75
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -7,6 +7,8 @@ Trapper
Name = ???
Cooldown = 8
Mana Cost = 5
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64, 255
@@ -21,6 +23,8 @@ Trapper
Name = ???
Cooldown = 6
Mana Cost = 30
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -35,6 +39,8 @@ Trapper
Name = ???
Cooldown = 6
Mana Cost = 25
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -49,6 +55,8 @@ Trapper
Name = ???
Cooldown = 40
Mana Cost = 75
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -7,6 +7,8 @@ Warrior
DamageMult = 1
Range = 150
Cooldown = 0.35
# Whether or not this ability cancels casts.
CancelCast = 0
SwordSwingTime = 0.2
}
@@ -15,6 +17,8 @@ Warrior
Name = Block
Cooldown = 15
Mana Cost = 0
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64, 255
@@ -37,6 +41,8 @@ Warrior
Name = Battlecry
Cooldown = 12
Mana Cost = 40
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -79,6 +85,8 @@ Warrior
Name = Ground Slam
Cooldown = 15
Mana Cost = 50
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
+8
View File
@@ -7,6 +7,8 @@ Witch
Name = ???
Cooldown = 8
Mana Cost = 5
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64, 255
@@ -21,6 +23,8 @@ Witch
Name = ???
Cooldown = 6
Mana Cost = 30
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -35,6 +39,8 @@ Witch
Name = ???
Cooldown = 6
Mana Cost = 25
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -49,6 +55,8 @@ Witch
Name = ???
Cooldown = 40
Mana Cost = 75
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
+10
View File
@@ -8,6 +8,8 @@ Wizard
Radius = 100
Speed = 200
Cooldown = 0.85
# Whether or not this ability cancels casts.
CancelCast = 0
# When bullet makes contact, how fast the bullet will fade out.
BulletHitFadeoutTime = 0.2
@@ -28,6 +30,8 @@ Wizard
Name = Teleport
Cooldown = 8
Mana Cost = 5
# Whether or not this ability cancels casts.
CancelCast = 1
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64, 255
@@ -64,6 +68,8 @@ Wizard
Name = Firebolt
Cooldown = 6
Mana Cost = 30
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -126,6 +132,8 @@ Wizard
Name = Lightning Bolt
Cooldown = 6
Mana Cost = 25
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -178,6 +186,8 @@ Wizard
Name = Meteor
Cooldown = 40
Mana Cost = 75
# Whether or not this ability cancels casts.
CancelCast = 0
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0, 255
@@ -446,7 +446,6 @@
<tile id="517" type="ForegroundTile">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="24" height="21"/>
<object id="2" x="0" y="0" width="24" height="21"/>
</objectgroup>
</tile>
<tile id="518" type="ForegroundTile">
@@ -1986,7 +1986,6 @@
<tile id="1649">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="24" height="24"/>
<object id="2" x="0" y="0" width="24" height="24"/>
</objectgroup>
</tile>
<tile id="1650">