summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
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
2012-12-11Happy Holidays and Happy 12/12/12 :)rud0lp201-0/+4
Update Elemental summon to its official behavior - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511) - Note: upgrade_svn17014.sql - And other elemental skills are to follow :) Fixed bugreport:6889 updated const.txt where it cause error to some items. Fixed bugreport:6999 where matk damage deals miss atk to plant type targets. Fixed status calculation where it doesn't give accurate result or how official calculation does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Added safer multiplication in battle formulas to prevent int32 from ↵markzd1-1/+1
overflowing when High damage is dealt. (bugreport:6952) - Fixed a typo which was preventing rental items from properly disappearing when deleted. (bugreport:6971) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16986 (pid:161281).glighta1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).glighta1-8/+4
-Fix previous recommit since r16995 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16974/trunk/src/ (pid:161281).momacabu1-0/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16969/trunk/src/ (tid:74924).glighta1-22/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).brianluau1-8145/+8045
[16969:16991/trunk/src/] will be re-committed in the next 24 hours. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30- Minor tweak in @jobchange, it will now read msg_athena.conf job names;momacabu1-2/+2
- Fixed warning in cleanmap command (follow up to r16971). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29* Fixed bugreport:6942 where bSkillCooldown was not applying to skills.markzd1-11/+11
* Fixed some grammar typos in pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29Fixed bugreport:5689 recoded/reimplement RE Matk formula(including RE Heal)rud0lp201-8/+4
Fixed bugreport:5745 WL_RECOGNIZED us now functional. Fixed bugreport:5663 where HW_MAGICPOWER shows glitch in status window. Fixed bugreport:6759 where items granting matk bonus didn't work. Follow up r16980 small performance enhancement...:) Done some TODO in skill_cast_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-28- Fixed bugreport:6304, where mail titles could be bypassed thus having no ↵momacabu1-0/+20
length. - Applied old patch by Daegaladh on bugreport:6044 for mercenaries and elementals mimic master's speed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-26-Fix bugreport:6930 heal -Hp,0; percentheal -100,0; causing crashmapglighta1-22/+8
-Upd bugreport:6751 with MarkZD followup patch git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25Applied AStyle code formating as discussed on tid:74602.greenboxal21-8045/+8143
Removed /SAFESEH option from MSVC11 projects. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24-Fix bugreport:6751 allow noseige to be casted while under status.glighta1-8/+28
-Upd athena-start, save pid to not kill all other process with same name (annoying when multiple server) -Harmonize setmapflag and @mapflag, flag value is always an int, and could be superior to 1 for some mapflag -Fix bugreport:6923 for Windows -Upd @zeny to remove rest of zeny if not enough money as requested git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23Follow up to r16946, where not all npc interactions (input, menu) where ↵momacabu1-0/+13
properly terminated. *Buddha of mine I also horrendously misplaced the code.* git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22Added params for bCritical, and bASPD for usage in NPC scripts per Euphy's ↵cookiecrumbs1-0/+2
request. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22-Apply EvilPuncker path from tid:71756glighta1-5/+9
-Fix and upd logzeny enumeration type bugreport:6897 -Upd @zeny to send a message when succed bugreport:6886 -Upd ChaosPanic to affect all bugreport:6893 -Upd bloodylust cooldown and disable endure effect bugreport:6547 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20- Fixed bugreport:6915, where @follow would still be enabled when the ↵momacabu1-6/+5
target/source died; - Fixed a exploit on the creation char process, the hair color and style could be bypassed (bugreport:6916). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-15Follow up r16926, fixed a horrid typo (wrong order; didn't notice the ↵shennetsind1-2/+2
warning in the console T_T shame on me); special thanks to mkbu95 for pointing it out! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-15Fixed bugreport:6772 cart display will now update/save properly if you ↵shennetsind1-2/+4
change to a cart of lower level; fixed 2 compiling warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-14Following r16914glighta1-5/+16
-fix @zeny for negative amout bugreport:6886, bugreport:6895 bugreport:6888 -fix @cash,@points command display result -enforce bound chk for both git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Upd mob_count to read a 10 modib list to chk if present or notglighta1-12/+11
-Add UNLIMITED_HUMMING implementation, now increase sp requirement and make cast unbreakable -Upd Group dance overlaping A and B, previous chk wasn't ending other properly (if fail was skipping other) -Upd OdinPower effect -Fix Cursed-Circle, shoudn't be able to cast near Emp,Stones bugreport:6457 -Fix Cursed-Circle wasn't remove when caster was being warped -Small docs upd git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Add Homon-S skills, 1st implementation (all done except Eleanors)glighta1-10/+16
--Upd Skill conf to set land-limit for homonculus by default (ground skill limit) --Mv MH_HEILIGE_STANGE and MH_ANGRIFFS_MODUS skill from Eleanor to Bayeri -Enforce all zeny transaction to use pc_payzeny and pc_getzeny handlers, (auto log and clif) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Fixed bugreport:6452 where you weren't able to remove your cart if you ↵momacabu1-1/+1
weren't merchant/alchemist/blacksmith/etc. It also fixes the previously not working removal of cart when jobchanging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Fixed bugreport:6820 where Open Buying Store didn't show up in skill window ↵momacabu1-5/+0
after relogging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10Performance Improvement; Server shut down, instance clear up, and @cleanmap ↵shennetsind1-1/+1
are now all faster. Instead of wasting time doing a dbmap lookup (of a data it already possessed!) on each floor item being deleted, it'll use the data to clean the item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09- Fixed extra curly brace in r16879... T_Tbrianluau1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09- Vending shops are now closed when warping to novending maps/cells. ↵brianluau1-0/+11
(bugreport:6871) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08- Follow up to r16434, moved the status_change_end() into the existing block ↵brianluau1-6/+2
above. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16877 54d463be-8e91-2dee-dedb-b68131a5f0ec