Jump to content
  • 0

sumon and skill.c


poseidon73

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  08/06/12
  • Last Seen:  

Hello everyone, I am having the following problem when I code this:

Quote

    case TF_HIDING:
        if (tsce) {
            i = status_change_end(bl, type, INVALID_TIMER);
            if( i )
                clif_skill_nodamage(src,bl,skill_id,( skill_id == LG_FORCEOFVANGUARD || skill_id == RA_CAMOUFLAGE ) ? skill_lv : -1,i);
            else if( sd )
                clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
            map_freeblock_unlock();
            return 0;
        }
        i = sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv));
        if( i )
            clif_skill_nodamage(src,bl,skill_id,( skill_id == LG_FORCEOFVANGUARD || skill_id == RA_CAMOUFLAGE ) ? skill_lv : -1,i);
        else if( sd )
            clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
            clif_specialeffect(bl, 373, AREA);

                {
            int summons[5] = { MOBID_G_MANDRAGORA, MOBID_G_HYDRA, MOBID_G_FLORA, MOBID_G_PARASITE, MOBID_G_GEOGRAPHER };
            int class_ = skill_id==AM_SPHEREMINE?MOBID_MARINE_SPHERE:summons[skill_lv-1];
            enum mob_ai ai = (skill_id == AM_SPHEREMINE) ? AI_SPHERE : AI_FLORA;
            struct mob_data *md;
        }
        break;    

 

 

I need help, the skill is almost done, I need help to summon a specific mob that stays alive 2s

 

Edited by poseidon73
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

I also edit my post since im wrong now 

Edited by Naruto
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  08/06/12
  • Last Seen:  

i edit this topic, someone? nothing

Edited by poseidon73
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

6 hours ago, poseidon73 said:

 

i edit this topic, someone?

just use gettime2 or something . . . 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...