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IUP5R4STCPLRNJT6IJR6G232FAJ2T7DSCK2LOJZ5EG55QC 5I5QA3YK5G5QQCXMSDOEAX3A74LVXV7PYWAIHMLFANR2GUFWMKGQC S5OSCH7CRN2YEKVTCTJXNLYR2B3PEGCCBUGTN2M6QOCKBNJR62NAC VF7O5JL3OV4LGYOBYWTIA5KDC2EBJALKBOUEE2H3GISDPU4HRR2AC IA2O33JCJVSJ3IVBBHX2XQU4BCPL3X6JDDZ2R2KNGUFPWXAUKO7QC IFN4UDLTN7TD26CPONDCRHW4G3DJEXEYV62ZHZC4QD7DKJ76JAEQC JLT7KOJ5QGXMRLXQXOHDTF62W3EGPX7XTHNEYAKGMJKK3V4QUPGQC CD5FF75KTOBTMVMTMCKMR6F5DFKOF26I5K43ITNHGBI3ZAZHA4RAC HXTSBPAP75A7EC4RKWYQMVPPHPNZFPHUORBZWDHGEB6MPAGI7G7AC var weaponMoveSet = _equippedWeapon.GetCombatMoveSet().CombatMoves();var weaveMoveSet = weave.martialSequence.GetSequence();return weaveMoveSet.All(weaveMove => weaponMoveSet.Any(weaponMove => weaveMove.moveName == weaponMove.moveName));
var weaponMoveSet = _equippedWeapon.GetCombatMoveSetRef().combatMoveSet.CombatMoves();var weaveMoveSet = weave.martialSequence.GetSequence().Select(moveRef => moveRef.combatMove);return weaveMoveSet.All(weaveMove => weaponMoveSet.Any(weaponMove => weaveMove.moveName == weaponMove.combatMove.moveName));
public IEnumerable<CombatForm> GetAvailableCombatFormsForEquipedWeapon() => _knownForms.Select(combatFormRef => combatFormRef.Value).Intersect(_equippedWeapon.GetCompatibleForms());
public IEnumerable<CombatFormRef> GetAvailableCombatFormsForEquipedWeapon() => _knownForms.Select(combatFormRef => combatFormRef).Intersect(_equippedWeapon.GetCompatibleFormRefs());
combatMoveNodeNodeTransform.sizeDelta *= move.speed;nameLabel.text = move.moveName;
combatMoveNodeNodeTransform.sizeDelta *= moveRef.combatMove.speed;nameLabel.text = moveRef.combatMove.moveName;
return new RuneWeaving(_martialSequence.Select(clicker => clicker.CombatMove),_runeBindingSequence.Select(clicker => clicker.Rune), null, null);
return new RuneWeaving(_martialSequence.Select(clicker => clicker.CombatMoveRef),_runeBindingSequence.Select(clicker => clicker.RuneRef), null, null);
_selectedWeapon.GetCompatibleForms().Intersect(availableCombatForms.Select(combatFormRef => combatFormRef.Value))
_selectedWeapon.GetCompatibleFormRefs().Select(combatFormRef => combatFormRef.combatForm).Intersect(availableCombatForms.Select(combatFormRef => combatFormRef.combatForm))
public RuneWeaving(IEnumerable<CombatMove> combatMovesSequence, IEnumerable<Rune> runeSequence, Transform caster, Transform target) {
public RuneWeaving(IEnumerable<CombatMoveRef> combatMovesSequence, IEnumerable<RuneRef> runeSequence, Transform caster, Transform target) {
public RuneBindingSequence(IEnumerable<Rune> runeSequence, Transform caster, Transform target) {runes = runeSequence.ToList();
public RuneBindingSequence(IEnumerable<RuneRef> runeSequence, Transform caster, Transform target) {runeRefs = runeSequence.ToList();
while ((currentRuneIdx < runes.Count) && (currentTime - lastRuneTime >= runes[currentRuneIdx].speed)) {Debug.Log($"Finished executing {runes[currentRuneIdx].name} - {currentRuneIdx + 1}/{runes.Count} at {currentTime} ");runes[currentRuneIdx].Cast(context);lastRuneTime += runes[currentRuneIdx].speed;
while ((currentRuneIdx < runeRefs.Count) && (currentTime - lastRuneTime >= runeRefs[currentRuneIdx].rune.speed)) {Debug.Log($"Finished executing {runeRefs[currentRuneIdx].name} - {currentRuneIdx + 1}/{runeRefs.Count} at {currentTime} ");runeRefs[currentRuneIdx].rune.Cast(context);lastRuneTime += runeRefs[currentRuneIdx].rune.speed;
if (currentMoveIdx >= combatMoves.Count) {Debug.Log($"Executed Martial Sequence {currentMoveIdx}/{combatMoves.Count} moves in {currentTime} seconds");
if (currentMoveIdx >= combatMoveRefs.Count) {Debug.Log($"Executed Martial Sequence {currentMoveIdx}/{combatMoveRefs.Count} moves in {currentTime} seconds");
while ((currentMoveIdx < combatMoves.Count) && (currentTime - lastMoveTime >= combatMoves[currentMoveIdx].speed)) {Debug.Log($"Finished executing Martial move {combatMoves[currentMoveIdx].moveName} {currentMoveIdx + 1}/{combatMoves.Count} at {currentTime}");
while ((currentMoveIdx < combatMoveRefs.Count) && (currentTime - lastMoveTime >= combatMoveRefs[currentMoveIdx].combatMove.speed)) {Debug.Log($"Finished executing Martial move {combatMoveRefs[currentMoveIdx].combatMove.moveName} {currentMoveIdx + 1}/{combatMoveRefs.Count} at {currentTime}");
List<CombatForm> _compatibleCombatForms = new();public Weapon() {Populate();}public void Populate() {Clear();if ((compatibleCombatForms != null) && (weaponMoveSet != null)) {_weaponMoveSet = weaponMoveSet;_compatibleCombatForms.AddRange(compatibleCombatForms.Select(CombatFormRef => CombatFormRef.Value));}}
public void Clear() {_weaponMoveSet = null;_compatibleCombatForms.Clear();}public IEnumerable<CombatForm> GetCompatibleForms() {return _compatibleCombatForms;
public IEnumerable<CombatFormRef> GetCompatibleFormRefs() {return compatibleCombatForms;
public void Populate() {Clear();if (combatMoves != null) {_combatMoves.AddRange(combatMoves.Select(CombatMoveRef => CombatMoveRef.Value));}}public void Clear() {_combatMoves.Clear();}public IEnumerable<CombatMove> CombatMoves() {return _combatMoves;}
runeWeavings: []
- {fileID: 11400000, guid: d4e968054a75a114da71f543e64fa4b1, type: 2}