summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2020-02-09Merge pull request #2617 from Kenpachi2k13/issue#2607Haru1-0/+1
Added an initial dmg_taken_rate value to clone spawns.
2020-02-09Merge pull request #2618 from Kenpachi2k13/issue#2558Haru1-18/+25
Updated PR_STRECOVERY to only cure status effects if defence element is not Undead.
2020-02-09Added an initial dmg_taken_rate value to clone spawns.Kenpachi Developer1-0/+1
Mobs, spawned by mob_clone_spawn() function were invulnerable, because their dmg_taken_rate was never set and thus became 0. Now, dmg_taken_rate will be set 100 to remove that invulnerability.
2020-02-09Merge pull request #2590 from Kenpachi2k13/issue#2530Haru11-613/+948
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-09Add a function to send PACKET_ZC_STATE_CHANGE to a single targetAsheraf2-0/+29
2020-02-09Update PACKET_ZC_STATE_CHANGE to use struct formatAsheraf2-38/+39
2020-02-09Update ACMD(unloadnpcfile) path verificationKenpachi Developer1-9/+11
2020-02-09Update ACMD(reloadnpc) path verificationKenpachi Developer1-9/+11
2020-02-09Applied code style and added some minor code improvements to src/map/mob.c.Kenpachi Developer1-337/+472
2020-02-09Applied code style and added some minor code improvements to src/map/npc.c.Kenpachi Developer1-73/+124
2020-02-09Applied code style to touched script commands.Kenpachi Developer1-58/+91
2020-02-09Applied code style and added some minor code improvements to ↵Kenpachi Developer2-20/+73
src/map/atcommands.c. * Applied code style to touched @commands. * Added file path validation where fopen() is used to make sure a TXT file is passed. * Added new messages for file name validation to conf/messages.conf. * increased MAX_MSG to be able to use the new messages.
2020-02-09Applied code style and some minor improvements.Kenpachi Developer3-123/+144
* Added new message 1517 (Script could not be unloaded.) * Applied code style to several functions I touched. * Added some minor improments to the function where I applied code style.
2020-02-09Change unload NPC behavior to kill mobs that were spawned by unloaded NPC ↵Kenpachi Developer10-59/+97
(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-09Enable packet ZC_SE_CASHSHOP_OPEN for main and re clientsAndrei Karas2-2/+2
2020-02-09Dont save barter and expanded barter entries into db if amount is -1Andrei Karas1-1/+4
2020-02-09Add script commands for expanded barter shopsAndrei Karas2-27/+295
2020-02-09Add expanded barter shop packetsAndrei Karas4-1/+168
2020-02-09Add npc functions for expanded barter shopsAndrei Karas4-7/+365
2020-02-09Add expanded barter shop constantAndrei Karas2-0/+2
2020-02-09Add packet CZ_NPC_EXPANDED_BARTER_CLOSEAndrei Karas4-0/+18
2020-02-09Update keys and shuffle packetsAndrei Karas5-20/+36
2020-02-09Update messages tableAndrei Karas3-11/+194
2020-02-09Merge pull request #2248 from guilherme-gm/201810-asurafixHaru1-10/+24
Minor fixes to Asura Strike
2020-02-09Update Duel System CooldownEmistry Haoyan3-26/+13
- Able to set cooldown in "seconds" format. - New `duel_time_interval` value will be applied to any existing cooldown if new value is reloaded in-game using `@reloadbattleconf`. - Display the cooldown tick before can create new duel.
2020-02-09Merge pull request #2596 from dastgirp/skill_idx_refactorHaru2-43/+49
Changed logic of skill_get_index
2020-02-09Apply code style to npc_scriptcont() functionKenpachi Developer1-23/+32
2020-02-08Fixed the number of cells that 'Asura Strike' caster walks when it failsGuilherme G. Menaldo1-8/+18
2020-02-08Makes Asura Strike caster not change look direction at the end of the skillGuilherme G. Menaldo1-1/+4
2020-02-08Fixed duplicated 'Skill Failed' message on Asura StrikeGuilherme G. Menaldo1-1/+2
2020-02-08Change NPC ID validation in npc_scriptcont()Kenpachi Developer1-7/+13
npc_scriptcont() will now validate the NPC ID - if SECURE_NPCTIMEOUT is _not_ defined or - if SECURE_NPCTIMEOUT is defined and the charcters idle timer is still running.
2020-02-08Fix Homunculi being partially vaporized.skyleo1-1/+1
Vanilmirth for example would get incompletely vaporized when using HVAN_EXPLOSION, if the owner died due to it, and then it would be killed at the end of it. This produced a bug which made it not ressurectable but callable, once it was called it would be dead though and you'd be unable to control it, requiring you to ressurect it after that. This bug got introduced by 0eca88efc69becc591428fbb6b9fddd9237afd3d .
2020-02-06Merge pre-RE/RE case SP_VARCASTRATE in pc_readparam() functionKenpachi Developer1-2/+5
2020-02-06Fix W_RIFLE damage calculation being too low than intendedskyleo1-0/+1
Rifle type weapons had a broken call to battle_calc_base_damage2 since they were passing the flag value 18 and flag&16 != 0 as stated by the documentation shall only be the case when no gun or bow is equipped. This bug existed since 2006 and got introduced by the commit e24d467f1ae47475e3441d7453f549e22f46f541 .
2020-02-02Changed logic of skill_get_indexDastgir2-43/+49
skill_get_index can be edited easily to add custom skills
2020-02-02Applied code style to PR_STRECOVERY.Kenpachi Developer1-11/+14
2020-02-02Updated PR_STRECOVERY to only cure status effects if target's defence ↵Kenpachi Developer1-7/+11
element is not Undead.
2020-02-01Make mob DB field ViewData->HairStyleId defaulting to 1 instead of 0.Kenpachi Developer1-0/+4
2020-01-29Implement support for switching madogear typeAsheraf8-9/+53
2020-01-25map_forcountinmap will return 0 if invalid mapindex is providedDastgir1-1/+4
2020-01-25Added a check in getunits to not proceed if mapname is invalid.Dastgir1-0/+7
2020-01-16Update src/map/battle.cskyleo1-1/+1
Co-Authored-By: Kenpachi2k13 <Kenpachi.Developer@gmx.de>
2020-01-16Update src/map/battle.cskyleo1-1/+1
Co-Authored-By: Kenpachi2k13 <Kenpachi.Developer@gmx.de>
2020-01-14Fix Basilica unintentionally restraining boss mobsskyleo1-4/+5
Thanks to Marida from oRO Dev Team for fixing this.
2020-01-13Update copyright headers for year 2020Haru105-191/+191
Signed-off-by: Haru <haru@dotalux.com>
2020-01-13Merge pull request #2266 from dastgirp/coverity/fix2Haru1-1/+1
Fixed a condition in RoDEX attachment
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/pcblocknpcHaru5-14/+27
Adding PCBLOCK_NPC to setpcblock script command