Fix Charge Arrow's beam graphic to match its radius better. Release Build 11546.
This commit is contained in:
parent
bc795ecb2b
commit
6788e3c523
@ -55,7 +55,7 @@ void ChargedArrow::Update(float fElapsedTime){
|
|||||||
if(dist>=1){
|
if(dist>=1){
|
||||||
vf2d midpoint(lineToCurrentPos.rpoint(0.5));
|
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};
|
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));
|
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_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_PATCH 5
|
#define VERSION_PATCH 5
|
||||||
#define VERSION_BUILD 11544
|
#define VERSION_BUILD 11546
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
@ -121,7 +121,7 @@ Item Enchants
|
|||||||
Description = "Charged Shot's attack radius becomes immensely large."
|
Description = "Charged Shot's attack radius becomes immensely large."
|
||||||
Affects = Ability 2
|
Affects = Ability 2
|
||||||
|
|
||||||
ATTACK RADIUS INCREASE MULT = 15x
|
ATTACK RADIUS INCREASE MULT = 5x
|
||||||
|
|
||||||
# Stat, Lowest, Highest Value
|
# Stat, Lowest, Highest Value
|
||||||
# Stat Modifier[0] = ..., 0, 0
|
# Stat Modifier[0] = ..., 0, 0
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user