diff options
author | Jesusaves <cpntb1@ymail.com> | 2025-01-11 16:37:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2025-01-11 16:53:25 -0300 |
commit | dabc2675ded3189793f32a28cb7be2fea5008982 (patch) | |
tree | 6a81618d613043f2ae0942f52aa4b86b9cede29c | |
parent | 27d8a3a0dcf6250d038edb84e0e9553b850bea42 (diff) | |
download | serverdata-dabc2675ded3189793f32a28cb7be2fea5008982.tar.gz serverdata-dabc2675ded3189793f32a28cb7be2fea5008982.tar.bz2 serverdata-dabc2675ded3189793f32a28cb7be2fea5008982.tar.xz serverdata-dabc2675ded3189793f32a28cb7be2fea5008982.zip |
Fix Manatauro bound items and use new rules for their falsification.
-rw-r--r-- | npc/003-1/lieutenantdausen.txt | 10 | ||||
-rw-r--r-- | npc/015-2/lordcave.txt | 7 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 16 |
3 files changed, 33 insertions, 0 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt index 1168483f9..fa86915ca 100644 --- a/npc/003-1/lieutenantdausen.txt +++ b/npc/003-1/lieutenantdausen.txt @@ -954,6 +954,16 @@ OnTouch: end; L_Warp: + if (getq(TulimsharQuest_WaterForGuard) < 3) addtimer(3000, "#tulim-guardhouse::OnIDCheck"); warp "003-10", 42, 79; end; + +OnIDCheck: + npctalk l("Hang on, %s is not a guard.", strcharinfo(0)), "Guard Biscop"; + npctalk l("Hang on, %s is not a guard.", strcharinfo(0)), "Lieutenant Dausen"; + npctalk l("Hang on, %s is not a guard.", strcharinfo(0)), "Veteran Officer"; + sleep2(2000); + atcommand("@jailfor 10mn "+strcharinfo(0)); + dispbottom col(l("You were arrested for impersonation."), 1); + end; } diff --git a/npc/015-2/lordcave.txt b/npc/015-2/lordcave.txt index e39c4e72a..dbb3d7132 100644 --- a/npc/015-2/lordcave.txt +++ b/npc/015-2/lordcave.txt @@ -12,6 +12,13 @@ OnTouch: L_Summon: .@q=getq(HurnscaldQuest_Bandits); + // Anti-Cheat + if (.@q < 6) { + delitem SilverKey, 1; + dispbottom l("The key breaks and becomes dust. Damn, I'll never again take someone else's key with me!"); + end; + } + // Bandit Lord Logic if (mobcount("015-2", "#BanditLordDen::OnLordDeath") == 0 && .@q == 6) monster "015-2",260,250,"Bandit Lord",BanditLord,1, "#BanditLordDen::OnLordDeath"; slide 251, 277; diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 4626b09ed..377d4162b 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1307,6 +1307,22 @@ function script clientupdater { next; } } + // Item Data Corruption + // sáb 11 jan 2025 16:36:14 -03 + if (UPDATE < 1736624174) { + UPDATE=1736624174; + + // Bound was replaced with script rules + if (checkbound(SilverKey)) { + delitem SilverKey, 1; + getitem SilverKey, 1; + } + // Bound was replaced with script rules + if (checkbound(TulimsharGuardCard)) { + delitem TulimsharGuardCard, 1; + getitem TulimsharGuardCard, 1; + } + } // TODO: Anniversary (leap years disregarded) // :// End of Regular Update System |