added a path to SC102 from SC101

This commit is contained in:
2026-08-16 13:52:48 +02:00
parent 6f2225f911
commit bea880a999
11 changed files with 318 additions and 28 deletions
@@ -0,0 +1,13 @@
using UnityEngine;
using Yarn.Unity;
public class SkillFunctions : MonoBehaviour
{
[YarnFunction("top_skill")]
public static string TopSkill(float a, string aName, float b, string bName, float c, string cName)
{
if (a >= b && a >= c) return aName;
if (b >= a && b >= c) return bName;
return cName;
}
}