阅读:1419回复:0
【源码编译】关于战士技能特效的问题图片:QQ图片20140502081412.jpg 图片:QQ图片20140502081759.jpg void CCtrl::CreateSkillSfx( CCtrl *pTarget, ItemProp *pSkillProp, AddSkillProp *pAddSkillProp )//这个函数 查找// if( ((CMover *)this)->HasBuff( BUFF_SKILL, (WORD)( pSkillProp->dwID ) ) == FALSE 改为 #ifdef __CLIENT CreateSfx( D3DDEVICE, pSkillProp->dwSfxObj4, this->GetPos(), this->GetId(), pTarget->GetPos(), pTarget->GetId(), (int)(pAddSkillProp->dwSkillTime / 1000.0f) ); #else // 捞固 角青登绊 乐瘤 臼阑锭父 捞棋 免仿 // 091022 mirchang 战士技能特效限制语句 if( ((CMover *)this)->HasBuff( BUFF_SKILL, (WORD)( pSkillProp->dwID ) ) == FALSE && pSkillProp->dwID != SI_MER_SHIELD_PROTECTION && pSkillProp->dwID != SI_MER_SHIELD_PANBARRIER ) #endif 就OK 了 |
|
100% |