summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-27Revert "Add check for valid item amount to BUILDIN(rodex_sendmail)"Jesusaves1-27/+2
This reverts commit 77aef58085f166d0ce0b3b06d81dde9a35a05e0d. This reverts commit a1bb4008e58b92e2af5099570a723e37ea138d0b.
2021-03-08[TMW2] Hercules Ultimate Storage SystemJesusaves1-5/+35
2021-02-15add buildin_getguildinfogumi1-4/+105
2021-02-15Added a check in getunits to not proceed if mapname is invalid.Dastgir1-0/+7
2021-02-15Implement MSC_MAGICATTACKED cast condition for monster skillsKenpachi Developer1-0/+1
[TMW2 CHERRYPICK]
2021-02-14Add optional paramter <account id> to setpcblock() script commandKenpachi Developer1-1/+1
2021-02-14Add return values to setpcblock() script commandKenpachi Developer1-1/+4
2021-02-14Add optional paramter <account id> to checkpcblock() script commandKenpachi Developer1-3/+3
2021-02-14allow to use buildin_getcharid with an account idgumi1-3/+8
2021-02-14Add check for receiver ID is in valid range to rodex_sendmail_sub()Kenpachi Developer1-4/+17
2021-02-14Add check for valid item amount to BUILDIN(rodex_sendmail)Kenpachi Developer1-1/+13
2021-02-14Add check for valid item amount to BUILDIN(rodex_sendmail2)Kenpachi Developer1-1/+14
2021-02-14[TMW2 CHERRYPICK] Add NoPet mapflagEmistry Haoyan1-0/+3
- allow to set nopet mapflag at any maps. - mapflag to disable pet, and force return to egg. Original commit d3c24f7d9ae
2020-09-12This is Hercules v2019.10.20r12.5_BUGGYJesusaves1-44/+90
2020-09-12This is Hercules v2019.09.22Jesusaves1-11/+99
2020-08-07This is Hercules v2019.08.25r12.4+1Jesusaves1-29/+198
2020-07-31[TMW2] SUMMON FIXstabler_stableJesusaves1-0/+2
2019-07-28Merge pull request #2510 from Emistry/mobdb_dmg_taken_rateHaru1-0/+9
Update mob_db - DamageTakenRate field
2019-07-24Update mob_db - DamageTakenRate fieldEmistry Haoyan1-0/+9
- adjust the damage taken by monster. (default = `100 = 1x`) - ref: https://github.com/idathena/trunk/commit/e267d2e2dada6196b479a6f2f35e9d25291ef22b
2019-07-21Update script command isequippedEmistry Haoyan1-0/+4
- added missing costume equipment validation
2019-07-01Add identify script commandGuilherme Menaldo1-0/+37
Signed-off-by: Haru <haru@dotalux.com>
2019-07-01Add identifyidx script commandGuilherme Menaldo1-0/+35
Signed-off-by: Haru <haru@dotalux.com>
2019-06-30Merge pull request #2427 from Emistry/scriptcommand_setfavoriteitemHaru1-0/+45
Add *setfavoriteitemidx & *autofavoriteitem script commands - alter item favorite state
2019-06-02Merge pull request #2221 from carloshenrq/nostorageHaru1-0/+19
Mapflag nostorage and nogstorage
2019-06-02Adds buildin_getguildonline.EyesOfAHawk1-0/+63
Signed-off-by: Haru <haru@dotalux.com>
2019-06-02standardize script commands to small lettersAnnieRuru1-8/+8
Signed-off-by: Haru <haru@dotalux.com>
2019-06-03Add *setfavoriteitemidx & *autofavoriteitem script command.Emistry Haoyan1-0/+45
- set an item as favorite item or not based inventory index. - if an item is set to favorite item, it will be moved into favorite tab, else move out from favorite tab. - only non-equipped item can adjust the favorite item state.
2019-06-02Merge pull request #2394 from bWolfie/buildin_delitemidxHaru1-0/+43
Adds BUILDIN(delitemidx), which deletes an item at the given index.
2019-06-02Adds BUILDIN(delitemidx), which deletes an item at the given index.EyesOfAHawk1-0/+43
Signed-off-by: Haru <haru@dotalux.com>
2019-06-01Merge pull request #2380 from AnnieRuru/59-all_AllHaru1-2/+8
Standardize to "all" in script commands
2019-06-01Merge pull request #2430 from Emistry/scriptcommand_npcspeedHaru1-46/+62
Fix map-crash when floating npc use *npcspeed script command
2019-06-01Merge pull request #2471 from Emistry/scriptcommand_mesclearHaru1-0/+14
Add *mesclear script command.
2019-06-01Merge pull request #2472 from Emistry/scriptcommand_cap_valueHaru1-0/+12
Add *cap_value script command
2019-06-01Merge pull request #2474 from Emistry/scriptcommand_getmapinfoHaru1-3/+9
Update *getmapinfo script command.
2019-06-01Merge pull request #2477 from Emistry/issue_2469Haru1-1/+2
Fix *failedremovecards script command.
2019-06-01Merge pull request #2375 from AnnieRuru/58-negative_inputHaru1-25/+26
Allow *input script command to support negative input
2019-05-18Fix *failedremovecards script command.Emistry Haoyan1-1/+2
- only `type == 1` will remove the card. - fixes #2469
2019-05-15Update *getmapinfo script command.Emistry Haoyan1-3/+9
- Added parameter `MAPINFO_NPC_COUNT` to return the total number of NPC exists in the map. - Added new server define `MAX_NPC_PER_MAP`
2019-05-14Add *cap_value script commandEmistry Haoyan1-0/+12
- add `cap_value(value, min, max)` script command. - avoid the ugly nested `min()` and `max()` combo if needed.
2019-05-14Added *mesclear script command.Emistry Haoyan1-0/+14
- `*mesclear()` script command will clear the NPC dialog text and continue the script without player interaction. example: `next();`.
2019-05-06Move questinfo data from map to npc_dataAsheraf1-7/+5
this will fix the issue where having multiple `questinfo()` blocks wont work properly
2019-05-05Implement Refinery UIIbrahim Zidan1-0/+20
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan1-1/+2
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Add script function for close roulette windowAndrei Karas1-0/+12
New script function: closeroulette()
2019-05-05Move UDT_* constants from constants.conf into script.cAndrei Karas1-0/+60
2019-05-05Add commands getunittitle and setunittitleAndrei Karas1-0/+42
This commands get/set title for non players bl
2019-05-05Extend setinitdata and getunitdata with UDT_GROUP flagAndrei Karas1-0/+23
2019-05-05Merge pull request #2425 from hemagx/hercules_signed_items_fixHaru1-6/+6
Fix an issue with named/brewed/forged items getting saved with the wrong character id
2019-05-05Merge pull request #2426 from Emistry/scriptcommand_getinventorylist_favouriteHaru1-25/+32
Expand *getinventorylist() script command - favorite field
2019-04-29Added *consolemes script commandEmistry Haoyan1-1/+61
- deprecated `*debugmes` script command. - added `*consolemes` script command which display the console message based on `type`. - allow map-server console to auto logging into text file depend on type of message.