Issue information

Issue ID
#2455
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Nov 18, 2008 5:53
Last Post
Hercules Elf Bot
Mar 5, 2012 9:21
Confirmation
N/A

Hercules Elf Bot - Nov 18, 2008 5:53

Originally posted by [b]Tavrist[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2455

skill <skill id>,<level>{,<flag>};


QUOTE
Level

The level at which the skill in question is given. If the flag has been set to 2, this parameter will be interpreted as a a stackable additional bonus to the existing skill level of the skill of the player.
Flag

The flag parameter is optional, and defaults to 1 in 'skill' and to 2 in 'addtoskill'.
Flag Description
0 The skill is given permanently.
1 The skill is given temporarily. (Will be lost eventually, this is meant for card item scripts usage.)
2 The level parameter is to be interpreted as a stackable additional bonus to the skill level. If the character did not have that skill previously, they will now at 0+the level given.


example (when use in npc)

skill 152,1,0;

the npc give a sands atk permanent

but, when any class(exept thift class) up job level lost this skill

problem whit all skills

This post has been edited by Tavrist: Nov 17 2008, 11:19 PM