domez86 Posted August 19, 2019 Posted August 19, 2019 (edited) hi, I need a simple npc that when clicked gives this ONLY guild skill immediately to the maximum level (5) if, the char has a guild and is the guild master. 10016 - GD_GUILD_STORAGE, Guild Storage Expansion, at max level (5) ex: hi, do you want to activate the gstorage? -yes -no (close) Thanks in advance. Edited August 19, 2019 by domez86 Quote
0 Mael Posted August 20, 2019 Posted August 20, 2019 16 minutes ago, domez86 said: hola, necesito un simple npc que, cuando se hace clic, otorga esta ÚNICA habilidad de gremio inmediatamente al nivel máximo (5) si el personaje tiene un gremio y es el maestro del gremio. get ---> 10016 - GD_GUILD_STORAGE, Expansión de almacenamiento del gremio, a nivel máximo (5) Ej: hola, ¿quieres activar el gstorage? -si -no (cerca) Gracias por adelantado. if you want to activate gstorage on pre-re, just do this: https://github.com/rathena/rathena/blob/master/db/pre-re/guild_skill_tree.yml#L122 Quote
0 Gladius Posted August 21, 2019 Posted August 21, 2019 https://github.com/rathena/rathena/blob/master/npc/re/merchants/guild_warehouse.txt add: if (getskilllv(10016) >= 5) mes "[Warehouse Manager]"; mes "Your clan needs to be skilled Guild Storage Expansion at level 5."; close; } Quote
0 domez86 Posted August 21, 2019 Author Posted August 21, 2019 20 hours ago, Mael said: if you want to activate gstorage on pre-re, just do this: https://github.com/rathena/rathena/blob/master/db/pre-re/guild_skill_tree.yml#L122 I don't have to do what you say, and I am not a pre-re. Quote
0 Emistry Posted August 23, 2019 Posted August 23, 2019 prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (is_guild_leader()) { mes "hi, do you want to activate the gstorage?"; if (select("Yes", "No") == 1) { guildskill 10016, 5; mes "done"; } close2; } end; } Quote
0 domez86 Posted August 23, 2019 Author Posted August 23, 2019 (edited) On 8/24/2019 at 12:39 AM, Emistry said: prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (is_guild_leader()) { mes "hi, do you want to activate the gstorage?"; if (select("Yes", "No") == 1) { guildskill 10016, 5; mes "done"; } close2; } end; } no error and warning....but not work, the skill does not activate. On 8/21/2019 at 12:40 PM, Gladius said: https://github.com/rathena/rathena/blob/master/npc/re/merchants/guild_warehouse.txt add: if (getskilllv(10016) >= 5) mes "[Warehouse Manager]"; mes "Your clan needs to be skilled Guild Storage Expansion at level 5."; close; } you did not understand Edited August 23, 2019 by domez86 Quote
0 Emistry Posted August 24, 2019 Posted August 24, 2019 15 hours ago, domez86 said: no error and warning....but not work, the skill does not activate. it seem like it no longer work if the guild doesn't have guild skill points to spent. sound like a bug, you can try report see if the dev willing to change the behaviour. Quote
Question
domez86
hi, I need a simple npc that when clicked gives this ONLY guild skill immediately to the maximum level (5)
if, the char has a guild and is the guild master.
10016 - GD_GUILD_STORAGE, Guild Storage Expansion, at max level (5)
ex:
hi, do you want to activate the gstorage?
-yes
-no (close)
Thanks in advance.
Edited by domez866 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.