Fix glow for deut at ligh
This commit is contained in:
parent
152c29c868
commit
4d45bbedb3
@ -75,12 +75,13 @@ int update_DEUT(UPDATE_FUNC_ARGS) {
|
|||||||
|
|
||||||
int graphics_DEUT(GRAPHICS_FUNC_ARGS)
|
int graphics_DEUT(GRAPHICS_FUNC_ARGS)
|
||||||
{
|
{
|
||||||
if(cpart->life>=700)
|
if(cpart->life>=240)
|
||||||
{
|
{
|
||||||
*colr += cpart->life*1;
|
*firea = 60;
|
||||||
*colg += cpart->life*2;
|
*firer = *colr += cpart->life*1;
|
||||||
*colb += cpart->life*3;
|
*fireg = *colg += cpart->life*2;
|
||||||
*pixel_mode |= PMODE_GLOW;
|
*fireb = *colb += cpart->life*3;
|
||||||
|
*pixel_mode |= PMODE_GLOW | FIRE_ADD;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -287,9 +287,10 @@ int update_LIGH(UPDATE_FUNC_ARGS)
|
|||||||
}
|
}
|
||||||
int graphics_LIGH(GRAPHICS_FUNC_ARGS)
|
int graphics_LIGH(GRAPHICS_FUNC_ARGS)
|
||||||
{
|
{
|
||||||
*colr = 235;
|
*firea = 120;
|
||||||
*colg = 245;
|
*firer = *colr = 235;
|
||||||
*colb = 255;
|
*fireg = *colg = 245;
|
||||||
*pixel_mode |= PMODE_GLOW;
|
*fireb = *colb = 255;
|
||||||
|
*pixel_mode |= PMODE_GLOW | FIRE_ADD;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user