示例#1
0
 /** Start : protected override void Method
  * The Start Method is used here to get the ConflagrationSpell associated to the player and the NumBer Of Ignites in the game.
  **/
 private void Start()
 {
     _conflagrationSpell = GetComponent <ConflagrationSpell>();
 }
示例#2
0
 /** OnStatusApplied, public override void :
  * Launched by the base.Start automatically.
  * When launched, get the ConflagrationSpell component and set the CritSuccessto true.
  **/
 public override void OnStatusApplied()
 {
     _conflagration             = GetComponentInParent <ConflagrationSpell>();
     _conflagration.CritSuccess = true;
 }