Fix Charge Arrow's beam graphic to match its radius better. Release Build 11546.

demo
sigonasr2 4 months ago
parent bc795ecb2b
commit 6788e3c523
  1. 2
      Adventures in Lestoria/ChargedArrow.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. 2
      Adventures in Lestoria/assets/config/items/ItemEnchants.txt
  4. BIN
      x64/Release/Adventures in Lestoria.exe

@ -55,7 +55,7 @@ void ChargedArrow::Update(float fElapsedTime){
if(dist>=1){
vf2d midpoint(lineToCurrentPos.rpoint(0.5));
const float normalBeamRadius{12*"Ranger.Ability 2.Radius"_F/100};
const float normalBeamRadius{12*"Ranger.Ability 2.Radius"_F/100/5};
float laserWidth{radius/normalBeamRadius};
game->AddEffect(std::make_unique<Effect>(midpoint,0.1f,"laser.png",upperLevel,vf2d{laserWidth,dist*2},0.3f,vf2d{},Pixel{192,128,238},atan2(pos.y-lastLaserPos.y,pos.x-lastLaserPos.x)+PI/2,0,true));

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_PATCH 5
#define VERSION_BUILD 11544
#define VERSION_BUILD 11546
#define stringify(a) stringify_(a)
#define stringify_(a) #a

@ -121,7 +121,7 @@ Item Enchants
Description = "Charged Shot's attack radius becomes immensely large."
Affects = Ability 2
ATTACK RADIUS INCREASE MULT = 15x
ATTACK RADIUS INCREASE MULT = 5x
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0

Loading…
Cancel
Save