예제 #1
0
파일: EtherItem.cs 프로젝트: DataEx/JRPG
 public override void UseAction(Character target, Character caster)
 {
     // InputController.staticCharacterPointer.SetTarget(target);
     this.caster       = caster;
     this.target       = target;
     damageDealt       = GetDamage();
     targetIsDestroyed = false;
     target.HealMana(damageDealt);
     caster.AnimateCharacter(Character.CharacterPoses.Attacking);
     Invoke("AnimateAction", 0.6f); ActionDetails.ItemDisplayDetails(caster, target, this);
 }
예제 #2
0
파일: HealingItem.cs 프로젝트: DataEx/JRPG
 public override void UseAction(Character target, Character caster)
 {
     base.UseAction(target, caster);
     ActionDetails.ItemDisplayDetails(caster, target, this);
 }