Skip to content

Commit edc970e

Browse files
OvoKorealisonrag
andauthored
feat: add rola storageAuto_npc to prontera/payon (#4099)
* ROla storageAuto_npc prontera/payon --------- Co-authored-by: Alison <[email protected]>
1 parent c2228a5 commit edc970e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/AI/CoreLogic.pm

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,8 +1491,13 @@ sub processAutoStorage {
14911491
# Use config steps based on storageAuto_npc_type
14921492
if ($config{'storageAuto_npc_type'} eq "" || $config{'storageAuto_npc_type'} eq "1") {
14931493
warning T("Warning storageAuto has changed. Please read News.txt\n") if ($config{'storageAuto_npc_type'} eq "");
1494-
$steps = "c r1";
1495-
debug "Using standard iRO npc storage steps.\n", "npc";
1494+
if (grep { $masterServer->{serverType} eq $_ } qw(ROla) && $config{'storageAuto_npc'} =~ /prontera|payon/i) {
1495+
$steps = "c r2";
1496+
debug "Using standard ROla npc storage steps.\n", "npc";
1497+
} else {
1498+
$steps = "c r1";
1499+
debug "Using standard iRO npc storage steps.\n", "npc";
1500+
}
14961501
} elsif ($config{'storageAuto_npc_type'} eq "2") {
14971502
$steps = "c c r1";
14981503
debug "Using iRO comodo (location) npc storage steps.\n", "npc";

0 commit comments

Comments
 (0)