DejongsBR Posted October 14, 2024 Group: Members Topic Count: 3 Topics Per Day: 0.02 Content Count: 9 Reputation: 0 Joined: 09/09/24 Last Seen: January 15 Share Posted October 14, 2024 Ola pessoal, sou novato em emulador rathena... Alguem me ensina como manter o consumivel sempre 1 unidade ? Nao tenho iddeia de como realizar este script ... Quote Link to comment Share on other sites More sharing options...
0 masterzeus Posted November 30, 2024 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 61 Reputation: 1 Joined: 08/18/13 Last Seen: Monday at 01:57 AM Share Posted November 30, 2024 On 10/15/2024 at 1:45 AM, DejongsBR said: Ola pessoal, sou novato em emulador rathena... Alguem me ensina como manter o consumivel sempre 1 unidade ? Nao tenho iddeia de como realizar este script ... Ola, você pode configurar uma "Flag" chamada "NoConsume" para evitar que o item usado seja consumido. Isso é configurado em "master/db/pre-re/item_db_usable.yml" - "master/db/re/item_db_usable.yml" Aqui está um exemplo: - Id: 501 AegisName: Red_Potion Name: Red Potion Type: Healing Buy: 50 Weight: 70 Script: | itemheal rand(45,65),0; To: - Id: 501 AegisName: Red_Potion Name: Red Potion Type: Healing Buy: 50 Weight: 70 Flags: NoConsume: true Script: | itemheal rand(45,65),0; Quote Link to comment Share on other sites More sharing options...
0 DejongsBR Posted December 19, 2024 Group: Members Topic Count: 3 Topics Per Day: 0.02 Content Count: 9 Reputation: 0 Joined: 09/09/24 Last Seen: January 15 Author Share Posted December 19, 2024 On 11/30/2024 at 1:16 PM, masterzeus said: Ola, você pode configurar uma "Flag" chamada "NoConsume" para evitar que o item usado seja consumido. Isso é configurado em "master/db/pre-re/item_db_usable.yml" - "master/db/re/item_db_usable.yml" Aqui está um exemplo: - Id: 501 AegisName: Red_Potion Name: Red Potion Type: Healing Buy: 50 Weight: 70 Script: | itemheal rand(45,65),0; To: - Id: 501 AegisName: Red_Potion Name: Red Potion Type: Healing Buy: 50 Weight: 70 Flags: NoConsume: true Script: | itemheal rand(45,65),0; Entendi. Estou usando emulador txt ao invés de yml Basta colocar esta flag no lugar do scrip, né? Vou testar e posto aqui.... Quote Link to comment Share on other sites More sharing options...
0 doetangn55 Posted Monday at 09:47 AM Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 01/20/25 Last Seen: Monday at 09:44 AM Share Posted Monday at 09:47 AM On 10/15/2024 at 6:45 AM, DejongsBR said: Ola pessoal, sou novato em emulador rathena... Alguem me ensina como manter o consumivel sempre 1 unidade ? Nao tenho iddeia de como realizar este script ... slope 2 - Id: 501 AegisName: Red_Potion Name: Red Potion Type: Healing Buy: 50 Weight: 70 Script: | itemheal rand(45,65),0; Flags: NoConsume: true Quote Link to comment Share on other sites More sharing options...
Question
DejongsBR
Ola pessoal, sou novato em emulador rathena... Alguem me ensina como manter o consumivel sempre 1 unidade ? Nao tenho iddeia de como realizar este script ...
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.