private void Start() { _fb = new FireBall(); _fn = new FireNova(); if (Character.photonView.isMine) { _fireBallUi = GameObject.Find("FireBallIcon").GetComponent <SpellIconController>(); _fireNovaUi = GameObject.Find("FireNovaIcon").GetComponent <SpellIconController>(); _fireBallUi.Spell = _fb; _fireNovaUi.Spell = _fn; } }
public Rotation(ShamanTalents talents, SpellBox spellBox, IRotationOptions rotOpt) : this() { Talents = talents; LB = spellBox.LB; CL = spellBox.CL; LvB = spellBox.LvB; LvBFS = spellBox.LvBFS; FS = spellBox.FS; ES = spellBox.ES; FrS = spellBox.FrS; FN = spellBox.FN; ST = spellBox.ST; MT = spellBox.MT; FE = spellBox.FE; useDpsFireTotem = rotOpt.UseDpsFireTotem; CalculateRotation(rotOpt.UseFireNova, rotOpt.UseChainLightning, rotOpt.UseDpsFireTotem, rotOpt.UseFireEle); }