summaryrefslogtreecommitdiff
path: root/npc
AgeCommit message (Collapse)AuthorFilesLines
2015-11-18Converted some dealers to new trader format.Jedzkie3-58/+624
2015-11-17Add some FAQ documentation that some script command can return valueAnnieRuru1-4/+4
- getitemname can return "null" - getmapusers can return -1 and fix the bad ... misleading global function example
2015-11-15Fixed too-generic constant names of gettime() typesHaru27-171/+153
- 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-11-11Fixed Issue #860Emistry1-1/+1
Fixed invalid zeny deduction.
2015-11-08Fixes Chance of Comodo Gambling (Thanks to @michaelforge for pointing itDastgir1-2/+2
out)
2015-10-27Replaced parameter type with constant.Emistry25-133/+133
constant for gettime( <type> ) constant for Weekday and Month.
2015-10-26Fixed OldGlastHeim instance not showing any npcDastgir1-5/+6
2015-10-13Added Items needed in eden_iro.txtmoguri853-14/+14
Changed NPC id->constant in eden_iro.txt Fixed case warning errors on may_hats.txt and mushroom_event.txt
2015-09-29Fix in academy.txtAtemo1-32/+36
2015-09-27Merge pull request #742 from michaelforge/lv4_weapon_quest-RPS_dialog_typoDastgir1-3/+3
Fixed a bug in Lv4 Weapon Quest dialog
2015-09-26Merge pull request #692 from KirieZ/tu_merchant-fixHaruna1-41/+22
Fix quests/first_class/tu_merchant.txt
2015-09-26Merge pull request #678 from KirieZ/tu_sword-fixHaruna1-23/+25
Fix quest log linking in first_class/tu_sword.txt
2015-09-25Fixed a bug in Lv4 Weapon Quest dialogAlexander Kozlov1-3/+3
Dialog with rolled rock/paper/scissors didn't appear because of variable typo. An ancient one. Discovered by Aafemt.
2015-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru119-865/+613
Signed-off-by: Haru <haru@dotalux.com>
2015-09-20Fix incorrect condition checks in attaching map of Sealed Shrine Instance.tungsinpei1-7/+6
2015-09-20Fix issue #687Emistry1-2/+2
Added missing Energy Crystal Book item_db. Removed wrong equipments list for exchange. Based on http://irowiki.org/wiki/Eden_Group_Crystal_Synthesis
2015-09-20Fixed issue #721Emistry1-1/+1
invalid information.
2015-09-08Fixed a missing parenthesis in the Criatura Academy script.Haru1-120/+120
Also applied several minor whitespace fixes. Signed-off-by: Haru <haru@dotalux.com>
2015-09-07Converted all item constants to IDs for Academy. Added missing hair coupon item.Taylor Locke1-171/+173
2015-09-07Fixed const name of Academy Hat in Academy script. Fixes #707.Taylor Locke1-1/+1
2015-09-05Moved novice_skills quests to pre-re.Taylor Locke3-2/+4
2015-09-05Episode 14.2 Criatura Academy Release.Taylor Locke7-24/+14494
2015-09-03Fix quest log linking in quests/first_class/tu_merchant.txt and wrong check ↵KirieZ1-41/+22
that was blocking players who had level 10 increase weight limit to continue the quest
2015-08-31Fixed issue #670Emistry1-3/+3
Ancient Golden Decoration which is upper headgear.
2015-08-28Fix tu_sword.txt quest log linking. issue #008561 (old tracker)KirieZ1-23/+25
2015-08-17Corrected a warp destination typo in The Sign questHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-08-13Added script_mapquit plugin (moved from the StaffPlugins repository)Haru1-0/+22
The plugin is used by the Travis CI build, and it makes more sense to be present here, so that it can be kept up to date when the HPM is updated, to avoid build failures. Signed-off-by: Haru <haru@dotalux.com>
2015-08-12typo fix @ Eclage questDastgir1-1/+1
2015-08-10Minor script cleanup (part 2)Haru9-17/+17
- Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8) - Follow-up to 7b50fce0f62961b0228e6919562efcfe33e7fbca
2015-08-09Minor script cleanup.Haru18-54/+54
- Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8)
2015-08-03Fixed a bug in Lv4 Weapon QuestAlexander Kozlov1-2/+2
Always results "0" in dialog. An ancient one. Discovered by Aafemt.
2015-07-20Merge branch 'master' of https://github.com/HerculesWS/HerculesDastgir3-6/+38
2015-07-20Follow Up ebde1c70Dastgir1-4/+13
2015-07-20Follow up #523Emistry1-5/+10
Enable the NPC to inform users the Auction not available due to the feature isn't enabled by server.
2015-07-15Follow up d93ed2a26dab220632d523caea0358d33dda7051Emistry1-6/+20
Returns a number with commas based on precision of digits and custom separator. -- callfunc "F_InsertComma",<number>{,<precision>,<separator>} Examples: callfunc("F_InsertComma",7777777{,<precision>,<separator>}) // returns "7,777,777" callfunc("F_InsertComma",1000000000,3,","}) // returns "1,000,000,000" callfunc("F_InsertComma",1000000000,3,"_"}) // returns "1_000_000_000" callfunc("F_InsertComma",1000000000,4) // returns "10,0000,0000"
2015-07-14Fixed bug #595Emistry1-1/+1
https://github.com/HerculesWS/Hercules/issues/595
2015-07-14Added F_InserCommaEmistry1-0/+13
Merge from rAthena. Returns a number with commas between every three digits.
2015-07-13Added Shadow item RefinerDastgir2-0/+147
2015-07-12Follow Up ce39818fDastgir1-3/+1
2015-07-12Implemented Kagerou/Oboro Gear Enchants.Dastgir2-0/+557
Reference: rathena/rathena@9b5798dc395cd77e1ac35228c95603f43aa9e94c Signed-off-by: Haru <haru@dotalux.com>
2015-07-12Implemented 2012 Headgears QuestDastgir2-0/+731
Based on the rAthena version, improved and cleaned up. Signed-off-by: Haru <haru@dotalux.com>
2015-07-12Added 2013 Christmas EventDastgir2-0/+1734
Signed-off-by: Haru <haru@dotalux.com>
2015-07-08Update Unique ID system to match official now it cover all cash items ↵Ibrahim Hossam3-3/+5
include stackable ones. Implement ForceSerial option in Package Item Database to force serial for any item. Implement ForceSerial option in item database to force serial for any item. Implement Merge Client interface to merge stackable items with serial numbers ( check npc/other/item_merge.txt ).
2015-07-05Removed blank text contents in NPC scripts.Emistry7-87/+87
http://herc.ws/board/tracker/issue-8677-lots-of-blank-things-in-scripts/
2015-06-25Added missing 'end' in some scriptsDastgir2-2/+3
Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Fix Issue in Dual Race.Dastgir1-487/+420
Reference: rathena/rathena@be1fd7b1 Also synchronized previous updates to the same script. Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Fix QuestID's for LostChild and Muff's LoanDastgir2-22/+21
Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Fixed Several Bugs(Old GlastHeim)Dastgir1-89/+11
Signed-off-by: Haru <haru@dotalux.com>
2015-06-25Updated Buying Shops scriptDastgir1-1/+11
Signed-off-by: Haru <haru@dotalux.com>