summaryrefslogtreecommitdiff
path: root/npc/016-1/marine.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/016-1/marine.txt')
-rw-r--r--npc/016-1/marine.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/016-1/marine.txt b/npc/016-1/marine.txt
index c5cd3ef26..3aadf003b 100644
--- a/npc/016-1/marine.txt
+++ b/npc/016-1/marine.txt
@@ -57,6 +57,12 @@ L_THurns:
addtimer nard_time(PC_DEST$), "#MarineShip::OnEvent";
@timer_navio_running = 1;
warp "016-6", 40, 32;
+
+ // 10% base chance of Pirate Attack!
+ // Each level INCREASES this in 0.1%.
+ // So for a level 40 player, chances are 14%.
+ if (rand(1, 10000) < 1000+(BaseLevel*10))
+ addtimer rand(3000,6000), "#MarineShip::OnEvent";
end;
@@ -96,7 +102,6 @@ L_TTulim:
Zeny=Zeny-.@price;
PC_DEST$="Tulim";
- addtimer nard_time(PC_DEST$), "#MarineShip::OnEvent";
@timer_navio_running = 1;
mes "";
@@ -108,6 +113,12 @@ L_TTulim:
addtimer nard_time(PC_DEST$), "#MarineShip::OnEvent";
@timer_navio_running = 1;
warp "016-6", 40, 32;
+
+ // 10% base chance of Pirate Attack!
+ // Each level INCREASES this in 0.1%.
+ // So for a level 40 player, chances are 14%.
+ if (rand(1, 10000) < 1000+(BaseLevel*10))
+ addtimer rand(3000,6000), "#MarineShip::OnEvent";
end;
L_TooWeak: