summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-03-07Apply code style to pc_equipitem() functionKenpachi Developer1-97/+109
2020-03-07Apply code style to pc_unequipitem() functionKenpachi Developer1-68/+75
2020-03-07Change execution order in pc_isequip() functionKenpachi Developer1-17/+18
Validating, if the item is disabled by the map's zone, should be done prior to the validation of the character's status changes. If not, equipment, enabled by Super Novice Spirit, is able to bypass the map zone restriction.
2020-03-07Add execution of unequip script when entering a zone where item is restrictedKenpachi Developer1-0/+59
In official servers, an item's unequip script is executed when entering a zone where the item is restricted, even if the item won't be unequipped.
2020-02-23Remove unequip_restricted_equipment dependency from OnEquipScript zone ↵Kenpachi Developer1-4/+14
validation The execution of the OnEquipScript should be prevented, regardless of the unequip_restricted_equipment configuration, if the item is restricted in that zone.
2020-02-23Remove unequip_restricted_equipment dependency from OnUnequipScript zone ↵Kenpachi Developer1-13/+5
validation The execution of the OnUnequipScript should be prevented, regardless of the unequip_restricted_equipment configuration, if the item is restricted in that zone.
2020-02-10Release v2020.02.09Haru1-2/+51
Signed-off-by: Haru <haru@dotalux.com>
2020-02-10HPM Hooks UpdateHercules.ws1-2/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-10Fix warnings in the HPMHookGeneratorHaru3-4/+6
Signed-off-by: Haru <haru@dotalux.com>
2020-02-10Constants Documentation SyncHercules.ws1-0/+7
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-10ItemDB SQL SyncHercules.ws2-201/+201
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-10Merge pull request #2616 from Kenpachi2k13/issue#819Haru18-414/+589
Modified itemskill() script command to be usable like AEGIS' SkillToMe command.
2020-02-09HPM Hooks UpdateHaru5-0/+69
Signed-off-by: Haru <haru@dotalux.com>
2020-02-09Converted packet ZC_AUTORUN_SKILL to structure.Kenpachi Developer2-13/+26
2020-02-09Added skill_is_item_skill() function.Kenpachi Developer4-10/+24
2020-02-09Added pc_itemskill_clear() function.Kenpachi Developer6-22/+37
2020-02-09Moved the WZ_EARTHSPIKE check for TK_SPTIME skill from ↵Kenpachi Developer3-10/+17
skill_check_condition_castbegin() to pc_useitem().
2020-02-09Implemented the consumption of 10 SP when using Earth Spike Scroll while ↵Kenpachi Developer1-2/+5
SC_EARTHSCROLL is active.
2020-02-09Changed type of all items, which use itemskill() script command, to IT_USABLE.Kenpachi Developer2-163/+163
2020-02-09Updated item scripts.Kenpachi Developer2-173/+122
Updated script of all items, which use SkillToMe in AEGIS, to now use itemskill() script command with flag parameter set to 6 (ISF_INSTANTCAST | ISF_CASTONSELF). Updated script of all items, which used unitskilluseid() script command, to now use itemskill() script command.
2020-02-09Applied code style to BUILDIN(itemskill).Kenpachi Developer1-23/+29
2020-02-09Updated documentation of itemskill() script command in doc/script_commands.txt.Kenpachi Developer1-4/+21
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 Developer5-4/+15
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 Developer4-2/+18
skill without cast time.
2020-02-09Fixed skill conditions check and <flag> parameter in itemskill() script command.Kenpachi Developer5-49/+98
* 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 #2627 from Kenpachi2k13/issue#2073Haru1-26/+41
Change NPC ID validation in npc_scriptcont()
2020-02-09Merge pull request #2626 from skyleo/homunculus_ghost_fixHaru1-1/+1
Fix Homunculi being partially vaporized.
2020-02-09Merge pull request #2624 from Kenpachi2k13/issue#1311Haru1-2/+5
Merge pre-RE/RE case SP_VARCASTRATE in pc_readparam() function
2020-02-09Merge pull request #2623 from skyleo/rifle_atk_fixHaru1-0/+1
Fix W_RIFLE damage calculation being too low than intended
2020-02-09Constants Documentation SyncHercules.ws1-0/+7
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-09Merge pull request #2620 from dastgirp/tools/mob_dbHaru1-7/+25
Updated mobdbconverter tools
2020-02-09Merge pull request #2622 from Kenpachi2k13/mob_viewdata_fixHaru4-4/+9
Make mob DB field ViewData->HairStyleId defaulting to 1 instead of 0.
2020-02-09Merge pull request #2586 from Asheraf/madostatueffectHaru14-19/+82
Implement support for switching madogear type
2020-02-09Merge pull request #2619 from dastgirp/getunits/fixHaru2-1/+11
Crash fixes
2020-02-09Merge pull request #2617 from Kenpachi2k13/issue#2607Haru1-0/+1
Added an initial dmg_taken_rate value to clone spawns.
2020-02-09Constants Documentation SyncHercules.ws1-0/+13
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-09MobDB SQL SyncHercules.ws1-0/+3
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-09ItemDB SQL SyncHercules.ws1-7/+17
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-09Merge pull request #2621 from dastgirp/script/rebellionHaru5-1/+1295
Added Rebellion Job Quest
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-09HPM Hooks UpdateHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-09Merge pull request #2590 from Kenpachi2k13/issue#2530Haru20-685/+1136
Change unload NPC behavior to kill mobs that were spawned by unloaded NPC (non-permanent monster spawns) [Issue #2530]
2020-02-09HPM Hooks UpdateHercules.ws5-0/+34
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-09Merge pull request #2615 from Asheraf/cloaknpcHaru7-36/+499
Add exploration achievements Signed-off-by: Haru <haru@dotalux.com>
2020-02-09Add exploration achievements npcsAsheraf2-0/+343
2020-02-09Add script command achievement_iscompleted to check for achievement statusAsheraf2-0/+26
2020-02-09Add new script commands cloakonnpc/cloakoffnpcAsheraf2-0/+64
2020-02-09Add a function to send PACKET_ZC_STATE_CHANGE to a single targetAsheraf2-0/+29