public override void Process(GSkillSpellLogic pSpellLogic, Avatar pCaster) { if (pCaster && pCaster.SkillCom != null && pSpellLogic.m_pSkillData != null) { pCaster.SkillCom.ProcessSkillEffect(pSpellLogic.m_pSkillData, pSpellLogic.m_TargetInfo, pSpellLogic.m_AValue); } }
public override void Process(GSkillSpellLogic pSpellLogic, Avatar pCaster) { if (pCaster && pCaster.SkillCom != null && pSpellLogic.m_pSkillData != null) { int count = pSpellLogic.m_pSkillData.MSV_ProjectileParam1; for (int i = 0; i < count; ++i) { pCaster.SkillCom.CreateSkillProjectile(pSpellLogic.m_pSkillData, pSpellLogic.m_TargetInfo, pSpellLogic.m_AValue); } } }
public abstract void Process(GSkillSpellLogic pSpellLogic, Avatar pCaster);