// this is an overide of the base function in the parent script // this function is what applys the skill. since this is a damage skill it will apply damage to the target monster // the parameters : // the first parameter is the monster that will be using the skill // the second parameter is the monster that will have the damage applied to them public override void SkillAction(MonsterScript ThisMonster, MonsterScript TargetMonster) { float TempDamage = SkillDamage + (SkillDamage * SkillMultiplier); TempDamage += ThisMonster.ReturnBaseDamage(); TargetMonster.ApplyDamage(TempDamage, ThisMonster.ReturnBeneficialEffects(), ThisMonster.ReturnHarmfulEffects()); }
//this function will deal damage with the monster basic attack to the targeted enemy public override void SkillAction(MonsterScript ThisMonster, MonsterScript TargetMonster) { TargetMonster.ApplyDamage(ThisMonster.ReturnBaseDamage(), ThisMonster.ReturnBeneficialEffects(), ThisMonster.ReturnHarmfulEffects()); }