summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-01-17 14:50:30 -0300
committerJesusaves <cpntb1@ymail.com>2024-01-17 14:50:30 -0300
commit26152d244dd017b02f87107652fc100f7d6dab8c (patch)
tree89703464bf229d85c3fc2058ae75919ba1e27cf1
parent09fb9d68dd8efe645772c777452e61c75367c075 (diff)
downloadserverdata-26152d244dd017b02f87107652fc100f7d6dab8c.tar.gz
serverdata-26152d244dd017b02f87107652fc100f7d6dab8c.tar.bz2
serverdata-26152d244dd017b02f87107652fc100f7d6dab8c.tar.xz
serverdata-26152d244dd017b02f87107652fc100f7d6dab8c.zip
Oh no - I forgot some minor stuff like properties D:
-rw-r--r--db/re/mob_db.conf1
-rw-r--r--npc/commands/rent.txt10
2 files changed, 7 insertions, 4 deletions
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index d545a01b7..ad9dfa9a1 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -12734,6 +12734,7 @@ mob_db: (
ChangeTargetMelee: true
ChangeChase: true
CastSensorChase: true
+ Looter: true
}
MoveSpeed: 320
AttackDelay: 1750
diff --git a/npc/commands/rent.txt b/npc/commands/rent.txt
index d19de1a4d..62da55467 100644
--- a/npc/commands/rent.txt
+++ b/npc/commands/rent.txt
@@ -28,7 +28,7 @@ OnCall:
end;
OnCraftBypass:
- if (getarraysize(.@atcmd_parameters$) < 8) {
+ if (getarraysize(.@atcmd_parameters$) < 3) {
dispbottom l("Usage: @craft item opt1 val1 opt2 val2 opt3 val3 opt4 val4");
end;
}
@@ -42,13 +42,15 @@ OnCraftBypass:
.@val3=atoi(.@atcmd_parameters$[6]);
.@opt4=atoi(.@atcmd_parameters$[7]);
.@val4=atoi(.@atcmd_parameters$[8]);
+ .@opt5=atoi(.@atcmd_parameters$[9]);
+ .@val5=atoi(.@atcmd_parameters$[10]);
CsysNpcCraft(.@item, .@opt1, .@val1, .@opt2, .@val2,
- .@opt3, .@val3, .@opt4, .@val4);
+ .@opt3, .@val3, .@opt4, .@val4, .@opt5, .@val5);
end;
OnCraftSuper:
- if (getarraysize(.@atcmd_parameters$) < 8) {
- dispbottom l("Usage: @craft2 item refine opt1 val1 opt2 val2 opt3 val3 opt4 val4 opt5 val5");
+ if (getarraysize(.@atcmd_parameters$) < 5) {
+ dispbottom l("Usage: @craft2 item refine card1 card2 card3 card4 opt1 val1 opt2 val2 opt3 val3 opt4 val4 opt5 val5");
end;
}
.@item=atoi(.@atcmd_parameters$[0]);