summaryrefslogtreecommitdiff
path: root/src/map/pc.h
AgeCommit message (Collapse)AuthorFilesLines
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2020-01-12Merge pull request #2606 from Ridley8819/pcblocknpcHaru1-0/+1
Adding PCBLOCK_NPC to setpcblock script command
2020-01-09Adding PCBLOCK_NPC to setpcblock script commandRidley1-0/+1
2020-01-01Add support for auto exp insurance itemsAsheraf1-0/+1
2020-01-01Fix pc_have_item_chain should get the chain id from cacheAsheraf1-1/+1
2019-09-23Implementation of LapineDdukDdak SystemAsheraf1-2/+3
2019-09-22Merge pull request #2525 from MishimaHaruna/tombstone-fixesHaru1-0/+1
Tombstone fixes
2019-08-26Update Siegfried Tokens support.Emistry Haoyan1-0/+1
- allow player to revive if inventory consists of any type of siegfried tokens listed in the `ITMCHAIN_SIEGFRIED`.
2019-08-26Prevent players from getting stuck when an MVP respawns while talking to its ↵Haru1-0/+1
tombstone Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Merge pull request #2522 from MishimaHaruna/remove-inter-roundtripsHaru1-0/+2
Remove some round-trips to the inter-server
2019-08-26Merge pull request #2514 from Emistry/pc_addautobonusHaru1-1/+1
Fix equipment auto bonus trigger
2019-08-26Remove round-trip to the inter-server for the whisper-to-gm messagesHaru1-0/+2
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-08-02Add some missing checks into clif.cAndrei Karas1-0/+1
2019-06-01Merge pull request #2375 from AnnieRuru/58-negative_inputHaru1-0/+3
Allow *input script command to support negative input
2019-05-05Implement Refinery UIIbrahim Zidan1-2/+3
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-04-11Add 3 pc variables just for the input limit ...AnnieRuru1-0/+3
sd->npc_amount_min and sd->npc_amount_max to limit input range and sd->npc_input_capped_range because the documentation ask for it
2019-02-11Change type for class variables from short to intAndrei Karas1-2/+2
2019-02-11Replace short to int in most structs in pc.hAndrei Karas1-52/+52
2018-12-16Merge pull request #2327 from HerculesWS/change_shortgroup_tobool_in_s_add_dropHaru1-2/+2
Change short group to bool is_group in s_add_drop
2018-12-14Add script command expandInventoryAndrei Karas1-0/+1
This command allow adjust inventory size to positive or negative value.
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-1/+0
2018-12-14Add packt ZC_INVENTORY_EXPANSION_INFOAndrei Karas1-0/+1
2018-12-12Remove typedef from clr_type.Andrei Karas1-3/+3
2018-11-20Change short group to bool is_group in s_add_dropskyleo1-2/+2
current checks for empty entries assumed that if id and group is 0 that it is empty, while in fact ITMCHAIN_ORE has group 0 as value, for easier checks and more aesthetic code short group has been replaced, id's are now always written into short id and bool is_group decides if it's an item or a group.
2018-11-13Replace sd->channels with a VECTORHaru1-2/+1
This removes some shady array compaction code and prepares the ground for some further fixes. Signed-off-by: Haru <haru@dotalux.com>
2018-10-02Fix getting achievement reward packets order.Andrei Karas1-1/+1
Also split achievement reward function to parts.
2018-07-28Merge pull request #2067 from dastgirp/1-achievementHaru1-1/+7
Implemented Achievement System and Title System
2018-07-25Merge pull request #2138 from Asheraf/stylistupdateHaru1-0/+1
Add support for bodystyle in stylist shop ui
2018-07-24Implemented Title System.Dastgir1-0/+2
2018-07-24Implementation of the official Achievement System.smokexyz1-1/+5
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1 Script Commands - ``` achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>}); ``` Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out. This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules. Does not include the title system yet. A big thanks to - @MishimaHaruna for constantly reviewing. @4144 for all the support. @Asheraf for a lot of official information. Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-07-19Replace item id shorts to int in map server.Andrei Karas1-9/+11
2018-07-19Add support for bodystyle in stylist shop uiAsheraf1-0/+1
2018-06-03Conversion of exp.txt to libconfigSmokexyz1-2/+26
2018-06-02Merge pull request #842 from AnnieRuru/request_6Haru1-2/+10
Add new *pcblock script command
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-05-04Add setpcblock & checkpcblock script commandsAnnieRuru1-2/+10
thanks to @MishimaHaruna for the updated syntax
2018-04-23Move job related checks from pc_read_skill_tree into separate function.Andrei Karas1-0/+1
2018-04-23Move death penalty job check from pc_dead into separate function.Andrei Karas1-0/+1
2018-04-23Move job related code from pc_resetskill into separate function.Andrei Karas1-0/+1
2018-04-23Move from pc_checkbaselevelup sc start related code into separate function.Andrei Karas1-0/+1
2018-04-23Split pc_calc_skilltree into 3 functions.Andrei Karas1-0/+2
2018-04-23Split pc_delspiritball into two functions.Andrei Karas1-0/+1
Move job mask related code into pc_delspiritball_sub.
2018-04-23Split pc_addspiritball into two functions.Andrei Karas1-0/+1
Move job mask related code into pc_addspiritball_sub.
2018-02-09Implemented hatEffect.Dastgir1-0/+3
Allows the player to have hatEffect specialeffects. Base taken from rAthena
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-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-1/+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-10-21Add packets for 64 bit exp.Andrei Karas1-7/+7
Also update some functions for support 64 bit exp calculation.
2017-09-21Convert some functions from int32 types to int64.Andrei Karas1-2/+2
This mainly need for base and job exp, because now they using int64 type.
2017-09-17Differentiate variables that hold a ViewSprite and a Subtype (part 2)Haru1-0/+1
`sd->status.shield` is renamed to `sd->status.look.shield` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->has_shield`, of boolean type (to detect the presence of a shield) Signed-off-by: Haru <haru@dotalux.com>