summaryrefslogtreecommitdiff
path: root/npc/custom
AgeCommit message (Collapse)AuthorFilesLines
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru6-16/+16
This removes the remaining unsupported symbols (despite they being official names) in AegisNames: The apostrophe (`'`) sign is suppressed. The full replacement rules (cumulative with the step 1 commit) are thus: - Any apostrophe is suppressed. - Any non-`[A-Za-z0-9_]` character is replaced with an underscore (`_`). - If the replaced symbol is at a word boundary (beginning or end of the string, or next to another underscore), it is suppressed instead. - If the replacement causes an AegisName conflict, underscores are appended appropriately. Signed-off-by: Haru <haru@dotalux.com>
2016-10-16Merge pull request #1473 from Ridley8819/0hpHaru2-2/+4
Fix cases were player were executed
2016-10-16Fixes cases where player were executedRidley2-2/+4
On Aegis players set their HP to 0 by script are still alive. Since we don't want to copy this, scripts that set HP to 0 and expects the player to stay alive are changed. Additionally some scripts where changed where the HP were set to 1% instead to 1 HP and also the percentheal -100 with intended death set into close2. In megingard_seal.txt a end; was missing.
2016-10-16Change *getcharid to use constantsAsheraf9-32/+32
2016-09-02change *strcharinfo to use constantsAsheraf33-193/+193
2016-08-29*strnpcinfo now uses constantsAsheraf3-5/+5
- NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map
2016-08-21Removed some of the leftover calls to menu() in custom scriptsHaru16-2074/+2047
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25Fixed some script errorsHaru4-8/+8
Signed-off-by: Haru <haru@dotalux.com>
2016-02-29Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriateEmistry4-31/+38
2016-02-07Merge pull request #1110 from dastgir/22-ScriptClean-Phase2Haru26-79/+79
Script CleanUp Phase 2
2016-01-30Fixes conditions in itembind.txtDastgir1-4/+9
2016-01-16Script Standardization: changed select format in custom folderDastgir26-79/+79
2015-12-31Replaced leftover -1 view IDs with FAKE_NPCHaru3-8/+8
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31Replace -1,{ with FAKE_NPC,{AnnieRuru23-54/+54
replace using Notepad++
2015-12-18Replaced numeric values with UNITTYPE_ constants in getmapxyHaru1-2/+2
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
2015-12-18uneasy Cemetry fixDastgir1-3/+3
2015-12-18ItemID to Constant: custom FolderDastgir19-202/+202
2015-11-15Fixed too-generic constant names of gettime() typesHaru6-17/+17
- Follow-up to 3bd77ffc0daca508352834add828766490075aee - The names were too generic (not namespaced), and were easily clashing with custom (and potential future official) constants or variables. - Constants are now prefixed with a 'GETTIME_' namespace: - GETTIME_SECOND - GETTIME_MINUTE - GETTIME_HOUR - GETTIME_WEEKDAY - GETTIME_DAYOFMONTH - GETTIME_MONTH - GETTIME_YEAR - GETTIME_DAYOFYEAR - Fixed some excessive (and some times incorrect) parentheses in various scripts using gettime(). - Updated documentation. Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Standardized script-queue related commandsHaru1-4/+4
- The commands queueadd, queueremove, queueopt, queuedel and qiclear now all return true (success) or false (failure). - Taken/extended from AnnieRuru's PR #847. - The constants HQO_OnDeath, HQO_OnLogOut, HQO_OnMapChange were renamed to QUEUEOPT_DEATH, QUEUEOPT_LOGOUT, QUEUEOPT_MAPCHANGE respectively. - The name of the variable @QMapChangeTo$ used during the QUEUEOPT_MAPCHANGE event has been renamed to @Queue_Destination_Map$. Signed-off-by: Haru <haru@dotalux.com>
2015-10-27Replaced parameter type with constant.Emistry6-17/+17
constant for gettime( <type> ) constant for Weekday and Month.
2015-10-13Added Items needed in eden_iro.txtmoguri852-13/+13
Changed NPC id->constant in eden_iro.txt Fixed case warning errors on may_hats.txt and mushroom_event.txt
2015-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru22-211/+191
Signed-off-by: Haru <haru@dotalux.com>
2015-06-25JobChanger UpdatedDastgir1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Updated RockPaperScissorsDastgir1-267/+109
Signed-off-by: Haru <haru@dotalux.com>
2015-06-05Renamed guild and guild2 folder to woe-fe and woe-seDastgir1-2/+2
2015-05-16Merge pull request #515 from EPuncker/masterDastgir1-140/+163
Updated warper. Changed close; to end;
2015-05-16updated warperEvil Puncker1-140/+163
2015-05-13Changed close; into end; to try to fix bug 8666, since there is no dialogue ↵Evil Puncker1-1/+1
window a close; is not needed
2015-05-08Replaced checkre() calls with constantsHaru2-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2015-03-29Avoid binding rental items.Emistry1-2/+2
Prevent the NPC to show rental items when players try to bind an items.
2015-01-30Fixes Warper NPC Overlapping. #8018Dastgir1-1/+1
2014-12-14Fixed some improper grammar.Mysteries1-1/+1
2014-11-14Fixed a typo in npc/custom/breeder.txtHaru1-1/+1
Special thanks to Ridley8819 Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkriding and setriding commandsHaru3-20/+21
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkdragon and setdragon commandsHaru1-1/+2
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkmadogear and setmadogear commandsHaru1-7/+12
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 (common folder)Haru2-44/+44
Signed-off-by: Haru <haru@dotalux.com>
2014-10-24Renamed ismounting, setmounting, @mount2Haru2-3/+3
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-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-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-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-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-13Removed trailing whitespace (scripts)Haru30-162/+134
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed several files with a missing EOL at EOFHaru1-1/+1
- 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-11Fixed typo in thqs_ttshoppanikon1-1/+1
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-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.Haru1-726/+0
- Moved npc/custom/test.txt to npc/dev/test.txt - Special thanks to AnnieRuru for the idea. Signed-off-by: Haru <haru@dotalux.com>