summaryrefslogtreecommitdiff
path: root/npc/functions
AgeCommit message (Collapse)AuthorFilesLines
2025-01-29Refresh PoI every 12 hours, not every 24 hours.Jesusaves1-0/+1
2025-01-29Update the PoI at Candor to make it, well, worthless after Candor.Jesusaves1-1/+40
2025-01-29Fix some mistranslations reported by @Xtreem and Zegas' Barrel PoI.Jesusaves3-5/+19
More specifically, allow you to search the barrels after the quest.
2025-01-22If a shop offers multiple of something and is sold out, increase stock in 33%.Jesusaves1-1/+3
But if it is the cheat shop, increase price in 10% instead.
2025-01-19Christmas 2024 Apology GiftsJesusaves1-0/+15
2025-01-19Add more reminders for Warp Mage about Aeros Events.Jesusaves1-0/+18
2025-01-17[skip ci] Fix some typosJesusaves1-1/+1
2025-01-17Remove some old code (Valentine's Day 2020)Jesusaves1-51/+2
2025-01-17Additions to v1736624174 update codeJesusaves1-0/+11
2025-01-12Fix stuff :)Jesusaves2-6/+9
2025-01-12[UNTESTED] Merchant Guild Requests, from TMW rEvolt.Jesusaves2-2/+222
Needs testing, specially the Caravan scout (currently restricted)
2025-01-11Display previously hidden clientversion message and refactor Patrick Gold Pot.Jesusaves1-0/+1
addresses #93 but might easily give 3~5 Golden Gifts. I, uh, don't really like the whole logic, so I'm not closing the issue.
2025-01-11Fishing: Don't return before giving event rewardsFedja Beader1-3/+10
(Might not address all edge case scenarios) * Sorry, I mixed up fishing with mining event. There's only one event fish. * Jes was right, using NPCEyes for invcheck is easiest. * Don't return before giving event rewards **** Approved-by: Jesusalva Jesusalva <jesusalva@tmw2.org>
2025-01-11Fix Manatauro bound items and use new rules for their falsification.Jesusaves1-0/+16
2025-01-11Fix AoE magic creditTest User1-16/+16
* Reoder functions so it works * Adjust comments, make areaharm use rectharm * Merge {area,rect}harm2 -> old ones * And these, too * Let's not fiddle with SCs yet for this fix, so it can be merged * Add optional caster argument to areaharm2() and rectharm2() for future use * Fix AoE magic credit, fix magic effects to be started after the harm so they aren't immediately removed This patch was NOT checked for console warnings and errors. This patch does NOT address Monster Points being reduced due to max_timer limitations. **** Approved-by: Fedja Beader <fedja@protonmail.ch> Reviewed-by: Jesusalva Jesusalva <jesusalva@tmw2.org>
2025-01-11Revert "2025 Christmas Override (Extension)"Jesusaves1-7/+5
This reverts commit 9b3260025ab14da55356a9c22bdeb7cafa8f7e43.
2025-01-09Fix integer overflow in multiple scripts, but most notably, Ofelia.Jesusaves1-0/+4
It was harmless, in the end?
2025-01-022025 Christmas Override (Extension)Jesusaves1-5/+7
2024-12-31So TL;DR to use this feature, char-server must be up and running :pJesusaves1-0/+3
2024-12-31This should be good enough for now.Jesusaves1-0/+206
Actually, this is a VERY GOOD idea, but it would take inordiate amounts of time to implement everywhere. For now, this limited implementation will have to suffice. It requires some tests in instanced maps (i.e. crash possible) It also requires some more logic and randomness on the time (not fixed at 05:51) Also, OnInit + OnClock0551 might overlap the NPCs, but they have unique IDs so... ...No crashes, just "exploits", hopefully
2024-12-19Prevent division by zero on Golbarez.Jesusaves1-0/+1
2024-12-16Christmas 2024 - Ofelia's Event : Not yet completedJesusaves10-0/+59
Groups 1, 2 and 4 are not yet hooked. Untested. No rewards are currently given.
2024-10-04Further restrict to chunks of 1,000 coin bags each.Jesusaves1-1/+1
2024-10-04Hardcore Death - do not drop a single stack with all the money.Jesusaves1-1/+6
2024-09-15Advanced Pirate Raid (experimental)Jesusaves1-0/+3
2024-09-13Add 001-13-5 Concrete layout.Jesusaves1-1/+1
2024-09-13Minor visual "improvement" for Dream Towers.Jesusaves1-0/+1
Just to make them more interesting. It's not fair only Boss Raid gets these.
2024-09-11Fix typoJesusaves1-2/+2
2024-09-11018-5-6 a long overdue Real Estate, I admitJesusaves1-0/+4
2024-09-11020-8 Nivalis Real EstateJesusaves1-0/+4
2024-09-11Nivalis map layout changedJesusaves1-0/+5
2024-09-08Drop a few more updates. Christmas 2021 rewards will no longer be available ↵Jesusaves1-8/+8
soon. If you haven't claimed it yet, hurry and do it! Initial Trait has also been in for 2 years now. By 2024's Christmas, I am considering disabling all updates until January 2023. This means chars created before November 2022 and which didn't login until next Christmas would be forced to play without a starting trait. While this may or may not happen, one would be wise to make sure all their chars have logged in at least once since 2023. Use @ucp to your advantage, it shows all your chars and when they last logged in.
2024-09-08Deliver an apology token to everyone who played ML during the month of *August*Jesusaves1-0/+21
Due to Aurora Scoreboard being bugged. Of course, #1 player excluded.
2024-09-08"Fix" Black Cat rewardJesusaves1-1/+1
2024-08-26You no longer can get more magic power if you're overwhelmed by your own magic.Jesusaves1-10/+14
2024-08-19Nerf first aid RP farming techniqueJesusaves1-1/+4
2024-08-18Change the VIT/AGI impact on MaxHP to 2 points (ideal is at least 3)Jesusaves1-1/+1
2024-08-17This is the experimental and untested code for the use-case of the new commands.Jesusaves1-0/+3
The skill cannot be obtained. It's untested, and it could break server. (Need to check of duplicate removal of a running NPC crashes server or not).
2024-08-07Improve the grand monster hunter script (readability and make less confusing)Jesusaves1-23/+26
2024-08-06As I promised, agility now penalizes Max HP, with an offset from vitality.Jesusaves1-0/+3
If agility = vitality, no impact will be felt by the player. I'm using an 1 HP increment for test purposes. It should, however, be at least 3 HP per increment to be meaningful.
2024-08-06Botter's Syndrome now applies to Coffee, Chocolate, Gambling, FSF and Craft Day.Jesusaves1-0/+32
Slime Reduction now applies to most of the above as well.
2024-08-06Add Gambling Day, on August 1st *AND* August 10th.Jesusaves3-0/+31
You can only claim the freebie once, though.
2024-08-05Server-side updatesJesusaves1-1/+8
2024-08-05Fix an assortment of miscellaneous major bugs.Jesusaves1-1/+6
2024-08-03Fix spurious "next"Jesusaves1-1/+0
2024-07-31032-2 (Past Tulimshar Tree Cave) is now an Overclocked map.Jesusaves1-2/+3
2024-07-31Overclocked maps: Minor tweaks, maximum penalty is 30%Jesusaves1-6/+6
An "Overclocked map" should be a map where EXP/DROP gain can be higher than other more dangerous maps. In theory, HH Master could be Overclocked... ...But this needs more empirical testing as the goal is balance. In other words, if performance of an OC map falls below the other maps, then it is a failure.
2024-07-31Just like Iced Bottles can reduce Heat maps and so on...Jesusaves1-1/+6
Active homuns will reduce effect from Over Clocked maps
2024-07-31Special Map Effect: Over ClockedJesusaves1-0/+87
Inflicts Botter's Syndrome "randomly" when CAPTCHA is off.
2024-07-31Fix issue of infinite Smoke DragonJesusaves1-1/+1