summaryrefslogtreecommitdiff
path: root/src/map/skill.h
AgeCommit message (Collapse)AuthorFilesLines
2020-06-01Merge pull request #2718 from Kenpachi2k13/prere_use_items_skills_in_npcHaru1-0/+7
Add/extend battle flags to enable item/skill usage while interacting with NPC
2020-06-01Implement Requirements->MaxSPTrigger codeKenpachi Developer1-0/+4
2020-06-01Implement Requirements->Equip codeKenpachi Developer1-0/+11
2020-06-01Implement Requirements->Items->Any codeKenpachi Developer1-0/+4
2020-06-01Make Requirements->Items->Amount can be grouped by levelsKenpachi Developer1-2/+15
2020-06-01Make Unit->Target can be grouped by levelsKenpachi Developer1-3/+4
2020-06-01Make Unit->Interval can be grouped by levelsKenpachi Developer1-2/+2
2020-06-01Make Unit->Id can be grouped by levelsKenpachi Developer1-2/+2
2020-06-01Make Requirements->State can be grouped by levelsKenpachi Developer1-2/+7
2020-06-01Make CastDefRate can be grouped by levelsKenpachi Developer1-2/+2
2020-06-01Make InterruptCast can be grouped by levelsKenpachi Developer1-2/+3
2020-06-01Make AttackType can be grouped by levelsKenpachi Developer1-4/+6
2020-06-01Make Hit can be grouped by levelsKenpachi Developer1-2/+8
2020-06-01Remove unused variable nocast from struct s_skill_dbKenpachi Developer1-1/+0
2020-06-01Change maximum skill level to 20Kenpachi Developer1-1/+1
2020-06-01Change maximum length of skill descriptions to 50Kenpachi Developer1-1/+5
2020-06-01Add defaults, bounds and validations when reading skill DBKenpachi Developer1-7/+40
2020-05-23Remove superfluous parameters file, line and func from skill_delunitgroup()Kenpachi Developer1-1/+1
2020-05-13Add skill_enabled_npc battle flag and implement usageKenpachi Developer1-0/+7
2020-05-04Refactor the Bard/Dancer Soul Link temporary skill granting codeHaru1-0/+1
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-03-14Remove skill_is_item_skill() function and use ↵Kenpachi Developer1-1/+0
map_session_data->autocast.type instead
2020-03-14Add skill_validate_autocast_data() functionKenpachi Developer1-0/+1
2020-03-11Add enumeration for auto-cast typesKenpachi Developer1-0/+9
2020-03-08Undo removal of attack->dir_unknownLeo Pflug1-0/+1
2020-03-08Refactor code using directions to use enum unit_dirskyleo1-5/+5
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-02-09Added skill_is_item_skill() function.Kenpachi Developer1-0/+1
2020-02-09Merge pull request #2596 from dastgirp/skill_idx_refactorHaru1-0/+6
Changed logic of skill_get_index
2020-02-02Changed logic of skill_get_indexDastgir1-0/+6
skill_get_index can be edited easily to add custom skills
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-10-29Dehardcode combo skills checkAsheraf1-0/+1
2019-05-06Merge pull request #2232 from guilherme-gm/201810-trap-visibilityHaru1-0/+2
Added option to make hunter traps invisible
2018-10-20Added option to make hunter traps invisibleGuilherme G. Menaldo1-0/+2
2018-08-30Fixed Blastime and Claymore Trap damage that wasn't being split by the ↵Guilherme G. Menaldo1-0/+1
number of enemies
2018-07-24Added missing parameter to init_unit_layout_unknownDastgir1-1/+1
2018-07-19Replace item id shorts to int in map server.Andrei Karas1-1/+1
2018-06-12Changed returntype of skill_check_condition_castend_unknown.Dastgir1-1/+1
skill_check_condition_castend is terminated if returntype is true
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-04-08Allow guild skills cooldown to continue when logged outGuilherme G. Menaldo1-3/+1
2018-02-10Clean up trailing whitespace and non-indent tabsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-0/+1
All official features work including the autokick for inactive members And the system is completely customizable.
2017-12-23Replace the use of skill_reproduce_db with AllowReproduce flagAsheraf1-2/+1
2017-11-24Allow using the skill DB accessors on non-skill attacks (skill_id = 0)Haru1-1/+5
This suppresses an assertion in the skill DB accessors when called with `skill_id = 0` (such as during normal attacks). In such case, they'll now return an appropriate zero value, as it happened before 2b4bfa5d0. Fixes #1909 Signed-off-by: Haru <haru@dotalux.com>
2017-11-18Merge pull request #1903 from Asheraf/skill_scaleHaru1-0/+1
Implement skill scale packet for client versions >= 20151223.
2017-11-16Implement skill scale packet for client versions >= 20151223.Asheraf1-0/+1
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-2/+1
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum skill ID. Signed-off-by: Haru <haru@dotalux.com>
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 1)Haru1-48/+50
Rewrite skill DB accessors to clarify the difference between IDs and indexes, and to report a backtrace to the console when an invalid ID is passed. The type of the skill_id and skill_lv arguments has been changed to int. Signed-off-by: Haru <haru@dotalux.com>
2016-12-03Clarify some Job Class vs MapID confusion (1/2)Haru1-1/+1
This commit ensures that `sd->status.class` and related variables only contain Job Classes (i.e. the client-compatible values, where High Novice 4001) and are never checked against the bitmask-based MapID values. As a rule of thumb, from now on, when a variable is named `class`, it is intended to contain a Job Class ID and not a MapID. The type of such variable shall be a signed `int16` or `int`. To ensure that related third party code is also verified when this commit is merged, the variable `struct mmo_charstatus::class_ (i.e. `sd->status.class_`) is renamed to `class`. Some issues in related lines are also fixed, including: - A wrong check in the char server would prevent the correct detection of babies in code related to the family exp sharing. - Baby Arch Bishops would not be affected by Eucharistica. - A wrong check would cause the `questinfo()` script command not to display its information for most classes (except 1-1 classes). - Map IDs and Job Classes were mixed up in `itemdb_jobid2mapid()` and `itemdb_jobmask2mapid()` for 1-1 classes (causing currently no harm, since they just happen to coincide). - The Baby Sura class would not cause parties to be marked as containing a monk type character (for SLS Team Up purposes). - Baby Geneticists would bypass the cart check when trying to equip ammunitions. - Baby Mechanics would bypass the Mado Gear check when trying to equip ammunitions. - Transcendent Shadow Chasers would lose the Stalkers' ability to clone transcendent skills. Signed-off-by: Haru <haru@dotalux.com>
2016-10-28Fixed copyright year for 2016Lemongrass31101-1/+1
2016-10-22Implemented SU_SV_ROOTTWIST Skill.Dastgir Pojee1-0/+3
Duration: (5+(2*SkillLv)) seconds. Cannot be used on Boss Monsters. Effect is cancelled when Heaven's Drive or Trample is used. Enemies trapped on roots receive poison property damage.
2016-10-22Added Summoner Skills(in DB)Dastgir Pojee1-0/+45
Added Summoner SC ID's in status.h