Jump to content

Brozan

Members
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by Brozan


  1. Ran into another problem (which large amounts of googling has shown no answer to):

    It seems that all magic skills work fine, but any "weapon" type skill always misses regardless of range (presumably because it fails - NPCs can't have weapons).


  2. Hi,

     

    I'm making an npc that casts skills on the player for the purposes of Reproduce/Plagiarism. The issue is that the NPC's skill always misses the player, so the attack doesn't connect. I've tried debuffing the player with sleep/freeze/stun to set flee to 0 but that still doesn't work. Can anyone help?

     

     

     //Reproduce NPC
    prontera,155,181,5 script Reproducer 81,{
    mes "Which skill you need me to cast on you ?";
    set .@SkillID, select( implode( .SkillName$, ":" ) ) - 1;
    mes "Selected "+ .SkillName$[ .@SkillID ];
    close2;
    sc_start SC_SLEEP,400,1;
    npcskill .SkillID[ .@SkillID ],.SkillLv[ .@SkillID ],50,50;
    if( .SkillID[ .@SkillID ] == 421 ) {
    getmapxy .@map$, .@x, .@y, 0;
    movenpc strnpcinfo(0), .@x, .@y;
    sleep 3000;
    movenpc strnpcinfo(0),241,87;
    }
    end;
     
    OnInit:
    setarray .SkillID,14,19,20,2006,2204,2213,2214,2022,263,2054,89,2002;
    setarray .SkillLv,10,10,10,5,5,5,5,5,10,5,10,5;
    setarray .SkillName$,"Cold Bolt","Fire Bolt","Lightning Bolt","Ignition Break","Jack Frost","Comet","Chain Lightning","Cross Impact","Triple Attack","Duple Light","Storm Gust","Sonic Wave";
    end;
    }

     


  3. I have set up my server but I can't disable Renewal EXP/Drop level penalties. I have commented out both lines in /src/config/renewal.h, recompiled the server many times, but when I type @mobinfo, it seems the exp and drop penalties are still in effect.

     

    What am I doing wrong? Could it just be the case that @mobinfo is giving me a false reading?

     

    Thanks in advance.

×
×
  • Create New...

Important Information

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