summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-22Added Renewal formula which forces RG_SNATCHER to have a max of 20% when all ↵KeiKun1-5/+9
both TF_STEAL and RG_SNATCHER itself are on max level.
2020-06-28Storage now closes when using teleport skill.Jedzkie1-10/+15
2020-06-28Merge pull request #2774 from Kenpachi2k13/skill_get_req_indexHaru1-3/+56
Fix required item index selection for various skills
2020-06-28Merge pull request #2712 from Kenpachi2k13/npc_del_skill_unitsHaru1-1/+8
Fix condition for deleting skill units when unloading NPC
2020-06-28Call unit->bl2ud2() instead of unit->bl2ud() in skill_initunitgroup() if src ↵Kenpachi Developer1-1/+8
is of type BL_NPC
2020-06-13Implement usage of skill_get_item_index()Kenpachi Developer1-3/+20
2020-06-13Add skill_get_item_index() functionKenpachi Developer1-0/+36
2020-06-02Make DamageType defaults to NK_NONEKenpachi Developer1-3/+0
2020-06-01Fix a compiler warning in 32 bit buildsHaru1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2020-06-01Merge pull request #2734 from Kenpachi2k13/fix_left_shift_negative_valueHaru1-1/+1
Fix left shift of negative value for GN_CRAZYWEED_ATK
2020-06-01Implement Requirements->MaxSPTrigger codeKenpachi Developer1-0/+84
2020-06-01Fix Requirements->MaxHPTrigger code in skill_check_condition_mercenary()Kenpachi Developer1-3/+9
2020-06-01Remove hard-coded required equipment and update skill DBs accordinglyKenpachi Developer1-16/+0
2020-06-01Implement Requirements->Equip codeKenpachi Developer1-0/+341
2020-06-01Implement Requirements->Items->Any codeKenpachi Developer1-63/+217
2020-06-01Remove hard-coded required item amounts and update skill DBs accordinglyKenpachi Developer1-60/+0
2020-06-01Make Requirements->Items->Amount can be grouped by levelsKenpachi Developer1-53/+213
2020-06-01Add missing types to skill_validate_unit_target_sub()Kenpachi Developer1-0/+4
2020-06-01Make Unit->Target can be grouped by levelsKenpachi Developer1-61/+131
2020-06-01Make Unit->Interval can be grouped by levelsKenpachi Developer1-9/+41
2020-06-01Make Unit->Id can be grouped by levelsKenpachi Developer1-46/+158
2020-06-01Make Requirements->State can be grouped by levelsKenpachi Developer1-55/+113
2020-06-01Make CastDefRate can be grouped by levelsKenpachi Developer1-6/+38
2020-06-01Make InterruptCast can be grouped by levelsKenpachi Developer1-7/+36
2020-06-01Make AttackType can be grouped by levelsKenpachi Developer1-60/+108
2020-06-01Make Hit can be grouped by levelsKenpachi Developer1-15/+55
2020-06-01Apply code style to several functions related to skill DB readingKenpachi Developer1-668/+655
2020-06-01Add defaults, bounds and validations when reading skill DBKenpachi Developer1-311/+1583
2020-05-31Merge pull request #2699 from Kenpachi2k13/multi_itemskillHaru1-61/+82
Enable multiple itemskill() calls per item
2020-05-23Remove superfluous parameters file, line and func from skill_delunitgroup()Kenpachi Developer1-13/+8
2020-05-22Pass 0 for type instead of -1 when calling skill_addtimerskill() for ↵Kenpachi Developer1-1/+1
GN_CRAZYWEED
2020-05-10Adjust conditions to call pc_autocast_remove()Kenpachi Developer1-14/+20
2020-05-10Add pc_autocast_clear() callsKenpachi Developer1-0/+2
2020-05-10Add pc_autocast_remove() callsKenpachi Developer1-11/+20
2020-05-10Use auto_cast_current instead of autocastKenpachi Developer1-51/+51
2020-05-10Add data to auto-cast vectorKenpachi Developer1-0/+4
2020-05-04Merge pull request #2188 from bWolfie/cell_noskillHaru1-0/+3
Adds 'cell_noskill' which blocks skill usage.
2020-05-04Merge pull request #1304 from inhyositsu/masterHaru1-1/+1
Fix some skills bugs
2020-05-04Merge pull request #2710 from MishimaHaruna/fix-skill-idxIbrahem Zidan1-31/+77
Fix skill idx
2020-05-04Add Assert_report to generate a backtrace on any skill_get_index failuresHaru1-0/+3
Signed-off-by: Haru <haru@dotalux.com>
2020-05-04Refactor the Bard/Dancer Soul Link temporary skill granting codeHaru1-0/+32
The code no longer relies on invalid assumptions about the mapping between skill IDs and indices Fixes #2670 Signed-off-by: Haru <haru@dotalux.com>
2020-05-04Use enum spirit_charm_types for charm type fieldAndrei Karas1-1/+1
2020-05-03Improve warnings in skill_get_index, to detect the use of unhandled skill rangesHaru1-0/+6
Signed-off-by: Haru <haru@dotalux.com>
2020-05-03Make the skill_get_index function easier to understand by using a struct for ↵Haru1-31/+36
the ranges Signed-off-by: Haru <haru@dotalux.com>
2020-05-03Merge pull request #2690 from Kenpachi2k13/operator_use_fixHaru1-1/+1
Fix usage of *= operator
2020-05-03Merge branch 'master' into cell_noskillKenpachi2k131-341/+426
2020-04-11Fix usage of *= operatorKenpachi Developer1-1/+1
2020-04-08Prevent SC_NO_SWITCH_EQUIP from falsely being recognized as unknown status ↵Kenpachi Developer1-1/+1
change
2020-04-05Merge pull request #2657 from Kenpachi2k13/autocast_clean_upHaru1-93/+88
Clean up auto-cast related code
2020-04-05Merge pull request #2660 from Kenpachi2k13/skill_check_ammo_typeHaru1-4/+2
Make skills check if equipped ammunition type is appropriate for equipped weapon