Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 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);
         }
     }
 }
Exemplo n.º 3
0
 public abstract void Process(GSkillSpellLogic pSpellLogic, Avatar pCaster);