Skip to content

Commit

Permalink
Fix Festive Sandvich having crit glow stay forever
Browse files Browse the repository at this point in the history
Thanks to Whurr for the report!
  • Loading branch information
agrastiOs committed Mar 27, 2021
1 parent 0a32607 commit 196b878
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"$blendtintbybasealpha" "1"
"$blendtintcoloroverbase" "0"

"$color2" "{194 45 48}"
"$colortint_base" "{183 56 61}"
"$colortint_tmp" "[0 0 0]"
"$colortint" "[0 0 0]"

"$tempvar" "{256 256 256}"

Expand Down Expand Up @@ -46,23 +48,33 @@
"invis"
{
}
"ItemTintColor"
{
"resultVar" "$colortint_tmp"
}
"ModelGlowColor"
{
{
"resultVar" "$glowcolor"
}
"Equals"
{
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$selfillumtint"
}
}
"SelectFirstIfNonZero"
{
"srcVar1" "$colortint_tmp"
"srcVar2" "$colortint_base"
"resultVar" "$colortint"
}
"LessOrEqual"
{
"LessEqualVar" "$glowcolor"
"greaterVar" "$color2"
"srcVar1" "$tempvar"
"srcVar2" "$glowcolor"
"resultVar" "$color2"
}
{
"LessEqualVar" "$glowcolor"
"greaterVar" "$colortint"
"srcVar1" "$tempvar"
"srcVar2" "$glowcolor"
"resultVar" "$color2"
}
"YellowLevel"
{
"resultVar" "$yellow"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"$blendtintbybasealpha" "1"
"$blendtintcoloroverbase" "0"

"$color2" "{56 93 125}"
"$colortint_base" "{56 93 125}"
"$colortint_tmp" "[0 0 0]"
"$colortint" "[0 0 0]"

"$tempvar" "{256 256 256}"

Expand Down Expand Up @@ -46,23 +48,33 @@
"invis"
{
}
"ItemTintColor"
{
"resultVar" "$colortint_tmp"
}
"ModelGlowColor"
{
{
"resultVar" "$glowcolor"
}
"Equals"
{
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$selfillumtint"
}
}
"SelectFirstIfNonZero"
{
"srcVar1" "$colortint_tmp"
"srcVar2" "$colortint_base"
"resultVar" "$colortint"
}
"LessOrEqual"
{
"LessEqualVar" "$glowcolor"
"greaterVar" "$color2"
"srcVar1" "$tempvar"
"srcVar2" "$glowcolor"
"resultVar" "$color2"
}
{
"LessEqualVar" "$glowcolor"
"greaterVar" "$colortint"
"srcVar1" "$tempvar"
"srcVar2" "$glowcolor"
"resultVar" "$color2"
}
"YellowLevel"
{
"resultVar" "$yellow"
Expand Down

0 comments on commit 196b878

Please sign in to comment.