summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
2020-03-14Add map_session_data->autocast.itemskill_* assignmentsKenpachi Developer1-0/+4
2020-03-14Add map_session_data->autocast.skill_id/_lv assignmentsKenpachi Developer1-0/+2
2020-03-14Add map_session_data->autocast.type assignmentsKenpachi Developer1-0/+1
2020-03-14Add SC_VITALIZE_POTION status changeKenpachi Developer1-0/+4
2020-03-09Merge pull request #2648 from Kenpachi2k13/itemskill_fixHaru1-1/+1
Fix itemskill() script command
2020-03-09Merge pull request #2642 from Kenpachi2k13/zone_disabled_items_fixHaru1-222/+258
Fix (un)equip script execution for map zone restrcited items
2020-03-07Apply code style to pc_isequip() functionKenpachi Developer1-52/+66
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-06Rename itemskill_no_conditions to itemskill_check_conditionsKenpachi Developer1-1/+1
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-18Add new return values to pc_setpos() functionKenpachi Developer1-9/+17
* 3 - No character data. (Parameter sd is a NULL pointer.) * 4 - Character is jailed.
2020-02-09Added pc_itemskill_clear() function.Kenpachi Developer1-0/+21
2020-02-09Moved the WZ_EARTHSPIKE check for TK_SPTIME skill from ↵Kenpachi Developer1-0/+14
skill_check_condition_castbegin() to pc_useitem().
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-06Merge pre-RE/RE case SP_VARCASTRATE in pc_readparam() functionKenpachi Developer1-2/+5
2020-01-29Implement support for switching madogear typeAsheraf1-2/+10
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2020-01-01Add support for auto exp insurance itemsAsheraf1-0/+17
2020-01-01Fix pc_have_item_chain should get the chain id from cacheAsheraf1-6/+6
2019-11-17Merge pull request #2577 from Asheraf/dehardcodestatusiconsHaru1-13/+13
Dehardcode Status Icons
2019-11-06Dehardcode Status IconsAsheraf1-13/+13
2019-10-22Fix Steal accidentally being able to steal cards from certain mobsHaru1-2/+4
Cards are now blocked by item type rather than item drop slot position, since cards no longer have a fixed position in the drop list (regression in ed72a947a6c97804c1eef5b80bfa49d99f7d7586) Signed-off-by: Haru <haru@dotalux.com>
2019-10-20Merge pull request #2547 from guilherme-gm/201910-dehardcode-dbHaru1-6/+3
Dehardcode DB files path
2019-10-05Dehardcodes db files base path so the db folder can be easily movedGuilherme Menaldo1-6/+3
2019-10-02Moved hardcoded messages from source to messages.confDastgir1-5/+5
Fixes #1282
2019-09-22Remove the hardcoded checks in pc_rental_expire and use OnRentalEndScript ↵Ibrahim Zidan1-64/+0
field in item database for those items instead Fixes #140 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-09-22Implement new script fields for items triggered on rentral status changesIbrahim Zidan1-4/+15
- OnRentalStartScript triggered when a rental item is added to inventory - OnRentalEndScript triggered when a rental period end/expire of the item Related #140 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-09-22Merge pull request #2524 from MishimaHaruna/homunculus-fixesHaru1-15/+14
Homunculus related fixes
2019-08-26Update Siegfried Tokens support.Emistry Haoyan1-0/+24
- allow player to revive if inventory consists of any type of siegfried tokens listed in the `ITMCHAIN_SIEGFRIED`.
2019-08-26Merge pull request #2522 from MishimaHaruna/remove-inter-roundtripsHaru1-2/+52
Remove some round-trips to the inter-server
2019-08-26Prevent pets, homunculi etc. from being loaded if the character doesn't have ↵Mathy1-12/+11
a client attached to it (e.g. is autotrading). Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Fix an issue that prevents homunculus auto-vaporize on death or skill resetHaru1-3/+3
The >80% HP condition is now ignored in the cases the vaporization is forced by the server Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Remove round-trip to the inter-server for the broadcast messagesHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Remove round-trip to the inter-server for the whisper-to-gm messagesHaru1-0/+50
Signed-off-by: Haru <haru@dotalux.com>
2019-08-05Fix equipment auto bonusEmistry Haoyan1-1/+1
- fix auto bonus doesn't trigger for costume/shadow gears, due to `pos` always `0`. - fixes #1355
2019-07-28Update Homunculus obtain EXP from masterEmistry Haoyan1-0/+5
- homunculus will obtain a portion or full EXP from master. - fixes #2313
2019-07-24If error happend in pc_statusup then send back to client increase valueAndrei Karas1-12/+11
2019-06-03Add *setfavoriteitemidx & *autofavoriteitem script command.Emistry Haoyan1-0/+7
- set an item as favorite item or not based inventory index. - if an item is set to favorite item, it will be moved into favorite tab, else move out from favorite tab. - only non-equipped item can adjust the favorite item state.
2019-05-05Add missing checks for prevend flagAndrei Karas1-5/+5
2019-04-07Merge pull request #2402 from AnnieRuru/71-bodystyle_crashHaru1-1/+9
Fix @bodystyle crash client
2019-04-07Rename clif_charnameack into clif_blname_ackAndrei Karas1-1/+1
2019-03-11Fix atcommand "@jobchange" when the player changing from 3rd jobAnnieRuru1-0/+7
having alternate body style into non-3rd job, crashing the client
2019-03-11Apply temporary fix so Job_Super_Novice_E no longer crash clientAnnieRuru1-1/+2
2019-02-11Change type for class variables from short to intAndrei Karas1-3/+3
2018-12-16Merge pull request #2298 from guilherme-gm/201810-abracadabraHaru1-0/+4
Fixes delayed-consume items not being consumed after using Abracadabra
2018-12-16Merge pull request #2327 from HerculesWS/change_shortgroup_tobool_in_s_add_dropHaru1-13/+11
Change short group to bool is_group in s_add_drop
2018-12-14Add script command expandInventoryAndrei Karas1-0/+18
This command allow adjust inventory size to positive or negative value.