Added casting time parameters to ability configuration files.

pull/28/head
sigonasr2 1 year ago
parent 5a406bc469
commit 44281bac19
  1. 4
      Crawler/Player.h
  2. 2
      Crawler/Version.h
  3. 16
      Crawler/assets/config/classes/Ranger.txt
  4. 16
      Crawler/assets/config/classes/Thief.txt
  5. 16
      Crawler/assets/config/classes/Trapper.txt
  6. 16
      Crawler/assets/config/classes/Warrior.txt
  7. 16
      Crawler/assets/config/classes/Witch.txt
  8. 16
      Crawler/assets/config/classes/Wizard.txt

@ -344,6 +344,7 @@ struct Witch:Player{
#class".Right Click Ability.Mana Cost"_I, \
{uint8_t(#class".Right Click Ability.Cooldown Bar Color 1"_f[0]),uint8_t(#class".Right Click Ability.Cooldown Bar Color 1"_f[1]),uint8_t(#class".Right Click Ability.Cooldown Bar Color 1"_f[2]),uint8_t(#class".Right Click Ability.Cooldown Bar Color 1"_f[3]==0?255:#class".Right Click Ability.Cooldown Bar Color 1"_f[3])}, \
{uint8_t(#class".Right Click Ability.Cooldown Bar Color 2"_f[0]),uint8_t(#class".Right Click Ability.Cooldown Bar Color 2"_f[1]),uint8_t(#class".Right Click Ability.Cooldown Bar Color 2"_f[2]),uint8_t(#class".Right Click Ability.Cooldown Bar Color 2"_f[3]==0?255:#class".Right Click Ability.Cooldown Bar Color 2"_f[3])}, \
{#class".Right Click Ability.Precast Time"_F,#class".Right Click Ability.Casting Range"_I/100.f*24,#class".Right Click Ability.Casting Size"_I/100.f*24} \
}; \
class::ability1={ \
#class".Ability 1.Name"_S, \
@ -351,6 +352,7 @@ struct Witch:Player{
#class".Ability 1.Mana Cost"_I, \
{uint8_t(#class".Ability 1.Cooldown Bar Color 1"_f[0]),uint8_t(#class".Ability 1.Cooldown Bar Color 1"_f[1]),uint8_t(#class".Ability 1.Cooldown Bar Color 1"_f[2]),uint8_t(#class".Ability 1.Cooldown Bar Color 1"_f[3]==0?255:#class".Ability 1.Cooldown Bar Color 1"_f[3])}, \
{uint8_t(#class".Ability 1.Cooldown Bar Color 2"_f[0]),uint8_t(#class".Ability 1.Cooldown Bar Color 2"_f[1]),uint8_t(#class".Ability 1.Cooldown Bar Color 2"_f[2]),uint8_t(#class".Ability 1.Cooldown Bar Color 2"_f[3]==0?255:#class".Ability 1.Cooldown Bar Color 2"_f[3])}, \
{#class".Ability 1.Precast Time"_F,#class".Ability 1.Casting Range"_I/100.f*24,#class".Ability 1.Casting Size"_I/100.f*24} \
}; \
class::ability2={ \
#class".Ability 2.Name"_S, \
@ -358,6 +360,7 @@ struct Witch:Player{
#class".Ability 2.Mana Cost"_I, \
{uint8_t(#class".Ability 2.Cooldown Bar Color 1"_f[0]),uint8_t(#class".Ability 2.Cooldown Bar Color 1"_f[1]),uint8_t(#class".Ability 2.Cooldown Bar Color 1"_f[2]),uint8_t(#class".Ability 2.Cooldown Bar Color 1"_f[3]==0?255:#class".Ability 2.Cooldown Bar Color 1"_f[3])}, \
{uint8_t(#class".Ability 2.Cooldown Bar Color 2"_f[0]),uint8_t(#class".Ability 2.Cooldown Bar Color 2"_f[1]),uint8_t(#class".Ability 2.Cooldown Bar Color 2"_f[2]),uint8_t(#class".Ability 2.Cooldown Bar Color 2"_f[3]==0?255:#class".Ability 2.Cooldown Bar Color 2"_f[3])}, \
{#class".Ability 2.Precast Time"_F,#class".Ability 2.Casting Range"_I/100.f*24,#class".Ability 2.Casting Size"_I/100.f*24} \
}; \
class::ability3={ \
#class".Ability 3.Name"_S, \
@ -365,5 +368,6 @@ struct Witch:Player{
#class".Ability 3.Mana Cost"_I, \
{uint8_t(#class".Ability 3.Cooldown Bar Color 1"_f[0]),uint8_t(#class".Ability 3.Cooldown Bar Color 1"_f[1]),uint8_t(#class".Ability 3.Cooldown Bar Color 1"_f[2]),uint8_t(#class".Ability 3.Cooldown Bar Color 1"_f[3]==0?255:#class".Ability 3.Cooldown Bar Color 1"_f[3])}, \
{uint8_t(#class".Ability 3.Cooldown Bar Color 2"_f[0]),uint8_t(#class".Ability 3.Cooldown Bar Color 2"_f[1]),uint8_t(#class".Ability 3.Cooldown Bar Color 2"_f[2]),uint8_t(#class".Ability 3.Cooldown Bar Color 2"_f[3]==0?255:#class".Ability 3.Cooldown Bar Color 2"_f[3])}, \
{#class".Ability 3.Precast Time"_F,#class".Ability 3.Casting Range"_I/100.f*24,#class".Ability 3.Casting Size"_I/100.f*24} \
}; \
class::ability4={"???",0,0};

@ -2,7 +2,7 @@
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 0
#define VERSION_BUILD 866
#define VERSION_BUILD 868
#define stringify(a) stringify_(a)
#define stringify_(a) #a

@ -11,6 +11,10 @@ Ranger
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64
Cooldown Bar Color 2 = 0, 0, 128
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 1
{
@ -21,6 +25,10 @@ Ranger
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 2
{
@ -31,6 +39,10 @@ Ranger
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0.3
Casting Range = 0
Casting Size = 0
}
Ability 3
{
@ -41,5 +53,9 @@ Ranger
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
}

@ -11,6 +11,10 @@ Thief
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64
Cooldown Bar Color 2 = 0, 0, 128
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 1
{
@ -21,6 +25,10 @@ Thief
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 2
{
@ -31,6 +39,10 @@ Thief
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 3
{
@ -41,5 +53,9 @@ Thief
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
}

@ -11,6 +11,10 @@ Trapper
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64
Cooldown Bar Color 2 = 0, 0, 128
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 1
{
@ -21,6 +25,10 @@ Trapper
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 2
{
@ -31,6 +39,10 @@ Trapper
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 3
{
@ -41,5 +53,9 @@ Trapper
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
}

@ -11,6 +11,10 @@ Warrior
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64
Cooldown Bar Color 2 = 0, 0, 128
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 1
{
@ -21,6 +25,10 @@ Warrior
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 2
{
@ -31,6 +39,10 @@ Warrior
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 3
{
@ -41,5 +53,9 @@ Warrior
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
}

@ -11,6 +11,10 @@ Witch
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64
Cooldown Bar Color 2 = 0, 0, 128
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 1
{
@ -21,6 +25,10 @@ Witch
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 2
{
@ -31,6 +39,10 @@ Witch
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 3
{
@ -41,5 +53,9 @@ Witch
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
}

@ -11,6 +11,10 @@ Wizard
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 0, 0, 64
Cooldown Bar Color 2 = 0, 0, 128
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 1
{
@ -21,6 +25,10 @@ Wizard
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 2
{
@ -31,6 +39,10 @@ Wizard
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 0
Casting Range = 0
Casting Size = 0
}
Ability 3
{
@ -41,5 +53,9 @@ Wizard
#RGB Values. Color 1 is the left side of the bar, Color 2 is the right side.
Cooldown Bar Color 1 = 64, 0, 0
Cooldown Bar Color 2 = 128, 0, 0
Precast Time = 1.5
Casting Range = 900
Casting Size = 400
}
}
Loading…
Cancel
Save