summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-08Change returning error-code in unit->delay_walktoxy_timer to obey code-style ↵skyleo1-2/+2
guidelines
2020-03-08Move bitwise-operations into named variables in unit->delay_walktoxy_timerskyleo1-1/+3
2020-03-08Apply code-style to nullpointer-checks in unit->delay_walktoxy_timerskyleo1-2/+1
2020-03-08Remove refactor-continue commentskyleo1-1/+0
2020-03-08HPM Hooks UpdateHaru1-4/+2
2020-03-08Update HPM Hooksskyleo4-86/+88
2020-03-08Refactor code using directions to use enum unit_dirskyleo11-205/+207
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-08Add enum unit_dir and make direction functions use itskyleo5-57/+135
Without a doubt the readability of code will be increased by this greatly
2020-03-08Refactor unit_walktoxy_timerskyleo2-156/+159
2020-03-08Update Coding Style in unit->step_timerskyleo1-9/+9
2020-03-08Update error-code and some Coding Style in unit->step_timerskyleo1-33/+23
2020-03-08Change returning error-code in unit->walktoxy_subskyleo1-3/+3
2020-03-08Update Coding Style in unit->walktoxy_subskyleo1-10/+11
2020-03-08Rename reused var appropriately in unit->walktoxy_subskyleo1-11/+12
2020-03-08Move declarations to initializations in unit->walktoxy_subskyleo1-8/+6
2020-03-08Add documentation for unit->walktoxy_subskyleo1-0/+5
2020-03-08Refactor unit->bl2udskyleo1-9/+20
2020-03-08Merge pull request #2612 from skyleo/basilica_target_checkHaru1-4/+5
Fix Basilica unintentionally restraining boss mobs
2020-03-08Merge pull request #2650 from Emistry/constant_itemboundtypeHaru1-0/+7
Added Item Bound Type constants
2020-03-08Merge pull request #2645 from 4144/updatepacketsHaru17-47/+396
Update packets up to 2020-03-04
2020-03-08Added Item Bound Type constantsEmistry Haoyan1-0/+7
- improve readability.
2020-03-05Change default packet version to 2019-05-30Andrei Karas1-1/+1
2020-03-05Update keys and shuffle packetsAndrei Karas5-20/+35
2020-03-05Update messages tableAndrei Karas3-9/+287
2020-03-05Update packets tableAndrei Karas6-12/+57
2020-02-23Missing get_index call in Skill2SCTable.Dastgir1-15/+15
Fixes #2636
2020-02-23Add workaround for fix Visual Studio bug (error C2233)Andrei Karas2-5/+16
2020-02-10HPM Hooks UpdateHercules.ws1-2/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2020-02-10Fix warnings in the HPMHookGeneratorHaru1-2/+4
Signed-off-by: Haru <haru@dotalux.com>
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-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 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-09Merge pull request #2622 from Kenpachi2k13/mob_viewdata_fixHaru1-0/+4
Make mob DB field ViewData->HairStyleId defaulting to 1 instead of 0.
2020-02-09Merge pull request #2586 from Asheraf/madostatueffectHaru10-17/+61
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-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.