summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-22Fixed Bug#7180shennetsind1-4/+0
some weird msvc-9 problem. http://hercules.ws/board/tracker/issue-7180-unresolved-external-symbol-pc-get-group-id/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-22Fixed logical error/compiler warningshennetsind1-1/+1
Special Thanks to bgamez23 Signed-off-by: shennetsind <ind@henn.et>
2013-04-22Hercules April 22 MEGA-ULTRA-LONG Patch~!shennetsind1-47/+35
http://hercules.ws/board/topic/470-hercules-april-22-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-16Fixed Bug #1721shennetsind1-1/+2
SECURE_NPCTIMEOUT now possesses 3 settings (to mimic official ones) NPC_SECURE_TIMEOUT_INPUT NPC_SECURE_TIMEOUT_MENU NPC_SECURE_TIMEOUT_NEXT http://hercules.ws/board/tracker/issue-1721-npc-window-timeout/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-15Fixed Bug #7102shennetsind1-8/+21
@hide is now persistent to logout http://hercules.ws/board/tracker/issue-7102-perfect-hide/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-15Fixed Bug #7154shennetsind1-39/+49
http://hercules.ws/board/tracker/issue-7154-equipment-based-skills-skill-891-for-example-persisting-through-resetsremoving-gears/ Merge of 3a9bacc515674885f079391899b22a5ccd8c2e31 Special Thanks to akinari1087 http://hercules.ws/board/topic/410-skill-script-command-updatefix/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-15Fixed Bug #7152 and #7161malufett1-2/+2
-SI_RIDING is not remove when changing job via @jobchange. -RG_STRIPWEAPON should now only remove right hand weapon even if dual wielding. -Fixed 'display_status_timers' conf where it doesn't work properly in newer clients. -Reverted '14a406ee0e5c6ba25539cc98f27ff9c2b8047e2e' where it's already fixed @ 'b9c79ceb5bfc86809da1d3b6154da4222cb72734'. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-04-11Fixed Bug #7159shennetsind1-2/+2
http://hercules.ws/board/tracker/issue-7159-unused-variable-warning/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-11Hercules Channel System Updateshennetsind1-1/+2
http://hercules.ws/board/topic/316-introducing-hercules-channel-system/?p=2716 Signed-off-by: shennetsind <ind@henn.et>
2013-04-07PacketDB Overhaulshennetsind1-2/+2
Feature Design by GreenBox Special Thanks to mkbu95 for bringing this topic up! (packet db) http://hercules.ws/board/topic/353-packetdb-overhaul/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-02Introducing New/Official mapflag: invincible_time_incshennetsind1-2/+3
Used officially in gvg maps (Implemented under GvG zone) Special Thanks to Muad_Dib! Signed-off-by: shennetsind <ind@henn.et>
2013-03-30Hercules Renewal: clif.c completeshennetsind1-19/+20
Added the last missing functions into the interface, all functions in clif.c are now wired to the interface. http://hercules.ws/board/topic/237-hercules-renewal/ Also shortened clif->displaymessage to clif->message, removed the old clif->message and merged its functionality with clif->disp_overhead (both use the same packet and do the same thing :P) - and a gazillion other stuff: http://hercules.ws/board/topic/316-introducing-hercules-channel-system/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-29Hercules Renewal: clif.cshennetsind1-266/+265
1st Phase Complete. http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-29Re-introducing clone-nocopy skillshennetsind1-45/+43
This was once available through the now-gone skill_nocast_db.txt. To make a skill not copy-able by clones (aka the skill is not inherited by a clone when it is created), use flag 0x8000 in the inf2 skill db field Signed-off-by: shennetsind <ind@henn.et>
2013-03-27Introducing Costume Garment Slot 8192shennetsind1-6/+17
Special Thanks to jTynne for bringing the slot's support absence to my attention. Also updated getlook script command to support Robe/Garment (val 12 Look_Robe) Signed-off-by: shennetsind <ind@henn.et>
2013-03-27Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-1/+1
2013-03-27Introducing Hercules' Map Zone Databaseshennetsind1-13/+10
Click the link for full info~! http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-22Fixed Bug #7101malufett1-1/+1
-where Taekwon in the fame ranking loses there skill tree when changing state(map change, equipping & etc). Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-03-21Fixed Bug #7131malufett1-2/+7
-where 'disable_items' is not working properly when force unequip/equip script command is used. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-03-02Hercules Renewal: skill.cshennetsind1-42/+41
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-01Hercules Renewal: battle.cshennetsind1-2/+2
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-27Fixed Bug #6527malufett1-2/+1
-Where all NPC don't allow changing of equipments by default and now can be set in 'items.conf'.
2013-02-24Fixed Bug #7092malufett1-0/+8
-Follow up adda8d74c3280ae1e3745591caafd9ce6e81ded7 where 'close2' is not working properly. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-02-24Revert "Fixed Bug #7091"shennetsind1-8/+0
This reverts commit adda8d74c3280ae1e3745591caafd9ce6e81ded7. Signed-off-by: shennetsind <ind@henn.et>
2013-02-24Fixed Bug #7091malufett1-0/+8
-Updated SN_SIGHT to its RE behavior. -Updated RE behavior that deals with NPC dialogs and using items/skills. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-02-21Fixed Trick Dead not being removed on job changeshennetsind1-2/+13
Special Thanks to jTynne for reporting & elaborating. Signed-off-by: shennetsind <ind@henn.et>
2013-02-18Improvements all over the placeshennetsind1-15/+18
Committing on the behalf of mkbu95 who is unable to do it himself, he coded it all and sent me the diff. Thanks mkbu95! Signed-off-by: shennetsind <ind@henn.et>
2013-02-16Updating the Headers across source filesshennetsind1-1/+1
And adding missing ones. Signed-off-by: shennetsind <ind@henn.et>
2013-02-15Extending readparam functionalityshennetsind1-608/+708
Added many more bonuses including missing key stuff such as def/mdef. Signed-off-by: shennetsind <ind@henn.et>
2013-02-14Introducing Git Hashshennetsind1-2/+9
Added 'Git Hash' way to identify where you last updated your working copy (it won't detect your local changes' hash -- intended). Also Implemented HERC_UNKNOWN_VER, a simple way to detect whether get_svn_revision or get_git_hash failed to detect (before you'd need to strncmp for "unknown" or similars) Signed-off-by: shennetsind <ind@henn.et>
2013-02-14Fixed Bug #5018shennetsind1-7/+10
Skills granted through scripts are now permanent, until this date they were not relog persistent Signed-off-by: shennetsind <ind@henn.et>
2013-02-07Fixing mistake in modified source code headersshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2013-02-05Fix Bug # 7049malufett1-1/+44
Added new item bonuses bFixedCast, bVariableCast & bFixedCastrate. (see 'doc/item_bonus.txt' for info) Added new conf for max walk path.(Bug Report # 7042) http://hercules.ws/board/tracker/issue-7049-do-we-need-new-bonus/?gopid=16578#entry16578
2013-02-04Merged some commits from rAthena.Matheus Macabu1-0/+4
2013-02-03item_noequip overhaul / Fixed Bug #7048shennetsind1-39/+16
Items are no longer unequipped when disabled by item_noequip.txt, instead their effects are nullified -- however cards in them, unless also disabled, wont have its effect nullified. Consumables will be consumed even while disabled, unless you modify the new config item_restricted_consumption_type http://hercules.ws/board/tracker/issue-7048-requestreport-regarding-to-item-noequiptxt/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-03Updating the headers of so-far modified files with outdated headersshennetsind1-2/+3
Signed-off-by: shennetsind <ind@henn.et>
2013-02-03Fixed Bug #7048shennetsind1-42/+32
Items are no longer unequipped when a card within them is blacklisted (e.g. item_unequip.txt), instead the card's effect is nullified. http://hercules.ws/board/tracker/issue-7048-requestreport-regarding/ Signed-off-by: shennetsind <ind@henn.et>
2013-01-31Fixed Bug #6918shennetsind1-0/+2
@follow will not stop immeadily when turned off, instead of waiting for the current walk path to be complete. http://hercules.ws/board/tracker/issue-6918-follow-not-releasing-hold/ Signed-off-by: shennetsind <ind@henn.et>
2013-01-27Fixed Bug #6689shennetsind1-0/+5
Star Gladiator's map data is now cleared upon job chaging outside star gladiator lineage, that way the database will no longer store these vars when they're not used Signed-off-by: shennetsind <ind@henn.et>
2013-01-08* Renaming variable name from nsiuid to unique_id for better understanding ↵markzd1-2/+2
of its meaning, as requested on tid:69380. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-08Another fix with the @follow issue.ediejohnny1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-07* Implemented Unique identifier for Non stackable items. (tid:69380)markzd1-1/+5
* Set as off by default, it can be changed in /src/config/core.h. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-02-Follow up r17065 glighta1-2/+2
--removing useless check on skill_id --fix few broken atcommand due to failed sscanf -Change skill_amotion_leniency as pointed out on tid:76492 so amotion delay wont be twice by default, (also increase intervall if you do want higher acd) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30-Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for ↵glighta1-49/+49
skill_lv -Optimise type from int to int16 in order to reduce ram consumtion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29Fixed bugreport:6074 updated Renewal Def and MDef damage reduction formula. ↵rud0lp201-1/+5
Special thanks to KyleZ. Fixed bugreport:7028 where damage bonus of SR_GATEOFHELL has interchange with normal damage bonus. Fixed bugreport:6946 where CH_PALMSTRIKE causes damage when caster hides after casting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28Removed the (int)var 'statlimit' from the pc.c to avoid some lines of code ↵ediejohnny1-13/+7
at "pc_setparam" function. Zephyr git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27> Follow-up r17048:euphyy1-0/+11
- Renamed 'useskilltopc' to 'npcskill'; - Removed cast time from NPC objects, code by mkbu95 (suspected official behavior); - Documented 'npcskill'; - Replaced all instances in scripts. * Fixed max level bypass, code by malufett (bugreport:5800). * Updated Malangdo spawns to official. * Some standardization of npc/quests/first_class/. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-26- Follow up: r17046markzd1-0/+4
Fixed duplicate case values which would happen if compiled under RENEWAL_CAST off. Thanks for Zephyr which noticed it right after the commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-26Fixed bugreport:7049, where cast time bonus would not work if Renewal is ↵markzd1-1/+6
used with RENEWAL_CAST off. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17046 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20* Follow up r16676markzd1-0/+4
1. Fixed a behavior which allowed devotion to be bypassed when the caster was under Reflect Damage Buff. 2. Fixed the reflected magic damage to always hit the target and not the paladin when it's not reflected by kaite. - Implemented bonus2 bMagicAtkEle which increases/decreases the caster magic damage based on its element.(bugreport:6943) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17030 54d463be-8e91-2dee-dedb-b68131a5f0ec