Jump to content

Question

Posted

Hello Rathena, I would like to request a script that will automaticaly broadcast and summon a poring who only drops a poring coin #7539 in prontera every hour!

Thanks! Please tell me if I have to do any server configuration, I guess I have to create a new poring mob who only drops that item right? Can you also tell me how?

14 answers to this question

Recommended Posts

Posted
- script PoringEvent -1,{
OnMinute00:
  monster "prontera",0,0,"Poring",1002,1,strnpcinfo(3)+"::OnPoringDead";
  announce "A special poring has spawned in Prontera!",0;
  end;
OnPoringDead:
  // announce strcharinfo(0)+" has killed the Poring!",0;
  getitem 7539,1;
  end;
}

Posted (edited)

@Euphy can I pls ask for a minor revision of this??? I want the mob to be a random MVP probably like have an editable list of ID MVP monsters ...THX n Advance!!!

Edited by miczster
Posted
- script PoringEvent -1,{

OnMinute00:
    monster "prontera",0,0,"--Ja--",.mobs[rand(getarraysize(.mobs))],1,strnpcinfo(3)+"::OnMobDead";
    announce "A special poring has spawned in Prontera!",0;
    end;
OnPoringDead:
    // announce strcharinfo(0)+" has killed the Poring!",0;
    getitem 7539,1;
    end;

OnInit:
    setarray .mobs[0],1002,1003,1004; //etc.
    end;
}
 
Posted
- script PoringEvent -1,{

OnMinute00:
    monster "prontera",0,0,"--Ja--",.mobs[rand(getarraysize(.mobs))],1,strnpcinfo(3)+"::OnMobDead";
    announce "A special poring has spawned in Prontera!",0;
    end;
OnPoringDead:
    // announce strcharinfo(0)+" has killed the Poring!",0;
    getitem 7539,1;
    end;

OnInit:
    setarray .mobs[0],1002,1003,1004; //etc.
    end;
}
 

can you pls add and make it random town pls(editable list)??THXX

Posted (edited)


- script PoringEvent -1,{

OnMinute00:

monster .maps$[(rand(getarraysize(.maps$)))],0,0,"--Ja--",.mobs[rand(getarraysize(.mobs))],1,strnpcinfo(3)+"::OnMobDead";

announce "A special poring has spawned in "+.maps[(rand(getarraysize(.maps$)))]+"!",0;

end;

OnPoringDead:

// announce strcharinfo(0)+" has killed the Poring!",0;

getitem 7539,1;

end;

OnInit:

setarray .mobs[0],1002,1003,1004; //etc.

setarray .maps$[0],"prontera","morocc","payon";

end;

}

Edited by nanakiwurtz
Posted

WHERE WILL I PUT THIS?
Trunk>NPC>Custom..???

sorry im newbie  /sob
 



- script PoringEvent -1,{

OnMinute00:
monster .maps$[(rand(getarraysize(.maps$)))],0,0,"--Ja--",.mobs[rand(getarraysize(.mobs))],1,strnpcinfo(3)+"::OnPoringDead";
announce "A special poring has spawned in "+.maps[(rand(getarraysize(.maps$)))]+"!",0;
end;
OnPoringDead:
// announce strcharinfo(0)+" has killed the Poring!",0;
getitem 7539,1;
end;

OnInit:
setarray .mobs[0],1002,1003,1004; //etc.
setarray .maps$[0],"prontera","morocc","payon";
end;
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...