Jump to content
  • 0

npc add gskill 10016.


Question

Posted (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 by domez86

6 answers to this question

Recommended Posts

  • 0
Posted
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

  • 0
Posted
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;
}

 

  • 0
Posted (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 by domez86
  • 0
Posted
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.

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...