diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/craft/smith.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt index 5f3576161..4a673fe89 100644 --- a/npc/craft/smith.txt +++ b/npc/craft/smith.txt @@ -55,6 +55,11 @@ function script SmithSystem { csys_Apply(.@index); } } + + // Get experience for the craft + .@xp=getiteminfo(.@it, ITEMINFO_SELLPRICE); + getexp .@xp+BaseLevel, (.@xp/3)+BaseLevel+JobLevel; + .success=true; } else { .success=false; |