Jump to content

ValkRO

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by ValkRO

  1. Hello rAthena, Is it possible for custom weapon with sprites will be on the costume system and it will show? I was planning to make the Custom Weapon like a Costume. Is it possible? I've tried but it doesn't show, or im doing it wrong. 

  2. On 2/6/2017 at 1:50 PM, Technoken said:

    Try

    
    -   script mvpdrop -1,{
    OnNPCKillEvent:
    if ( getmonsterinfo( killedrid, MOB_MVPEXP ) ) {
        if ( getcharid(1) ) {
            getpartymember getcharid(1), 1;
            getpartymember getcharid(1), 2;
            getmapxy(.@mapname$,.@mapx,.@mapy,UNITTYPE_PC);
                for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
                    if ( !isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ||  // what happens if someone in the party member is offline =/
                        strcharinfo(3,$@partymembercid[.@i]) != .@mapname$ ) // If the party member is not on the same map of the killer
                        continue;
            getitem 6941, 2, $@partymemberaid[.@i];
            getitem 30027, 2, $@partymemberaid[.@i];
            }
            announce "Wow! A party named [ "+ strcharinfo(1) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3) +"! Awesome work guys!",bc_all,0x6666CC;
        }
        else {
            getitem 30027,2;
            getitem 6941,2;
            announce "Amazing! A lone wolf named [ "+ strcharinfo(0) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" himself at "+ strcharinfo(3) +"! Reckless, but still, good work!",bc_all,0x6666CC;
        }
    }
    end;
    }

     

    Thank you  Technoken! Just one more request, please. the last thing it needs is an AFK checker. People in my server still found ways to abuse this system. Thank you so much in advance

  3. Greetings rAthena

    Can i request this script that if only you can recieve the reward if you're on the same map as the MVP is killed

    Spoiler

    -    script    mvpdrop    -1,{
    OnNPCKillEvent:
    if ( getmonsterinfo( killedrid, MOB_MVPEXP ) ) {
        if ( getcharid(1) ) {
            getpartymember getcharid(1), 1;
            getpartymember getcharid(1), 2;
                for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
                    if ( !isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) // what happens if someone in the party member is offline =/
                        continue;
            getitem 6941, 2, $@partymemberaid[.@i];
            getitem 30027, 2, $@partymemberaid[.@i];
            }
            announce "Wow! A party named [ "+ strcharinfo(1) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3) +"! Awesome work guys!",bc_all,0x6666CC;
        }
        else {
            getitem 30027,2;
            getitem 6941,2;
            announce "Amazing! A lone wolf named [ "+ strcharinfo(0) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" himself at "+ strcharinfo(3) +"! Reckless, but still, good work!",bc_all,0x6666CC;
        }
    }
    end;
    }

    I thank you in advance

    More power to rAthena

  4. Hello rAthena. Can you guys edit this script to make it all of the party members receive two rewards not randomly? its scripted by Annie thank you in advance

    -	script	jfksdhfkjs	-1,{
    OnNPCKillEvent:
    if ( !getmonsterinfo( killedrid, MOB_MVPEXP ) ) end;
    if ( getcharid(1) ) {
    	getpartymember getcharid(1), 1;
    	getpartymember getcharid(1), 2;
    	for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
    		if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { // what happens if someone in the party member is offline =/
    			.@partymemberaid[.@c] = $@partymemberaid[.@i];
    			.@c++;
    		}
    	}
    	getitem 607, 3, .@partymemberaid[ rand( .@c ) ];
    	announce "Party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), 0;
    }
    else {
    	getitem 607, 3;
    	announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), 0;
    }
    end;
    }
×
×
  • Create New...