summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-29Fixed bugreport:5850 GN_HELLS_PLANT damage formula and behavior are now updated.rud0lp201-1/+2
Fixed bugreport:5848 RK_DRAGONTRAINING should now work normally. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27Fixed bugreport:5842 RK_DRAGONBREATH damage should now be reducible by ↵rud0lp201-1/+8
defender and energy coat and be blocked by anti long ranged skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16157 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27Fixed bugreport:5821 GN_SLINGITEM item requirements(item throwables) should ↵rud0lp201-7/+38
now works normally. Fixed bugreport:5223 GN_BLOOD_SUCKER should now work like official behavior. Fixed part of bugreport:5674 Spiral Pierce is now in RE. Fixed setmadogear now it accepts optional parameter(0=unmount 1=mount). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-25Fixed bugreport:5813 LG_SHIELDSPELL damage formula in physical and magic is ↵rud0lp201-10/+13
now in official. Thanks Rytech. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16150 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed RA_CAMOUFLAGE where the animation(semi transparent effect) is not seen ↵rud0lp201-1/+1
when sight is refreshed. Fixed RA_CLUSTERBOMB now it has 1s delay to disappear when activated and does full damage in plants. Fixed Burning status fixed damage (1000+3% of MaxHP) and damage effect and walk delay git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-21Fixed bugreport:5777 WL_DRAINLIFE HP absorption based on damage is now ↵rud0lp201-3/+4
working properly. Thanks to Rytech Fixed WL_SOULEXPANSION now it should do double damage on White Imprisoned targets and WL_WHITEIMPRISON should not work with bosses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-20Fixed bugreport:5619 MO_EXTREMITYFIST should now consume all spirit sphere.rud0lp201-2/+17
Fixed bugreport:5632 SR_FALLENEMPIRE should now chain with SR_GATEOFHELL and SR_TIGERCANNON and add bonus damage. Update SR_GATEOFHELL damage formula where sp has now contribution with the damage. Fixed wrong displayed status mdef. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16131 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-19Fixed bugreport:5618 @summon stuff trap-like skills no longer hit its alliesshennetsind1-18/+13
removed wrong target-type check on battle.c (its set in skill.c and then passed as its righteous flag to battle_check_target). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17Fixed bugreport:5620 Fear Breeze auto attack should now trigger properly.shennetsind1-2/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17Updated renewal's level modifier on damage formula.shennetsind1-73/+56
Made the formula into a set of macros for easy customization. Added a switch for this feature (due to popular demand) RENEWAL_LVDMG in renewal.h git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16118 54d463be-8e91-2dee-dedb-b68131a5f0ec
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