summaryrefslogtreecommitdiff
path: root/src/map/script.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-06Add NoPet mapflagEmistry Haoyan1-1/+2
- allow to set nopet mapflag at any maps. - mapflag to disable pet, and force return to egg.
2020-06-28Enlarge field size of npc_item_flag in struct script_state according to ↵Kenpachi Developer1-1/+1
possible values
2020-05-27Merge pull request #2142 from Helianthella/export2Haru1-6/+15
allow local NPC functions to be public or private
2020-05-09Add script_is_permanent_variable() functionKenpachi Developer1-0/+1
2020-05-03document script_label_entrygumi1-0/+4
2020-05-03add a config flag to allow to local functions to be event handlersgumi1-0/+1
2020-05-03add a config flag to allow local functions to be public by defaultgumi1-0/+1
2020-05-03allow local NPC functions to be public or privategumi1-6/+9
2020-03-09Merge pull request #2648 from Kenpachi2k13/itemskill_fixHaru1-1/+1
Fix itemskill() script command
2020-03-06Rename ISF_IGNORECONDITIONS to ISF_CHECKCONDITIONSKenpachi Developer1-1/+1
2020-02-21Add ITEMINFO_ID, ITEMINFO_AEGISNAME and ITEMINFO_NAME constantsKenpachi Developer1-0/+3
2020-02-09Added a new option flag to itemskill() script command to be able to ↵Kenpachi Developer1-0/+1
forcefully cast skill on on invoking character.
2020-02-09Added a new option flag to itemskill() script command, to be able to cast a ↵Kenpachi Developer1-0/+1
skill without cast time.
2020-02-09Fixed skill conditions check and <flag> parameter in itemskill() script command.Kenpachi Developer1-0/+8
* itemskill() script command should check for the skill's conditions and also consumes them. SP are not consumed. * The same applies to Hocus-pocus skill. Conditions should be checked and consumed, SP are not consumed. * This was bugged for more than 6 years now. See linked bug report and commits. Related bug: * https://herc.ws/oldboard/tracker/issue-7210-itemskill-command-does-not-check-for-required-items/ Related commits: * https://github.com/HerculesWS/Hercules/commit/b864056b8d088660fca9129bddad477732ed8df9 * https://github.com/HerculesWS/Hercules/commit/07272f7a16db87970583286db03167ca79604a69
2020-02-09Merge pull request #2586 from Asheraf/madostatueffectHaru1-0/+12
Implement support for switching madogear type
2020-02-09Add script commands for expanded barter shopsAndrei Karas1-0/+1
2020-01-29Implement support for switching madogear typeAsheraf1-0/+12
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2020-01-09Adding PCBLOCK_NPC to setpcblock script commandRidley1-10/+11
2019-10-18Merge pull request #2492 from dastgirp/huld/splitHaru1-2/+3
Split HULD translations to per NPC file instead of one large file
2019-10-02Load translations from a directory rather than a fileHaru1-2/+3
2019-09-23Implementation of LapineDdukDdak SystemAsheraf1-0/+1
2019-09-22Implement new script fields for items triggered on rentral status changesIbrahim Zidan1-0/+2
- OnRentalStartScript triggered when a rental item is added to inventory - OnRentalEndScript triggered when a rental period end/expire of the item Related #140 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-09-22Implementation of new guild ui client featuresAsheraf1-0/+10
2019-08-05Extend *set/getiteminfo script commandsEmistry Haoyan1-1/+24
- additional options.
2019-07-24Update mob_db - DamageTakenRate fieldEmistry Haoyan1-0/+1
- adjust the damage taken by monster. (default = `100 = 1x`) - ref: https://github.com/idathena/trunk/commit/e267d2e2dada6196b479a6f2f35e9d25291ef22b
2019-06-02Merge pull request #2221 from carloshenrq/nostorageHaru1-1/+3
Mapflag nostorage and nogstorage
2019-05-05Extend setinitdata and getunitdata with UDT_GROUP flagAndrei Karas1-0/+1
2019-03-12Add constants to *getpetinfo, and add some new fieldsAnnieRuru1-0/+21
2019-03-11Add constants and MERCINFO_GID to *getmercinfo script commandAnnieRuru1-0/+17
2018-12-04Added mapflags 'nostorage' and 'nogstorage'Carlos Henrique1-1/+3
nostorage 1 -- blocks only @storage nostorage 2 -- blocks only openstorage(); nostorage 3 -- blocks @storage and openstorage() nogstorage 1 -- blocks only @gstorage nogstorage 2 -- blocks only guildopenstorage(); nogstorage 3 -- blocks @gstorage and guildopenstorage()
2018-10-22Merge pull request #2279 from Helianthella/promptHaru1-0/+5
deprecate buildin_prompt, bake it into buildin_select
2018-10-21Updated getiteminfo and setiteminfo.Dastgir1-0/+1
Added ITR_TRADE (Trade restriction) for both script commands
2018-10-11add constants for max menu length and optionsgumi1-0/+3
2018-10-11bake buildin_prompt into buildin_select and clarify the difference between ↵gumi1-0/+2
the two
2018-07-30push constants as C_NAME in the script buffergumi1-1/+0
2018-07-30always set the type when doing script->add_strgumi1-0/+1
2018-07-25Merge pull request #2093 from AnnieRuru/47-MAX_ARRAYSIZEHaru1-1/+1
Fix SCRIPT_MAX_ARRAYSIZE
2018-07-24Merge pull request #2130 from mekolat/reloadconstHaru1-1/+1
reload the const db on script reload
2018-07-19Replace item id shorts to int in map server.Andrei Karas1-1/+1
2018-07-13reload the const db on script reloadgumi1-1/+1
2018-06-19Fix SCRIPT_MAX_ARRAYSIZEAnnieRuru1-1/+1
2018-06-02Merge pull request #842 from AnnieRuru/request_6Haru1-0/+16
Add new *pcblock script command
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-05-04Implementation of Private AirShipAsheraf1-1/+3
2018-05-04Add setpcblock & checkpcblock script commandsAnnieRuru1-0/+16
thanks to @MishimaHaruna for the updated syntax
2018-04-02Rename script->sprintf() to script->sprintf_helper()Haru1-1/+1
This prevents compile errors in HPMHooking in case sprintf is defined as a macro by the C library Fixes #2003 Signed-off-by: Haru <haru@dotalux.com>
2018-02-15expose script_sprintf to pluginsgumi1-0/+1
2017-11-12Add ITEMINFO_VIEWSPRITE support to getiteminfo() / setiteminfo().Haru1-0/+1
Adds the ability to query an item's view sprite, lost with #1828 Fixes #1895 Signed-off-by: Haru <haru@dotalux.com>
2017-11-12Add ITEMINFO_MATK support to getiteminfo() / setiteminfo().Haru1-0/+1
This item info type was documented in commit 315d632e69c60d2996872c9330164133101befdf, but never implemented. Signed-off-by: Haru <haru@dotalux.com>