diff options
-rw-r--r-- | db/re/item_db.conf | 2 | ||||
-rw-r--r-- | npc/commands/exp.txt | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index af5768c54..480eea3d0 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12027,7 +12027,7 @@ item_db: ( Buy: 9999999 Sell: 0 Weight: 3000 - Range: 1 + Range: 9 Loc: ["EQP_HAND_R", "EQP_HAND_L"] WeaponLv: 1 EquipLv: 1 diff --git a/npc/commands/exp.txt b/npc/commands/exp.txt index 763653f94..7f9d15d6f 100644 --- a/npc/commands/exp.txt +++ b/npc/commands/exp.txt @@ -18,6 +18,18 @@ OnCall: getexp .@d, 0; end; +OnHomun: + if (!gethominfo(0)) { + dispbottom l("No homunculus found!"); + end; + } + .@delta$ = .@atcmd_parameters$[0]; + .@d = atoi(.@delta$); + + gethomunexp .@d; + end; + OnInit: bindatcmd "getexp", "@getexp::OnCall", 5, 99, 1; + bindatcmd "gethexp", "@getexp::OnHomun", 99, 99, 1; } |