summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-27Merge pull request #2790 from Kenpachi2k13/def_ele_toleranceHaru1-0/+46
Add bonuses to reduce received damage based on attacker's defense element
2020-07-26Merge pull request #2647 from dastgirp/message/fixHaru1-2/+2
Fixed Experience Gain message
2020-07-26Fixed Experience Gain MessageDastgir1-2/+2
2020-07-02Add bMagicSubDefEle item bonusKenpachi Developer1-0/+23
2020-07-02Add bSubDefEle item bonusKenpachi Developer1-0/+23
2020-06-28Merge pull request #2757 from Kenpachi2k13/server_messagesHaru1-1/+0
Adjust server messages on login and map change
2020-06-28Merge pull request #2775 from Kenpachi2k13/megaphoneHaru1-3/+16
Fix Megaphone behaviour
2020-06-28Disable using Megaphone while interacting with NPCs regardless of ↵Kenpachi Developer1-1/+2
item_enabled_npc battle flag
2020-06-25Disable using Megaphone while Megaphone input box is presentKenpachi Developer1-1/+1
2020-06-25Disable using Megaphone while Rodex send mail window is presentKenpachi Developer1-0/+9
This also fixes the issue where the client freezes when talking to a NPC while Rodex send mail window is present.
2020-06-25Enable sending Megaphone message if character is deadKenpachi Developer1-2/+2
2020-06-25Enable item consumption while Megaphone input box is presentKenpachi Developer1-1/+1
2020-06-25Add state using_megaphone to struct map_session_data and implement its ↵Kenpachi Developer1-0/+3
(un)setting
2020-06-22Send pet's intimacy data only in pet_set_intimate()Kenpachi Developer1-3/+1
2020-06-22Remove pet if intimacy drops to 0Kenpachi Developer1-1/+1
2020-06-22Show rate modifier messages after configuration messagesKenpachi Developer1-1/+0
2020-06-01Merge pull request #2745 from Kenpachi2k13/unequip_on_loginHaru1-5/+0
Prevent unequipping items on login before calculating the character's status data
2020-06-01Merge pull request #2746 from Jedzkie/jedzkie-pr02Haru1-1/+1
Fix an issue regarding using items when the storage is open.
2020-06-01Move equipment check from pc_setpos() to clif_parse_LoadEndAck()Kenpachi Developer1-5/+0
2020-06-01Merge pull request #2718 from Kenpachi2k13/prere_use_items_skills_in_npcHaru1-1/+2
Add/extend battle flags to enable item/skill usage while interacting with NPC
2020-05-28Fix an issue regarding using items when the storage is open.Jedzkie1-1/+1
2020-05-13Extend item_enabled_npc battle flag with option for usable itemsKenpachi Developer1-1/+2
2020-05-10Change pc_autocast_clear() function to voidKenpachi Developer1-7/+5
2020-05-10Add pc_autocast_clear_current() callsKenpachi Developer1-15/+2
2020-05-10Add pc_autocast_clear_current() functionKenpachi Developer1-0/+20
2020-05-10Add pc_autocast_remove() functionKenpachi Developer1-0/+23
2020-05-10Use auto_cast_current instead of autocastKenpachi Developer1-7/+7
2020-05-10Add pc_autocast_set_current() functionKenpachi Developer1-0/+28
2020-05-10Introduce auto-cast vectorKenpachi Developer1-0/+3
2020-05-04Merge pull request #2710 from MishimaHaruna/fix-skill-idxIbrahem Zidan1-40/+40
Fix skill idx
2020-05-04Sanitize the use of the enum e_skill_flag values, especially ↵Haru1-17/+16
SKILL_FLAG_REPLACED_LV_0 This ensures that a negative level is never saved to the database and hopefully helps catching any coding errors that would lead to that. Signed-off-by: Haru <haru@dotalux.com>
2020-05-04Refactor the Bard/Dancer Soul Link temporary skill granting codeHaru1-24/+25
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-2/+2
2020-05-03Merge pull request #2690 from Kenpachi2k13/operator_use_fixHaru1-2/+2
Fix usage of *= operator
2020-04-11Fix usage of *= operatorKenpachi Developer1-2/+2
2020-04-08Use pc_(un)hide() in pc_setoption()Kenpachi Developer1-1/+7
2020-04-08Add pc_unhide() functionKenpachi Developer1-0/+37
2020-04-08Add pc_hide() functionKenpachi Developer1-0/+31
2020-04-05Apply code style to pc_dead() functionKenpachi Developer1-183/+224
2020-04-05Apply code style to pc_setpos() functionKenpachi Developer1-120/+165
2020-04-05Add value capping to pet_set_intimate() functionKenpachi Developer1-2/+0
2020-04-05Add enum for pet intimacy levels and use its constantsKenpachi Developer1-3/+3
2020-04-05Merge pull request #2657 from Kenpachi2k13/autocast_clean_upHaru1-16/+13
Clean up auto-cast related code
2020-04-05Merge pull request #2658 from Kenpachi2k13/new_status_changesHaru1-0/+4
Add new status changes and update related items
2020-03-14Remove IT_DELAYCONSUME related auto-cast codeKenpachi Developer1-5/+0
First of all: In official servers, skill casting item are consumed immediately and thus IT_DELAYCONSUME should not be used for those items And additionally these code blocks are obsolete, because of the way how skill casting items work. * If the item won't check the skill's requirements, the code block to delete the item of type IT_DELAYCONSUME isn't even executed. * If the item does check the skill's requirements, the check is done prior to the skill casting which would be the same as using IT_USABLE.
2020-03-14Remove map_session_data->state.itemskill_* and use ↵Kenpachi Developer1-4/+0
map_session_data->autocast.itemskill_* instead
2020-03-14Remove itemskill_id and itemskill_lv helper variables, since they are not ↵Kenpachi Developer1-2/+0
used anymore
2020-03-14Remove map_session_data->state.abra_flag and use ↵Kenpachi Developer1-3/+4
map_session_data->autocast.type instead
2020-03-14Add pc_autocast_clear() function callsKenpachi Developer1-3/+3
2020-03-14Rename function pc_itemskill_clear() to pc_autocast_clear()Kenpachi Developer1-3/+3