diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-01 19:33:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-01 19:33:45 -0300 |
commit | 01dadc7c6e14b1b6df28574c7237c1ceb38432b2 (patch) | |
tree | ef1d83c9bf9971a5dda73ff96aa9c9c6917c0b85 /npc/042-10/ctrl.txt | |
parent | c41a42a5d2b13e12796dd43d978e784af75e402c (diff) | |
download | serverdata-01dadc7c6e14b1b6df28574c7237c1ceb38432b2.tar.gz serverdata-01dadc7c6e14b1b6df28574c7237c1ceb38432b2.tar.bz2 serverdata-01dadc7c6e14b1b6df28574c7237c1ceb38432b2.tar.xz serverdata-01dadc7c6e14b1b6df28574c7237c1ceb38432b2.zip |
Finish Kamelot Raid - supply Terogan an array of skills, fix broken stuff
Minor reward tweaks, and more dark petal drops (whose sell value is now zero)
The sigils spawns are now much stronger depending on difficulty setting.
Diffstat (limited to 'npc/042-10/ctrl.txt')
-rw-r--r-- | npc/042-10/ctrl.txt | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt index 9fccee6dc..864b43661 100644 --- a/npc/042-10/ctrl.txt +++ b/npc/042-10/ctrl.txt @@ -210,7 +210,21 @@ function script KatazuliCore { KamelotCaveSpawn($KAMELOT_PC[.@g], .@x-rand2(4), .@y-rand2(4), .@x+rand2(4), .@y+rand2(4), $KAMELOT_MX[.@g]+(.@power/3), "042-10"); .@x+=any(-3,-2,-1,1,2,3); .@y+=any(-3,-2,-1,1,2,3); - monster(.@m$, .@x, .@y, strmobinfo(1, MagicGoblin), MagicGoblin, (@kataspam == 1 ? 6 : (@kataspam == 2 ? 5 : (@kataspam == 3 ? 4 : 3))) ); + /* Determine the random artillery monster to be summoned */ + if ($KAMELOT_MX[.@g] >= 200) + .@mid = any(Jhon, GreatMoubooSlime, DustBoss, DustRevolver, DustRifle, DustGatling, RobinBandit); + else if ($KAMELOT_MX[.@g] >= 150) + .@mid = any(GreatMoubooSlime, DustBoss, DustRevolver, DustRifle, DustGatling, RobinBandit); + else if ($KAMELOT_MX[.@g] >= 120) + .@mid = any(DustBoss, DustRevolver, DustRifle, DustGatling, RobinBandit); + else if ($KAMELOT_MX[.@g] >= 100) + .@mid = any(DustRevolver, DustRifle, DustGatling, RobinBandit, MagicGoblin); + else if ($KAMELOT_MX[.@g] >= 50) + .@mid = any(RobinBandit, MagicGoblin); + else + .@mid = MagicGoblin; + // These do not seem to drop petals? + monster(.@m$, .@x, .@y, strmobinfo(1, .@mid), .@mid, (@kataspam == 1 ? 5 : (@kataspam == 2 ? 4 : (@kataspam == 3 ? 3 : 2))) ); // Take away some HP and MP, but do not make you stand percentheal -1, -5; @@ -293,10 +307,12 @@ OnKillMob: // Handle Dark Petal // XXX: How MX/PC should affect drop rates? // I imagine a higher MX will increase DR.... (Right now, level 100 = +50% DR) + // Meanwhile, more players or difficulty (PC) will increase Nº of petals .@r=rand2(250); if (.@r < 100+$KAMELOT_MX[.@g]) { getmapxy(.@m$, .@x, .@y, 0); - makeitem(DarkPetal, 1, .@m$, rand2(.@x-1, .@x+1), rand2(.@y-1, .@y+1)); + .@am = rand2(1, 1+min(7, $KAMELOT_PC[.@g])); + makeitem(DarkPetal, .@am, .@m$, rand2(.@x-1, .@x+1), rand2(.@y-1, .@y+1)); } // Maybe a reward is due @@ -376,10 +392,12 @@ OnKillMob: // Handle Dark Petal // XXX: How MX/PC should affect drop rates? // I imagine a higher MX will increase DR.... (Right now, level 100 = +20% DR) + // Meanwhile, more players or difficulty (PC) will increase Nº of petals .@r=rand2(500); if (.@r < 100+$KAMELOT_MX[.@g]) { getmapxy(.@m$, .@x, .@y, 0); - makeitem(DarkPetal, 1, .@m$, rand2(.@x-1, .@x+1), rand2(.@y-1, .@y+1)); + .@am = rand2(1, 1+min(7, $KAMELOT_PC[.@g])); + makeitem(DarkPetal, .@am, .@m$, rand2(.@x-1, .@x+1), rand2(.@y-1, .@y+1)); } // Maybe a reward is due @@ -587,10 +605,12 @@ OnKillMob: // Handle Dark Petal // XXX: How MX/PC should affect drop rates? // I imagine a higher MX will increase DR.... (Right now, level 100 = +20% DR) + // Meanwhile, more players or difficulty (PC) will increase Nº of petals .@r=rand2(500); if (.@r < 100+$KAMELOT_MX[.@g]) { getmapxy(.@m$, .@x, .@y, 0); - makeitem(DarkPetal, 1, .@m$, rand2(.@x-1, .@x+1), rand2(.@y-1, .@y+1)); + .@am = rand2(1, 1+min(7, $KAMELOT_PC[.@g])); + makeitem(DarkPetal, .@am, .@m$, rand2(.@x-1, .@x+1), rand2(.@y-1, .@y+1)); } // Maybe a reward is due |