summaryrefslogtreecommitdiff
path: root/npc
AgeCommit message (Collapse)AuthorFilesLines
2014-11-02Replaced 'set' with direct assignment where applicable (common folder)Haru163-3824/+3819
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Added min() and max() script commandsHaru1-0/+4
- Special thanks to Streusel, Xgear Signed-off-by: Haru <haru@dotalux.com>
2014-10-31Follow-up to c6f102e (fixed a typo)Haru1-1/+1
Special thanks to kyeme Signed-off-by: Haru <haru@dotalux.com>
2014-10-29Added 2014 Halloween Event and made status change parameter optional on ↵Taylor Locke2-0/+2559
montransform.
2014-10-30Deprecated checkriding and setriding commandsHaru13-96/+72
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkdragon and setdragon commandsHaru3-10/+11
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkmadogear and setmadogear commandsHaru3-14/+19
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-28Removed use of 'checkquest' from scripts (re folder)Haru39-784/+790
Signed-off-by: Haru <haru@dotalux.com>
2014-10-28Removed use of 'checkquest' from scripts (pre-re folder)Haru21-106/+106
Signed-off-by: Haru <haru@dotalux.com>
2014-10-28Removed use of 'checkquest' from scripts (common folder)Haru42-835/+657
Signed-off-by: Haru <haru@dotalux.com>
2014-10-27Removed use of 'menu' from official (non-custom) scriptsHaru10-843/+720
- Some scripts were partly refactored/rewritten to use a more modern coding style (and to fix some issues) - Note: the 'menu' command will be deprecated soon in favor of 'select' and 'prompt'. Signed-off-by: Haru <haru@dotalux.com>
2014-10-24Renamed ismounting, setmounting, @mount2Haru20-31/+25
To avoid ambiguity: - The script command ismounting is now hascashmount - The script command setmounting is now setcashmount - The at-command @mount2 is now @cashmount Signed-off-by: Haru <haru@dotalux.com>
2014-10-06Fix Bug 8133dastgir1-1/+4
* Disguise Event was having Renewal and Pre-Renewal Monster Constant in an array without any checks
2014-10-06Fixed Bug 8252dastgir2-3/+3
* fixing some typo on script
2014-09-23Fix blackjack script by logging out to prevent zeny deletionAnnieRuru1-6/+15
there is a well known bug of this script (I've known this since eathena actually) when you are certainly going to lose the bet, log out immediately while the card are still dealt and you don't get zeny deletion thx to Holiness to bring this up again
2014-09-02Merge branch 'master' of https://github.com/HerculesWS/HerculesAnnieRuru1-2/+3
2014-09-02Update hunting_missions.txt to follow author's method on fixing character ↵AnnieRuru1-2/+16
deletion bug https://github.com/rathena/rathena/commit/3c24f45
2014-09-01Follow-up to 1c97aceHaru1-1/+1
Removed accidental BOM from a script Signed-off-by: Haru <haru@dotalux.com>
2014-08-31Fixed a small typo in Wolfchev Instance. (rAthena 403c22b)Taylor Locke1-3/+4
2014-08-23change rand(1) to rand(2)TungSinpei4-6/+6
2014-08-18HPM Hooks UpdateHercules.ws11-244/+244
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-18- Update some official mob spawn infoMichieru11-245/+244
2014-08-06Fixed located of Mobile HP Recovery quest. Fixed wrong sprite on Mercenary ↵Taylor Locke3-8/+9
Merchant NPC in Izlude.
2014-08-02Fixed Bug #8248Mumbles1-0/+4
http://hercules.ws/board/tracker/issue-8248-job-master-bug/ - Job Master now properly resets Novice Basic Skill upon job change into Baby Novice. - Sparkles and thanks to @Ridley8819 for pointing out the issue.
2014-07-28Merge pull request #311 from vthibault/heart-fragment-quest-fixKisuka1-6/+7
Fix Heart Fragment quest.
2014-07-28Fix Heart Fragment quest.Vincent Thibault1-6/+7
- The Security NPC should print **your** code in the dialog, not the number you have to guess ! - Typo error ```.@ball``` instead of ```@ball```
2014-07-20Removed duplicate code from the Cool Event NPCsHaru2-504/+249
- Moved common code to a function. - Modified to use appropriate functions from function_kafras.txt. - Modernized syntax/updated function documentation in both files. - Fixed the Rachel NPC incorrectly stating it's warping you to Rachel, instead of Veins. - Special thanks to jaBote, GubA. Signed-off-by: Haru <haru@dotalux.com>
2014-06-23Fixed issue with Biochemist that resulted in never regaining Bioethics.Taylor Locke1-4/+5
2014-06-14Removed pointless comment from Job Repairs script.Taylor Locke1-44/+2
2014-05-23Merge pull request #288 from pois8n/masterStreusel1-2/+2
Minor spelling correction in agit_main.txt
2014-05-24Minor spelling correction in agit_main.txtPoison1-2/+2
2014-05-20Corrected Bioethics quest checks in the Biochemist NPCHaru1-58/+53
- As of 4ea6d474 (almost 7 years ago!) the correct check is bioeth==13, rather than MISC_QUEST&64. Special thanks to ossi0110. - Minor tweaks to the script to match Hercules standards. Signed-off-by: Haru <haru@dotalux.com>
2014-05-20Fixed an exploit in the custom jobmaster NPCHaru1-95/+165
- Improved legibility (renamed variables, replaced numbers with constants. - Changed syntax to match Hercules standards. - Fixed status point exploit upon Baby Novice job change. - Special thanks to bgamez23. Signed-off-by: Haru <haru@dotalux.com>
2014-05-17Added missing changequest commands on Alchemist Job Change Quest.Taylor Locke1-2/+7
2014-05-17Fixes and Clean-ups from Euphy for Wolfchev's Lab.Taylor Locke1-366/+200
2014-05-13Removed trailing whitespace (scripts)Haru199-812/+761
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed some charset issuesHaru14-13/+42
- Fixed files with mixed character set or invalid CP949 characters. - Uncommented '#music' script in the_sign_quest.txt (now the soundeffect filename should be fixed). - Added a note to the header of CP949 files not to read or save them as UTF8, since it'd break their encoding. It should be safe enough to read them as EUC-KR if your text editor doesn't offer CP949 as an option. - Added FIXME notes about untranslated strings in assassin_skills.txt and WolfchevLaboratory.txt. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed several files with a missing EOL at EOFHaru28-28/+28
- All text files should end with an EOL. Period. - See http://robots.thoughtbot.com/no-newline-at-end-of-file for info on how to configure the most common text editors to do it automatically for you. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Wolfchev's Laboratory Instance Release.Taylor Locke3-595/+3460
2014-05-11Merge branch 'master' of http://github.com/HerculesWS/Herculespanikon1-1/+1
2014-05-11Fixed typo in thqs_ttshoppanikon1-1/+1
2014-05-10Travis improvementsHaru1-1/+1
- Parallelized pre-re and re tests - Added mapserver and script engine tests: this means that travis will detect parse errors in scripts as well as the source now) Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Changed set_reg behavior on pc_setparam failure, now it won't simply END the ↵panikon1-10/+20
script, if a dialog window is open it'll also CLOSE it. Corrected Zeny formula in THQS
2014-05-10Optimized THQS_TTShop.txt and corrected a minor mistakepanikon1-478/+158
Added npc_market_data_db to inter-server.conf Added shop message to messages.conf Fixed small typo in clif_GM_kickack
2014-05-09Improved the self-test scriptHaru1-69/+82
- Moved tests into a function, so that they can be easily called by external scripts. Ensured that the tests are only executed once. Signed-off-by: Haru <haru@dotalux.com>
2014-04-25Update official Spawn monster - Malaya and Biolab Dungeon 4Michieru3-24/+24
Update many items scripts to official
2014-04-10Fixed issue: 8140panikon1-1/+7
http://hercules.ws/board/tracker/issue-8140-toucan-npc-error-message/ That error usually happens when the player clicked on a NPC that has the view id of a mob, to activate this kind of npc it's needed to be in a 2,2 range from it. If the OnTouch area of a npc, coincides with the 2,2 range of another it's expected that the OnTouch event be put first in stack, because unit_walktoxy_timer is executed before any other function in this case. So it's best practice to put an 'end;' before OnTouch events in npcs that have view ids of mobs to avoid this kind of error. Also updated script_commands.txt to add this recomendation.
2014-03-21Fix hunting mission and clarify weight's unitAnnieRuru1-3/+6
Fix hunting mission not able to take mission after a character has deleted http://hercules.ws/board/tracker/issue-8104-hunting-missiontxt-delete-character/ Clarify Weight and MaxWeight unit as in 0.1 http://hercules.ws/board/tracker/issue-7836-weight-and-maxweight/
2014-03-18Created npc/dev/ folder for scripts with development or testing purposes.Haru5-4/+14
- Moved npc/custom/test.txt to npc/dev/test.txt - Special thanks to AnnieRuru for the idea. Signed-off-by: Haru <haru@dotalux.com>
2014-03-17Added regular expression matching script commands and operatorsHaru1-1/+16
- The script command pcre_match and the operator ~= will return the number of regular expression matches in a given string (roughly equivalent to the php function preg_match or the perl operator =~) - The operator ~! is the opposite of ~= (roughly equivalent to the perl operator !~) - See script_commands and npc/custom/test.txt for more information. Signed-off-by: Haru <haru@dotalux.com>