Jump to content

crazyarashi

Developer
  • Posts

    761
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by crazyarashi

  1. Dynamic mob doesn't have to do anything with the idea you're looking for. dynamic mob is used for spawning monsters even though player is no players in the map.
    if you restarted server it would likely restart all the monsters since this monsters are spawn via npc scripts.
    Your idea will most likely work if you make a custom monster spawn and store its data.

  2. -	script	hourly_treasure	-1,{
    OnMinute00:
    OnStart:
    //= Add your announce here.
    	for([email protected] = 0; [email protected] < .spawn_count; [email protected]++){
    		monster .map_list$[rand(getarraysize(.map_list$)],0,0,"Treasure Chest",.treasure_mob_id,1,strnpcinfo(0)+"OnTreasureKill";
    	}
    	end;
    	
    OnTreasureKill:
    	announce "[ System ] : " + strcharinfo(0) + " has found a Treasure Chest.";
    	getitem .reward_id,.reward_amount;
    	end;
    	
    OnInit:
    	.spawn_count = 5;
    	.treasure_mob_id = 1001;
    	.reward_id = 501;
    	.reward_amount = 50;
    	setarray .map_list$,"prontera","izlude","geffen";
    	end;
    }

     

    • Love 1
  3. 1547847402_ScriptCollection.png.4d7c242826e72a5580fb9d76e66c4c8b.png

     

    Greetings, I would like to share some of my scripts here, so I decided to make a github repository for scripts. It's not much but I will gradually update/increase the size of my collection ^^
    You can report bugs in my github and also make requests there, I will make it in my free times ( Depends on the request )
    Note : I use a lot of personal functions(I like to make my script as short as possible - lazy) and I don't know if some parts of the scripts have the missing functions just bump me in github if it's missing.

    Github Repository : Click Me

    Rathena Requests/Others :
    Dynamic MVP Points
    Item Swap Function
    Costume Drop
    Autoloot Setting
    Invasion Script

    Instance @cooldown
    Recycle NPC
    Custom Illusion Moonlight

    17.1 Illusion Custom


    Latest Update : March 13, 2021

     

    • Upvote 1
    • Love 3
    • MVP 2
    • Like 1
×
×
  • Create New...

Important Information

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