summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2020-03-14Remove map_session_data->state.itemskill_* and use ↵Kenpachi Developer1-6/+1
map_session_data->autocast.itemskill_* instead
2020-03-14Remove itemskill_id and itemskill_lv helper variables, since they are not ↵Kenpachi Developer1-4/+0
used anymore
2020-03-14Add pc_autocast_clear() function callsKenpachi Developer1-0/+6
2020-03-14Rename function pc_itemskill_clear() to pc_autocast_clear()Kenpachi Developer1-7/+7
2020-03-14Add map_session_data->autocast.itemskill_* assignmentsKenpachi Developer1-0/+4
2020-03-14Add map_session_data->autocast.skill_id/_lv assignmentsKenpachi Developer1-0/+2
2020-03-14Add map_session_data->autocast.type assignmentsKenpachi Developer1-0/+1
2020-03-12Use script_pushstrcopy() instead of script_pushstr() for returning item namesKenpachi Developer1-2/+2
2020-03-09Merge pull request #2648 from Kenpachi2k13/itemskill_fixHaru1-3/+5
Fix itemskill() script command
2020-03-09Merge pull request #2639 from Kenpachi2k13/getiteminfo_extensionHaru1-22/+53
Extend getiteminfo() script command
2020-03-08Merge pull request #2628 from Kenpachi2k13/unitiswalkingHaru1-0/+33
Add unitiswalking() script command
2020-03-08Change the name of all functions which got their return-value meaning changedskyleo1-14/+14
2020-03-08Change returning error-code in unit->walktoxy to obey code-style guidelinesskyleo1-7/+10
2020-03-08Refactor code using directions to use enum unit_dirskyleo1-13/+13
This removes a lot of duplicated code, especially related to people not using the arrays dirx and diry. Assertions for whenever these arrays are used have been added as well, to ensure valid index range. Some trailing white space has been removed as well.
2020-03-08Added Item Bound Type constantsEmistry Haoyan1-0/+7
- improve readability.
2020-03-06Change validation of itemskill_check_conditions according to new nameKenpachi Developer1-1/+1
2020-03-06Rename itemskill_no_conditions to itemskill_check_conditionsKenpachi Developer1-2/+2
2020-03-06Rename ISF_IGNORECONDITIONS to ISF_CHECKCONDITIONSKenpachi Developer1-2/+2
2020-03-06Add pc_itemskill_clear() calls to BUILDIN(itemskill)Kenpachi Developer1-0/+2
2020-02-21Apply code style to BUILDIN(getiteminfo) functionKenpachi Developer1-19/+32
2020-02-21Add new ITEMINFO_* constants to getiteminfo() script commandKenpachi Developer1-0/+9
2020-02-21Add ITEMINFO_ID, ITEMINFO_AEGISNAME and ITEMINFO_NAME constantsKenpachi Developer1-0/+3
2020-02-21Make getiteminfo() script command usable with item name, tooKenpachi Developer1-3/+9
2020-02-11Add unitiswalking() script commandKenpachi Developer1-0/+33
2020-02-09Added pc_itemskill_clear() function.Kenpachi Developer1-6/+5
2020-02-09Applied code style to BUILDIN(itemskill).Kenpachi Developer1-23/+29
2020-02-09Added itemskill option flags to the script constants.Kenpachi Developer1-0/+6
2020-02-09Added a new option flag to itemskill() script command to be able to ↵Kenpachi Developer1-2/+3
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-1/+2
skill without cast time.
2020-02-09Fixed skill conditions check and <flag> parameter in itemskill() script command.Kenpachi Developer1-7/+18
* 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-3/+16
Implement support for switching madogear type
2020-02-09Merge pull request #2619 from dastgirp/getunits/fixHaru1-0/+7
Crash fixes
2020-02-09Merge pull request #2590 from Kenpachi2k13/issue#2530Haru1-58/+91
Change unload NPC behavior to kill mobs that were spawned by unloaded NPC (non-permanent monster spawns) [Issue #2530]
2020-02-09Add script command achievement_iscompleted to check for achievement statusAsheraf1-0/+18
2020-02-09Add new script commands cloakonnpc/cloakoffnpcAsheraf1-0/+52
2020-02-09Applied code style to touched script commands.Kenpachi Developer1-58/+91
2020-02-09Change unload NPC behavior to kill mobs that were spawned by unloaded NPC ↵Kenpachi Developer1-3/+3
(non-permanent monster spawns) [Issue #2530] Mobs spawned by NPC will be removed on @reloadnpc, @unloadnpc, and @unloadnpcfile. Additionally OnNPCUnload NPC label was added, to revert other changes made by NPC. For example set/removed mapflags or added mob drops.
2020-02-09Add script commands for expanded barter shopsAndrei Karas1-27/+294
2020-02-09Add expanded barter shop constantAndrei Karas1-0/+1
2020-01-29Implement support for switching madogear typeAsheraf1-3/+16
2020-01-25Added a check in getunits to not proceed if mapname is invalid.Dastgir1-0/+7
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2020-01-12Merge pull request #2604 from Kenpachi2k13/issue#1861Haru1-123/+159
Add flag to ignore mapflag restrictions in warpparty() and warpguild() script commands.
2020-01-12Merge pull request #2606 from Ridley8819/pcblocknpcHaru1-0/+7
Adding PCBLOCK_NPC to setpcblock script command
2020-01-12Adds buildin_resetfeel, buildin_resethate and acmd_hatereset.EyesOfAHawk1-0/+34
2020-01-09Moved variable declarations out of the for loops, as requested.Kenpachi Developer1-40/+27
2020-01-09Adding PCBLOCK_NPC to setpcblock script commandRidley1-0/+7
2020-01-08Added missing argument qualifier to the definitions of `warpparty()` and ↵Kenpachi Developer1-2/+2
`warpguild()`.
2020-01-08Re-added mapflag restrictions to warpguild() and introduced a flag to ↵Kenpachi Developer1-6/+30
disable them as requested.
2020-01-07Re-added mapflag restrictions to warpparty() and introduced a flag to ↵Kenpachi Developer1-9/+33
disable them as requested.