Jump to content

  •  

Wenden

Member Since 09 Dec 2016
Offline Last Active Feb 28 2017 03:41 AM
-----

Posts I've Made

In Topic: Thanatos Quest

18 February 2017 - 12:34 AM

You can change the items of the quests.
In the quests folder, locate the file: thana_quest.txt, at line 461: It looks like this:
setarray .@Items[1],7435,7440,7441,7442;
Swap ids for the items you want.

In Topic: Box Custom Aleatorio

16 February 2017 - 11:42 PM

Não testei.

Adicione isso no script do item:

 

callfunc "PremioDona";

 

O npc que sorteará o item e entregará:

 

function    script    PremioDona    -1,{
 
    set .ids[0],607,608,501,502,503; // Id dos itens que serão ganhos.
    set .qnt[0],10,20,30,40,50; // Quantidade respectivamente dos itens acima.
    
        set .@a,rand(getarraysize(.ids));
        getitem .ids[.@a],.qnt[.@a];
        end;
 
}