Jump to content
  • 0

npc add gskill 10016.


domez86

Question


  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

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
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  832
  • Reputation:   317
  • Joined:  02/11/19
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   63
  • Joined:  04/29/19
  • Last Seen:  

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;
		}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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.

Link to comment
Share on other sites

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.

×
×
  • Create New...