Jump to content

maynard

Members
  • Posts

    159
  • Joined

  • Last visited

Posts posted by maynard

  1. sir your script needs to wear all of the id above to disable the berserk skill, what I want is if you input the card in 1 of them the card will be disabled.

    your script 6900,6901,6902 = must put on all of them to disabled the card

    I want 6900,0000,0000 = If I put the card in 6900 the card will be disabled even though I equip other head gear.

    Actually I already have the script created in the her****s and working as intended but not exactly like I wanted. Its not an array and I have to input manually to all the ID I want to disabled.

    Here is the script for those who want it.credits to evilpuncker

    callfunc "prevent",1,cardIDhere;

    function    script    prevent    {
    if( isequippedcnt( getarg(1) ) > 0 ) {
        successremovecards getarg(0);
        end;
    }

  2. An array of custom head gear equipments

    ex: 6900,6901,6902,6903

    Lord knight card can not be compounded or disabled the effect of the card on my custom head gear if you insert it.

     

    You can compound the Lord knight card as normal on other head gear except from the Head gear that listed in the array.

     

    Then for easy use maybe a callfunc will do.

     

    4357,,,,,,,,,{callfunc "prevent_compound";skill "LK_BERSERK",1; bonus bMaxHPrate,-50;}{}{}

  3. if ( !getcharid(1) ) {
    callsub L_soullink;
    end;
    }

    getpartymember getcharid(1),0;
    getpartymember getcharid(1),1;
    getpartymember getcharid(1),2;
    getmapxy .@map1$, .@x1, .@y1, 0;
    .@area = getbattleflag("area_size");
    for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
    if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) {
    attachrid $@partymemberaid[.@i];
    getmapxy .@map2$, .@x2, .@y2, 0;
    if ( .@map1$ == .@map2$ && distance( .@x1, .@y1, .@x2, .@y2 ) <= .@area && hp > 0 ) {

    callsub L_soullink;
    }
    }
    }
    end;
    L_soullink:
    switch ( basejob ) {
    case Job_Alchemist: set .@spirit, 445; break;
    case Job_Monk: set .@spirit, 447; break;
    case Job_Star_Gladiator: set .@spirit, 448; break;
    case Job_Sage: set .@spirit, 449; break;
    case Job_Crusader: set .@spirit, 450; break;
    case Job_SuperNovice: set .@spirit, 451; break;
    case Job_Knight: set .@spirit, 452; break;
    case Job_Wizard: set .@spirit, 453; break;
    case Job_Priest: set .@spirit, 454; break;
    case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
    case Job_Rogue: set .@spirit, 456; break;
    case Job_Assassin: set .@spirit, 457; break;
    case Job_Blacksmith: set .@spirit, 458; break;
    case Job_Hunter: set .@spirit, 460; break;
    case Job_Soul_Linker: set .@spirit, 461; break;
    default:
    if ( upper == 1 && baselevel < 70 )
    set .@spirit, 494;

    }
    if ( .@spirit ) {
    sc_start4 sc_spirit, 300000, 5, .@spirit,0,0;
    skilleffect .@spirit, 5;

    }


    return;

    }

    please add buffs for the whole party, The link is working, edit this to include buffs.

  4. i mean your script is nothing happen

    see 

     

    i test your script with 1 player inside to guild_vs1 map

    prontera,100,200,3    script    full_map    46,{

    mes "Warp?";

    next;

    close; // <<<<<------------ I remove this and its working

    if(getmapusers(.map$[0])) {

        mes "Someone's inside";

        close;

    }

    delwaitingroom;

    waitingroom "ON: "+strcharinfo(0),0;

    warp .map$[0],atoi(.map$[1]),atoi(.map$[2]);

    close;

    OnInit:

        setarray .map$[0],"guild_vs1",50,50; //Map name and coordinates

        end;

    }

    The problem is if you got out the name is still there, it does not reset.

  5. My bad,I forgot to tell you that i manually diff  have bindatcmd, Ea doesnt have bindatcmd only rathena has it. Search for bindatcmd and manually add it, Thats what I did to make it work. bindatcmd make my life easier, you can customized/make more @commands.

     

    Back to topic I hope Patskie have a solution.

  6. is it me? can you double check your script ingame, Try to reset your equip, Then check your equipment items if it goes into the inventory then check your display window if its gone. alt+q.I use a script like yours that i found here in rathena and he also get the same problem like yours and he didnt know the answer to that problem.Kindly check if your not busy because it's a good script for me if this script of yours work as intended.

     

    This works for EA and im using it, except the reset equip. 

  7. Sir can you edit the same script. GM will whisper a npc and the game will start for 1 round only, then I will input the item and amount ingame. after 1 round it will reset and I will again put the item and amount if I want to start it again.The treasure box is in prontera 155 155 hiding then it will appear when the GM start the event.It will announce the person who get the prize item.

    NVM, I found something close to this.

  8. How to change the stats or make a stronger clone of a player?

    You can increase atk by editing min\max atk formula, also you can increase HP to make clone stronger

    >int mob_clone_spawn(struct map_session_data *sd, int16 m, int16 x, int16 y, const char *event, int master_id, int mode, int flag, unsigned int duration)

    ...

    status->rhw.atk2= status->dex + status->rhw.atk + status->rhw.atk2; //Max ATK

    status->rhw.atk = status->dex; //Min ATK

    ...

    status->hp = status->max_hp; //Max HP

     

    hahaha, I dont have any idea how to increase this, Can you make it that the clone have Big HP lets say 10m HP then it can damage pretty high like 10k something. Maybe I should put this in request section. I change the stats of dummy but it does nothing.

  9. please make a script, if player A have a equip put on that is in the hot list, he/she will get more damage from player B that have an forbidden equip , like an anti-demon or something like that.

     

    Forbidden= 111, 222, 333, 444... //array so I can easily add/edit the item.

     

    Player A has equip a headgear item forbidden#666

     

    Player B have a custom weapon anti-demon.It will inflict extra 50% damage to player with item that on the forbidden list. If player A take off his equip that in the list, the 50% will not work.

  10. i have the error

    are you using rA ?

    http://rathena.org/b...-engine-update/

    I tried to manually put the codes and somehow it compiles without error, Then I put the script and its working fine in my server, Im using eathena, I hope there will be no conflict or so whatever. Its a good thing if this will work without error or conflict to my eathena. Anyway its working the +10 refiner that capuche wrote. Now I can use more of Annieruru script. /no1

  11. Yes, it is possible. We can even expand beyond that and make the requirements / benefits even better.

    - script at_ecall -1,{
    OnInit:
    bindatcmd("@ec","at_ecall::OnEcall");
    bindatcmd("@ecall","at_ecall::OnEcall");
    end;
    OnEcall:
    if( !getcharid(2) ){dispbottom "You are not apart of a guild."; end;}
    if( getguildmasterid( getcharid(2) ) != getcharid(0) ){dispbottom "Can only be used by guild leader."; end;}
    if( gettimetick(2) < getd(".guild"+ getcharid(2) +"") ){dispbottom "Command Failed. Still on cooldown."; end;}
    progressbar "0x00FF00",5; //5 seconds is how the skill acts.
    getmapxy(.@m$,.@x,.@y,0);
    warpguild .@m$,.@x,.@y,getcharid(2);
    setd ".guild"+ getcharid(2) +"", gettimetick(2) + 300000;
    end;
    }
    

    *Note - This is the simple way of doing it, so the caster will also be warped upon completion. It can be coded so that, only the caster's guild members will be warped, but, this would require usage of sql, and a loop or 2.*

    So, aside from the caster (guild master) getting warped there should be no issues.

    Edit: Additionally, i can force them to use in it's existence, but meh. I like this way :D

    Working I'm using eathena with ToastOfDoom patch.

×
×
  • Create New...