int F_God_Bless() { pUseSkill->UseTime = God_Bless_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); cInvenTory.SetItemToChar(); //셋팅을 변경한다 return TRUE; }
int F_Godly_Shield() { pUseSkill->UseTime = Godly_Shield_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); SwitchSkill(pUseSkill); return TRUE; }
int F_D_Sword() { pUseSkill->UseTime = Dancing_Sword_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); cInvenTory.SetItemToChar(); //셋팅을 변경한다 return TRUE; }
int F_Spirit_Elemental() { pUseSkill->UseTime = Spirit_Elemental_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); cInvenTory.SetItemToChar(); //셋팅을 변경한다 return TRUE; }
int F_HolyBody() { pUseSkill->UseTime = HolyBody_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); sinSwitchSkill(pUseSkill); return TRUE; }
int F_D_Inhalation() { pUseSkill->UseTime = D_Inhalation_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); SwitchSkill(pUseSkill); cInvenTory.SetItemToChar(); //셋팅을 변경한다 return TRUE; }
int F_Drastic_Spirit() { pUseSkill->UseTime = Drastic_Spirit_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); sinSwitchSkill(pUseSkill); cInvenTory.SetItemToChar(); //셋팅을 변경한다 return TRUE; }
int F_Zenith() { //pUseSkill->Time[1] = Zenith_Time[pUseSkill->Point-1]; pUseSkill->UseTime = Zenith_Time[pUseSkill->Point-1]; sinContinueSkillSet(pUseSkill); sinUseManaStamina(pUseSkill); cInvenTory.SetItemToChar(); //셋팅을 변경한다 return TRUE; }
/*----------------------------------------------------------------------------* * 퀘스트 타이머 *-----------------------------------------------------------------------------*/ int cHaQuest::haSetQuestTimer(sQUEST_ELEMENTARY *pQuest) { sSKILL TempSkill; memset(&TempSkill,0,sizeof(sSKILL)); //텍스쳐 로딩 char *Path = "image\\Sinimage\\skill\\keep\\QuestTimer.tga"; if(!MatQuestTimer){ MatQuestTimer = CreateTextureMaterial(Path, 0, 0, 0,0, SMMAT_BLEND_ALPHA ); ReadTextures(); //텍스쳐 로딩 } TempSkill.CODE = CHANGE_ELEMENTARY_QUEST; TempSkill.UseTime = 70*70; TempSkill.Point = 1; TempSkill.MatIcon = MatQuestTimer; sinContinueSkillSet(&TempSkill); sinPlaySound(SIN_SOUND_EAT_POTION2);//대박 사운드 return TRUE; }