Nodes - Added event value cycle node

This commit is contained in:
Robert committed 2021-09-20 22:55:10 +02:00
1 parent 02f4609eae
commit 8413b8d6db
13 files changed
+195 -74

No files matched your search

@@ -130,8 +130,11 @@ namespace Artemis.Core
/// at all
/// </summary>
/// <returns></returns>
public static int ScoreCastability(this Type to, Type from)
public static int ScoreCastability(this Type to, Type? from)
{
if (from == null)
return 0;
if (to == from)
return 5;
if (to.TypeIsNumber() && from.TypeIsNumber())