summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
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
2012-11-01-Fix bugreport:6547 (bloodylust) upd bloodylust effect to berserkglighta1-173/+171
-Fix bugreport:6208, bugreport:6805 (chaos panic) fix range effect -Partial Fix bugreport:5275 (toxin now won't interupt unbreackable castskill) -Folllow up r16847 fix UNT_ZEPHYR get some unwanted bonus, fix Insignia unit range -Add UF_RANGEDSINGLEUNIT unit propriety thx to 3ceam, workaround to fix ranged unit without timer. -Prevent WM_SOUND_OF_DESTRUCTION, SC_MANHOLE, WM_LULLABY_DEEPSLEEP being cast in non pvp map -Fix SC_MAGICMUSHROOM shouldn't force skill if sit -Replace some hardcoded mobid by enum -add some mob_is definition for quicker search (gvg and treasure) -Remove some duplicate check for status_heal (if berserk already done in status heal) -Upd few documentation git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31- Moved level_penalty.txt into /db/ folder (tid:73289), follow up to ↵brianluau1-1/+1
r16842:16843. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31-Fix bugreport:5757 (insignia) implement remaning effect stated from ↵glighta1-2/+2
irowiki, remove duplicate atk_ele -Fix bugreport:6096 (saturday_night), add rate failure, fix sit icone, add restrict to pvp map -Fix bugreport:6831 (sc_intravision), prevent item starting (and so ending) intravision while wearing maya purple DB: -Upd *INSIGNIA duration to 60s, fix requirement indigo per level (itemid ain't split in src =( ) -Upd WM_SATURDAY_NIGHT_FEVER hp/sp drain interval to 12-2*skilllv -Upd skill_require_db fix add note about some state status wich were present but not mentionned. -Add poisonweapon and rollingcutter code implantation. (was used in require db without effect and removed hardcoded check) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-30Follow up r16842. added some missed added lines of code..rud0lp201-12/+58
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-30Fixed Level/Drop modifier based on level difference and created a db as ↵rud0lp201-1/+38
suggested in pid:137564. (bugreport:6585) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29* Follow-up r16835: Some cleanup.euphyy1-50/+48
* Updated Hunting Missions script to v1.2b, which adds experience multipliers to config (custom\quests\hunting_missions.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29-Add some src basic documentation.glighta1-104/+205
-Change some remaining -1 for status ending timer. -Move some hardcoded msg in msg_athena -Small optimisation on battle_attr_fix git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-28- 'night_at_start' config can now be used, even if ↵brianluau1-13/+9
day_duration/night_duration are 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-13Follow up r16738 MO_ETREMITYFIST renewal behavior.rud0lp201-8/+3
Fixed bugreport:6580 where SC_MANHOLE targets can use items. Fixed bugreport:6636 a typo formula in WL_WHITEIMPRISON. Fixed bugreport:6685 a missing column in skill_cast_db.txt for WL_COMET entry. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-10Fixed bugreport:6650 where WZ_QUAGMIRE affects caster in non PK map.rud0lp201-0/+1
Fixed bugreport:6635 where SO_FIREWALK & SO_ELECTRIC walk still active after changing map. Updated EDP to it's Renewal damage formula bonus. NOTE: result damage still quite huge than official since renewal atk is not yet fully implemented. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-08Fixed bugreport:6651 restart_sp_rate is only applied if user current sp is ↵shennetsind1-1/+2
smaller than restart_sp_rate setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-08Fixed bugreport:6601 guild aura refreshes as soon as you ressurect instead ↵shennetsind1-2/+8
of awaiting its next iteration git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-03Fixed bugreport:6581 applied balance update to MO_EXTREMITYFIST.rud0lp201-0/+10
Fixed bugreport:6457 where SR_CURSEDCIRCLE is not remove when target dies. Fixed bugreport:6535 updated GN_CRAZY_WEED to its official behavior. Fixed bugreport:6592 added a missing break in Spiral Pierce skillratio at battle.c. Fixed a faulty skillratio formula of GN_CART_TORNADO. Thanks to Lighta git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-25- reverted to r16668, erroneous fixsalepate1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-25- fixed pc_statusup2(): status cost update conditionsalepate1-4/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-19Fixed bugreport:6498 sp respawn restart_sp_rate setting is now fully respected.shennetsind1-5/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-18Implemented Renewal Casting System.rud0lp201-2/+18
Fixed bugreport:2018 where CH_PALMSTRIKE deals damage to hidden targets. Fixed bugreport:6473, bugreport:6325 SC_DEADLYINFECT should now spread status ailments properly. Fixed bugreport:5541, bugreport:6179, bugreport:6281 where self buff skill is transfer to targets when doing a combo. Updated AC_VULTURE where in renewal it doesn't show the hit bonus anymore in the status window. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14Follow up r16632, added check on level up so that the equip is automatically ↵shennetsind1-7/+18
unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14Added equipment max-level support as per manager Kenpachi request (required ↵shennetsind1-0/+9
for upcoming renewal items). - in renewal mode item_db's elv field now supports a optional elvmax separated by a colon, example: - 65:70 in the elv field means the item can only be worn by characters whose level is within 65~70 base level range. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-04Fixed bugreport:6407 combos are now properly recalculated when a item is ↵shennetsind1-25/+28
switched. special thanks to emong git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02Fixed bugreport:6324 where re-spawning mob still hits/chases its previous ↵rud0lp201-0/+1
attacker. Partial fixed bugreport:6396 where Chemical Protection skills doesn't check targets current equipments. Finally added almost all Kagerou/Oboro skills only one more left..phew...:D (KG_KAGEHUMI,KG_KYOMU,KG_KAGEMUSYA,OB_ZANGETSU,OB_OBOROGENSOU,OB_OBOROGENSOU_TRANSITION_ATK,OB_AKAITSUKI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28Updated some skills to its RE behavior(AL_ANGELUS, RG_BACKSTAP, ↵rud0lp201-0/+112
WZ_GRAVITATION, NJ_RAIGEKISAI).(bugreport:6342, bugreport:6336, bugreport:6339, bugreport:6331) Added some Kagerou/Oboro skills. Special mega thanks to Judas :) (KO_HUUMARANKA,KO_MEIKYOUSISUI,KO_ZANZOU,KO_KYOUGAKU,KO_JYUSATSU,KO_KAHU_ENTEN,KO_HYOUHU_HUBUKI,KO_KAZEHU_SEIRAN,KO_DOHU_KOUKAI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28Added support for the "favorite item tab" feature. super-mega-thanks to ↵shennetsind1-2/+3
Judas, credits to Fatal Error. Be aware this update requires a new column in the inventory db, run upgrade_svn16517.sql in your database. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-27Fixed bugreport:309 combos may now stack properly. moved all combo ↵shennetsind1-7/+193
processing out of item bonuses and made it's own processing scheme, which is by far more efficient cpu-wise although it requires a little more memory, instead of checking for combo items whenever a status effect is turned on/off it only checks when equipping/un-equipping a item (and on login). Special Thanks to GreenBox, Kenpachi, Skotlex and Trojal git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Moved a few messages from source to msg_athena.conf.xazax-hun1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Fixed bugreport:6302 where WUG Riding state is not save in char log out.rud0lp201-2/+2
Follow up r16483 where I forgot to include the list of skills that can be used when riding a WUG.XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23Updated most Ranger skills to its official behavior and damage ↵rud0lp201-1/+2
formula.(bugreport:5272, bugreport:6249, bugreport:5548, bugreport:5888) Fixed issues with traps: (bugreport:5906) - if RA_REASERCHTRAP is learned Alloy Traps can now be used to Hunter traps. - if Hunter traps expire it will now return either Booby Trap or Alloy Trap depending on item used. - some traps should now give full damage to plants. - update list of skills that can hit/damage/affect traps. - damage through skills can now be shown when hitting traps. - proper knock back behaviors - proper animation when triggers and triggering of item bonus script 'bHPDrainRate' Fixed an issues where some skills cannot damage UNT_REVERBERATION/UNT_POEMOFNETHERWORLD and doesn't deal 1 damage Updated some official behavior where informational must shown when hitting, targeting, casting skills to targets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22Added a new configuration option to allow either weapon switching to cancel ↵cookiecrumbs1-0/+4
SC_DANCING or not. Fixed an issue where movement is frozen (caster) with Longing for Freedom (walking outside of the cast). Added checks related to dancing/ensemble skills to prevent frozen characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-21Renamed bUseSPrateSkill to bSkillUseSPrate.kenpachi2k111-8/+23
Added bSkillUseSP. Added documentation for bSkillUseSPrate(bUseSPrateSkill), bSkillUseSP, bSkillCooldown, bSkillFixedCast, bSkillVariableCast, bSkillFixedCast and bVariableCastrate. (bugreport:6193) Fixed Enriched White PotionZs (#12428) and Enrich Celermine Juices (#12437) bonus script. (bugreport:5790) Fixed Mental Sticks (#1654) bonus script. (bugreport:6071) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Super performance improvement to groups system, caching permissions levels ↵shennetsind1-11/+5
and atcommand permissions saving thousands of thousands of dbmap lookups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-17Fixed double decrement with unit_remove_map and the issue that causes ↵cookiecrumbs1-0/+6
dynamic mobs to not spawn when one player is on the map. bugreport:1640 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16434 54d463be-8e91-2dee-dedb-b68131a5f0ec