Jump to content

testconta

Members
  • Content Count

    20
  • Joined

  • Last visited

Posts posted by testconta


  1. I would like to set up a mob to instantly use skill as an example Asura strike when getting close to any player. I tried to configure it but even though the rate is 100% it takes a LOT of time for the asura strike to come out.

    1001,Scorpion@MO_EXTREMITYFIST,attack,271,5,10000,500,20,no,target,always,0,,,,,,18,

    1001,Scorpion@MO_EXTREMITYFIST,chase,271,5,10000,500,20,no,target,always,0,,,,,,18,
    1001,Scorpion@MO_EXTREMITYFIST,idle,271,5,10000,500,20,no,target,always,0,,,,,,18,
    1001,Scorpion@MO_EXTREMITYFIST,attack,271,5,10000,500,20,no,target,always,0,,,,,,18,


  2. [Error]:  Loading NPC file: npc/custom/@spy.txt
    script error on npc/custom/@spy.txt line 87
        parse_callfunc: expected ')' to close argument list
        82 : .@qs = query_sql("SELECT `char_id`, `name`, `account_id`, `online` FROM
     `char` WHERE `name` = '"+escape_sql(.@input$+" "+.@input1$[1])+"' LIMIT 5", .@c
    ids, .@name$, .@aids, .@online); //edit Limit 5 PLAYERS
        83 : if (.@atcmd_numparameters <= 0 ) {
        84 : dispbottom " ";
        85 : message(strcharinfo(PC_NAME), .b2$+" "+.c1$+" "+.a2$+".");
        86 : .v1$ = setchar("ady", "vb", 0);
    *   87 : message(strcharinfo(PC_NAME), sprintf(_$'('"Usage: %s <Name>"), .@atcmd
    _command$));
        88 : atcommand("@who");
        89 : if(.@qs == 0){
        90 : set .spyoff, 1;
        91 : end;
        92 : }


  3. 8 hours ago, Dastgir said:

    afaik, it can be used in PvP Maps, it just cannot be used where noteleport flag is set.

    Could you explain where I locate this to disable? The skill is active, but has no effect. The leap forward is not realized

  4. Good evening, friends, I would like support to set up the order of enchantment.
    For example: // enchant list (Archer)
    setarray .enchant_list_3.4835.4836;
    Enchantment number 1 & 2 was just the first ID (in case 4835) and the 3rd and last spell was the last ID, (in case 4836)

    Thanks.

     

     

    prontera,161,173,3    script    Encantador    933,{
    mes "I can enchant "+getitemname( .faw_itemid );
    mes " ";
    if( getequipid( EQI_GARMENT ) == .faw_itemid ){

        .@refine = getequiprefinerycnt( EQI_GARMENT );
        for( .@i = 0; .@i < 4; .@i++ )
            .@card[.@i] = getequipcardid( EQI_GARMENT,.@i );
            
        switch( select( "Enchant Item","Reset Enchant" ) ){
            case 1:
                mes "Pick a slot to enchant.";
                mes "You may enchant more slot when you have higher refine.";
                .@slot = select(
                    ( .@card[1] || .@refine < 0 )?"":"Enchant Slot 1",
                    ( .@card[2] || .@refine < 0 )?"":"Enchant Slot 2",
                    ( .@card[3] || .@refine < 0 )?"":"Enchant Slot 3",
                    "Cancel"
                );
                if( .@slot < 4 ){
                    mes "Pick Enchant Type";
                    .@type = select( .enchant_type_menu$ ) - 1;
                    .@size = .enchant_list_size[.@type];
                    if( .@size ){
                        copyarray .@enchant_list[0],getd( ".enchant_list_"+( .@type+1 )+"[0]" ),.@size;
                        if( .@refine >= 9 ){
                            .@enchant_list[.@size] = .special_enchant[.@type];
                            .@size++;
                        }
                        delequip EQI_GARMENT;
                        if( rand( 100 ) < .success_rate ){
                            setd( ".@card["+.@slot+"]" ),.@enchant_list[ rand( .@size ) ];
                            mes "Done, success to enchant the item.";
                            getitem2 .faw_itemid,1,1,.@refine,0,.@card[0],.@card[1],.@card[2],.@card[3];
                            equip .faw_itemid;
                        }else{
                            mes "Too bad, failed to enchant the item.";
                        }
                    }
                }
                break;
            case 2:
                mes "You need "+.enchant_reset_Zeny+" Zeny.";
                if( Zeny >= .enchant_reset_Zeny ){
                    if( select( "Confirm to reset all enchant ??","Cancel" ) == 1 ){
                        if( !.@card[1] && !.@card[2] && !.@card[3] ){
                            mes "Your item didnt have any enchanted item.";
                        }else{
                            Zeny -= .enchant_reset_Zeny;
                            delequip EQI_GARMENT;
                            getitem2 .faw_itemid,1,1,.@refine,0,.@card[0],0,0,0;
                            equip .faw_itemid;
                            mes "Done removed all enchanted item.";
                        }
                    }
                }
            default: break;
        }
        
    }else{
        mes "Make sure you equiped with "+getitemname( .faw_itemid );
    }
    close;


    OnInit:
    // FAW item id
    .faw_itemid = 2589;

    // enchant success rate
    .success_rate = 100;

    // enchant reset cost
    .enchant_reset_Zeny = 1000000;

    // enchant type category
    setarray .enchant_type$,"Fighting","Magic","Archer","Critical","MaxHP","MaxSP","ASPD","STR","AGI","DEX","VIT","INT","LUK";

    // enchant list ( Fighting Spirit )
    setarray .enchant_list_1,4809,4808,4820;
    // enchant list ( Magic )
    setarray .enchant_list_2,4812,4827,4826;
    // enchant list ( Archer )
    setarray .enchant_list_3,4835,4836;
    // enchant list ( Critical )
    setarray .enchant_list_4,4764,4765;
    // enchant list ( Max HP )
    setarray .enchant_list_5,4861,4862;
    // enchant list ( Max SP )
    setarray .enchant_list_6,4870,4871;
    // enchant list ( ASPD )
    setarray .enchant_list_7,4807,4842;
    // enchant list ( STR )
    setarray .enchant_list_8,4702,4703,4705;
    // enchant list ( AGI )
    setarray .enchant_list_9,4732,4733,4735;
    // enchant list ( DEX )
    setarray .enchant_list_10,4722,4723,4725;
    // enchant list ( VIT )
    setarray .enchant_list_11,4742,4743,4745;
    // enchant list ( INT )
    setarray .enchant_list_12,4712,4713,4715;
    // enchant list ( LUK )
    setarray .enchant_list_13,4752,4753,4755;

    // extra 1 special enchant for 3rd slot if refine above 9 ( follow by category sequences )
    setarray .special_enchant,4821,4828,4835,4765,4868,4801,4807,4853,4854,4857,4855,4856,4858;


    .enchant_type_size = getarraysize( .enchant_type$ );
    for( .@i = 0; .@i < .enchant_type_size; .@i++ ){
        .enchant_list_size[.@i] = getarraysize( getd( ".enchant_list_"+( .@i+1 ) ) );
        if( !.enchant_list_size[.@i] ){
            .enchant_type$[.@i] = "";
        }
        else{
            .enchant_type_menu$ = .enchant_type_menu$ + .enchant_type$[.@i];
        }
        .enchant_type_menu$ = .enchant_type_menu$ + ":";
    }
    end;
    }


  5. Just now, Mahiro1 said:

    friend, but the letter itself already does it.

    bonus bIgnoreDefRace,RC_NonBoss;

    if you prefer you can remove this part of the Samurai script and add all of the races manually.
    in the link below has all this, including as soon as you download the emulator comes in the following directory youremulator\doc\item_bonus.txt

    here are all the races

     

    But the damage is still variable. When removing cards of resistance to humanoids, the damage is increased. I would leave the fixed damage independent of racial defense.


  6. 3 minutes ago, Mahiro1 said:

    Sorry, but I did not understand your question very well.

    Do you want the Samurai Spector card to totally ignore target defense, regardless of the target's defense of property?

     

    exactly that, ignore racial defense, everything.


  7. Hello friends, I would like to know how to use the fixed damage formula of the Gloria Domini ability(367 ID skill) in an item effect. In case for Samurai Specter Card. To apply fixed damage independent of racial defense (Thara Frog Card for exemple)

     

    Thank you all for responding. 


  8. 54 minutes ago, Mahiro1 said:

    src/map/status.c

    Não lembro a linha, mas vai encontrar lá a fórmula. Lá está para a cada 10 pontos em luk, ganha 1 de esquiva. Espero que seja isso que procura.

    Obrigado meu amigo, vou procurar e posto aqui se deu certo...

    Mas esse acréscimo não seria na esquiva perfeita?


  9. Boa noite comunidade, gostaria de saber como faço para estar aumentando a proporção da esquiva base ou aquela adquirida ao usar pontos em "Agi", estou achando meio baixo pois não é necessário tanta "Dex" para estar acertando os players no PvP, para assim o uso  da carta Freeoni ou Howard Alt-Eisen fosse mais necessária quando se fosse montar builds tanto para PvP quanto PvE.
    Obrigado para quem puder responder!
    Abraços.


  10. Hello to all friends in the community, I would like to know if it is possible to change the card formula Samurai Incantation (4263 ID) to fix damage independent of defense or racial resistance, I found an interesting dynamics for PvP.
    Thank you all for the attention and who can answer me. 
×
×
  • Create New...

Important Information

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