Jump to content

reds09

Members
  • Content Count

    34
  • Joined

  • Last visited

About reds09

  • Rank
    Advanced Member

Profile Information

  • Github
    reds09
  1. Mano thank you for being helped me, but it still fails the skill continues to take damage normally, not only when the player is in a state of petrification (sc_stone). Because my idea and make that skill just take damage when the enemy is stunned, proque if not she "misses". I tried other forms within that gave me no success.
  2. I'm trying to make a skill only be performed or take damage when the target is petrified (SC_STONE), but I can not solve. I used the example of SC_WHITEIMPRISON: and I did my, but it does not work fot. Is there some function that checks whether the player is with some active status? Style the getStatus, however for the enemy.
  3. reds09

    function

    Is there any function in src that I can use in a skill to check your id? Ex: When I give Targed in a mob the skill will verify that the mob that used the skill and the determined ex: If (checker == IDMOB) performs the function {} else {} runs
  4. reds09

    Remove animation

    Review the following places, as had already made up before: void clif_pet_roulette(struct map_session_data *sd,int data){ int fd; nullcheckvoid(sd); fd=sd->fd; WFIFOHEAD(fd,packet_len(0x1a0)); WFIFOW(fd,0)=0x1a0; WFIFOB(fd,2)=data; WFIFOSET(fd,packet_len(0x1a0));}andclif->pet_roulette = clif_pet_roulette; But the "animation" Roulette continues to appear ... the document he talks about a "ZC_TRYCAPTURE_MONSTER", and that will be the animation name (sprite)? I searched several files not found.
  5. I'm trying to remove the animation "slotmachine" that appears when trying to capture a pet. I was in the file "pet.c" but found nothing to remove this animation. Does anyone know how to remove or and other file? because not found any animation called the same in pet.ce or other files.
  6. reds09

    Skill Edition

    I'm trying to customize the skill "theft" of the thief (TF_STEAL ID: 50) so she only run the "theft" if the check is positive. For example: Only steal the mob have such "item" So steal if such a "mob" So steal the mob is specified with both hp I began trying to verify the mob and was thus put this warning an error. case TF_STEAL: if(sd) { if(src->bl.id == 1002) { if(pc->steal_item(sd,bl,skill_lv)) clif->skill_nodamage(src,bl,skill_id,skill_lv,1); else clif->skill_fail(sd,skill_id,USESKILL_FAIL,0); } } I tried that, but the wrong one "block_lista", saying as "bl" did not exist... Does anyone know show me "function" right? If you need to change the src I thought to modify the "killedrid" to receive the parameter when "attack" the mob rather than when he "died" but have little knowledge of src to do this is if someone can indicate.
  7. Part of the status / skill I managed to solve and the check is running and the player that launches. Now as I said and about checking the mob, it will not launch a skill, but if the "mob" determined happened "X" if any happened "y".
  8. On verification of active skill I managed to solve. Well I'm not using OnNPCKillEvent because I want to check with the mob still alive, he would die only after I run what was inside that if. NOTE: If I'm wrong about OnNPCKillEvent correct me...
  9. What would be the "names" right to call for a check of a "mob" and if a "skill" is active: Eg (these low are wrong, only one ex) To run such a thing to such skill have to be active and the same and the mob. I've tried several ways, mainly the skill that was up to "src_start" But it still fails.
  10. I know I walk in and determined to "browedit" when it will build the map or edit. But I wonder where is the "src" on the water or what makes the character walk ... Because I want to make the character can walk on water when activating a "certain" skill.
  11. How could I do to when a specific equip equipped when it can not be unequipped "manually". Ex: By equipping it would be "stuck" to the player, even running a "tool" that unequip. If someone could teach me at least where to start. Like I desativasse the "unequip" (following how it works Ex: can not trade the item or the item drop) of a specific equip, but I know how to get ... Someone would indicate the way? Em portugues:
  12. To support in English I created a custom skill based on skill "Bio Cannibalize ID: 232". The skill of the function itself went well, he invokes the mob, however it does not in the state of "slave" (that follow me, etc.). He still has the free will of it, walk wherever, just do not attack me. I looked for a way to let him "slave", but it still fails .... Someone would know me teach / guide to invoke it already in the slave state? NOTE: If you need to put the skill of code. Grateful. ----- To support in Portuguese / Brazil: Criei uma skill custom baseado na skill "Bio Cannibalize ID:232". A função da skill em si deu certo, ele invoca o mob, porem ele não no estado de "slave"(que me segue e etc). Ele ainda tem a livre vontade dele, anda por onde quer, só não me ataca. Procurei alguma forma de deixar ele "slave", mas não obtive sucesso.... Alguem saberia me ensinar/orientar a invocar ele já no estado de slave ? OBS: Se for preciso coloco o codigo da skill. Grato.
×
×
  • Create New...

Important Information

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