summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-16Fixed bugreport:5749 Amplify Magic Power should now work properly on ↵rud0lp201-2/+2
multi-hit magical skills. Fixed bugreport:5748 Masquerade-Groomy now removes Dragon and Warg. Fixed bugreport:5751 Implemented script command in checking/mounting Dragon, Warg and MADO Gear, also made a clean up regarding MADO Gear and Warg conditions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-08Fixed bugreport:5513 Chaos Panic should now inflict Confusion/Chaos effect ↵rud0lp201-1/+2
work properly. Follow up r16085 Fixed the min cap value for negative mdef. Thanks Epoque git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-08Fixed an issue with MDEF & DEF where it does not updating after equipping. rud0lp201-1/+1
MDEF & DEF are now can be negative value and adds boost on damage like in the official servers. Fixed aspd calculations on some skill bonuses and reductions(SC_PARALYSE, SC_BODYPAINT, SC_INVISIBILITY, SC_GROOMY, SC_SWINGDANCE, SC_DANCEWITHWUG, SC_GLOOMYDAY, SC_EARTHDRIVE, SC_GT_CHANGE, SC_GT_REVITALIZE, SC_MELON_BOMB, SC_BOOST500, SC_EXTRACT_SALAMINE_JUICE, SC_INCASPDRATE) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03* Implemented an atcommand suggestion system.xazax-hun1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5643 Wall of Thorns should now deal damage properly as well ↵shennetsind1-1/+1
as lock the trapped character in. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:3591 Ninja's Cast-off Ciceda Shell now triggers card effects ↵shennetsind1-3/+6
even tho it misses (e.g. garm card / pest card) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5655 Venom Impress boost against poison should now work.shennetsind1-7/+17
Additionally, Fixed Oratio Throns Trap and Elemental Fire Cloak elemental atrributes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16061 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:3452 players' circular target range is now matching official ↵shennetsind1-5/+3
servers. credits goes all to Angezerus for his formula and fix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5650 GN Cart Remodeling weight boost should now be working ↵shennetsind1-1/+1
properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29- Updated the unit engine to cache attacker count rather than utilise CPU ↵epoque111-15/+7
intensive block iterations - This update removes two unofficial settings, nothing that will go amiss git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Replaced rand() calls with rnd().xazax-hun1-9/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Code consistency updates. No functional changes. Credits to Lighta.xazax-hun1-22/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5599 magic damage reduction formula were wrong.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5605 Spell Fist should now work properly. Also Added missing ↵shennetsind1-10/+66
Elemental SC damage boosts git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Added mvp tomb system.greenboxal21-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Fixed bugreport:5494 missing renewal status for RG_RAID.greenboxal21-0/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks ↵shennetsind1-37/+215
to 3CeAM for the base. Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql) If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much. ARRIBA ARRIBA. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20=Generaltechnote241-1/+2
*Added CANNONBALL and THROWWEAPON item types as ammo types. -IT_THROWWEAPON will be removed soon as all ammo equiptable -items should be fully treated as ammo type in rAthena and -not as a item type. =Jobs *Added a config to set max stat limit for baby 3rd's. Default is 108. *Kagerou/Oboro stat limit is now set to whatever the limit is set to for 3rd jobs. -Which is the default 120. *Added item job masks for Gangsi, Death Knight, Dark Collector, and Kagerou/Oboro. -Note: Backwards compatibility was added to allow Kagerou/Oboro to use all the equips -the Ninja job can use to prevent needing to edit a chunk of the item database. -The job also has its own exclusive mask which will be used on their exclusive equips soon. *Kagerou/Oboro jobs can now duel weld daggers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11minor performance improvement for users with battle_config.ksprotection ↵shennetsind1-1/+1
disabled. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11Fixed bugreport:5533 Voice of Siren status now works properly.shennetsind1-5/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-09- Spring cleaning of various source filesepoque111-22/+20
- Removed unused src/map/config/Skills/Mage_Classes.h file git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-03Fixed bugreport:5500 / Follow up r15768shennetsind1-1/+1
Shield Chain now takes account of weapon attack and weapon refinement into damage, along with elemental weapons. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-28* fixed certain traps dealing blitz beat damage due to a missing break (see ↵lordttseven1-0/+1
also bugreport:5509) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-28Fixed bugreport:5515 targets in manhole may now be targeted by shadow form.shennetsind1-1/+1
Also fixed manhole appearance changing to a trap when activated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23Follow up r15768 (bugreport:5411) - special thanks to Kenpachi!shennetsind1-0/+8
Shield Bommerang takes weapon element only until it calculates its damage against target, from there on (dmg reduction calculation) it uses neutral. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23Some minor code cleanup (gepard's idea from some time ago)shennetsind1-10/+2
- Removed a dozen #REMODE checks. - Added a typedef for the def type var git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23Fixed bugreport:5411 Shield Bommerang (Rapid Smitting), in renewal now takes ↵shennetsind1-1/+2
weapon in account plus it weapon element (no longer forced-neutral). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed Sura Crescent Elbow (part of bugreport:5358), it now reflects properly.shennetsind1-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed Sura Gentle Touch Energy Gain, bugreport:5358, now it gives you proper ↵shennetsind1-0/+7
spheres git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bugreport:5355 Shadow Chaser's Auto Shadow Spell is now fully functional.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bugreport:5356 Shadow Shaser's Shadow Form. Skill now redirects damage ↵shennetsind1-19/+21
properly and is removed upon either caster or target leaving skill range git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bugreport:5357 Neutral Barrier is now working accordingly.shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Follow up r15749, fixed to return correct value.shennetsind1-5/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bug with Sacrifice, Triple Attack and SC_MAGICALATK stopping the ↵shennetsind1-11/+14
character from attacking if either missed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Deep Sleep status, when hit in this status the hit damage is increased ↵shennetsind1-2/+13
by 50% and deep sleep goes off. bugreport:5464 Also: Fixed Voice of Siren not going off when hit git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Follow up r15704, special thanks to Vali!shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Verkana and Turisus RK Runes, bugreport:5388shennetsind1-5/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Sura's Lightning Walk, bugreport:5407shennetsind1-0/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed bugreport:5304 flee calculation on renewal, thanks to Angezerus and Vali!shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed Reject Sword, bugreport:4493 it nows applies damage reduction damage ↵shennetsind1-18/+15
properly and rejects dual-wield weapons properly as on official servers. super thanks to daegaladh for his contribution git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-08- Fixed skillratio bonus only ever being multiplied by a factor of 1 ↵epoque111-2/+2
(follow-up to r15666) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-08- Correctly fixed Aimed Bolt and Arrow Storm skill ratios (related to ↵xantara1-4/+6
bugreport:5272 and r15663) - thanks to Lighta git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-07Fixed a few Ranger-related skills (bugreport:5272)xantara1-3/+3
- Added check to not allow attacks when mounted on a Warg - Added check to only allow a certain amount of skills when mounted on a Warg - Updated Warg Bite's chance rate of immobilization and duration - Updated Arrowstorm and Aimed Bolt's skill ratio damage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27Fixed PA_SACRIFICE crash, bugreport:5371, present since r15277shennetsind1-10/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-22Applied renewal skill changes: (bugreport:5302)xantara1-3/+40
- Arrow Shower's attack power (50+10*SkillLvl) - Wind Blade's MATK per hit (from 100% to 150%) - Storm Gust's chance of freezing (65-5*SkillLvl) - Land Mine, Blast Mine, Claymore Trap's damage formula - Spear Quicken's ASPD (fixed 7), CRIT (3*SkillLvl) and FLEE (2*SkillLvl) - Holy Cross's double damage with 2-handed spear - Axe Mastery's damage increase also applies to Sword class weapons - Spiral Pierce's weapon requirement (now allows swords) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19Updated Enchant Blade, bugreport:5346shennetsind1-7/+4
- May only cast on self. - Updated formula: [( ( Skill Lv x 20 ) + 100 ) x ( casterBaseLevel / 150 )] + casterInt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15620 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19Initial support for Wanderer and Minstrel, and a few adjustments here and ↵shennetsind1-2/+20
there for other classes. - credits to 3ceam for the base. - should you step by any bugs let us know, http://rathena.org/board/tracker git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18Added 2 new item bonuses as per kenpachi's request:shennetsind1-1/+7
- bonus2 bHPGainRaceAttack - bonus2 bSPGainRaceAttack git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18Initial Support for Shura and a few adjustments here and there.shennetsind1-6/+64
- credits to 3ceam for the base. - should you step by any bugs let us know, http://rathena.org/board/tracker git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17Fixed bShortWeaponDamage to work against cart termination, bugreport:5328shennetsind1-9/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15593 54d463be-8e91-2dee-dedb-b68131a5f0ec