Jump to content

Saitama

Members
  • Content Count

    7
  • Joined

Posts posted by Saitama


  1.  

    int summons[5] = { 1652, 1657, 1638, 1637, 1634 };
    //int summons[5] = { 1020, 1068, 1118, 1500, 1368 };
    int class_ = skill_id==AM_SPHEREMINE?1142:summons[skill_lv-1];
    struct mob_data *md;
     
    // Correct info, don't change any of this! [Celest]
    md = mob->once_spawn_sub(src, src->m, x, y, status->get_name(src), class_, "", SZ_SMALL, AI_NONE);
    if (md) {
    md->master_id = src->id;
    md->special_state.ai = (skill_id == AM_SPHEREMINE) ? AI_SPHERE : AI_FLORA;
    if( md->deletetimer != INVALID_TIMER )
    timer->delete(md->deletetimer, mob->timer_delete);
    md->deletetimer = timer->add(timer->gettick() + skill->get_time(skill_id,skill_lv), mob->timer_delete, md->bl.id, 0);
    mob->spawn (md); //Now it is ready for spawning.
    }
    }
    break;

     

     
    can anyone help me modify this code to create a monster slave that will follow me through a specified time? for like 1 minute then they will disappear after one minute then you need to summon again.
     
    PS: you can include anymonster i'll just edit it but please make it a moving monster. also, they must be aggressive. thanks!

  2. Hello Hercules Community!

     

    Sorry for posting it here because i don't know if this would be source,db or client side related.

     

    I just want to ask if anyone here know how to add delay on skill icon? what i mean is when you use your skill for example double strafe, the cursor icon will show depending on your internet speed/ping/delay.

     

    thank you in advance if anyone knows how to do this.


  3. hello mga sir,

     

    question lang paano gawing based sa ping/delay ang paglabas ng icon ng skill? gaya ng mga old clients way back 2008.

     

    kunyari double strafe pag pinindot dipende sa delay/ping mo kung gano siya katagal magpapakita. salamat if meron dito may idea kung pano gawin

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.