summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-22Fixed Sura's Gentle Touch Revitalize vit bonus, (part of bugreport:5358)shennetsind1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed the damn broken combo code. Fixed Fallen Empire and Dragon Combo (part ↵shennetsind1-0/+8
of bugreport:5358) and applied some more of my curly brace love. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bugreport:5208 Royal Guard's Force of Vanguard icon no longer goes ↵shennetsind1-0/+1
negative. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bugreport:5356 Shadow Shaser's Shadow Form. Skill now redirects damage ↵shennetsind1-3/+4
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 Mechanic Stealth Field to move accordingly and grant proper effectshennetsind1-34/+38
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15754 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-21Fixed bugreport:5462, Cursed Circle target is no longer able to move.shennetsind1-8/+7
Also Fixed Cursed Circle effect not going off if status is ended normally. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-21Fixed Deep Sleep not being removed by status effects etc, bugreport:5475shennetsind1-4/+4
Also Fixed 2 gcc warnings on status.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19Refine DB updatelordttseven1-36/+87
* DB courtesy of Kenpachi * added support for different stats per refine level for renewal * cleaned up the corresponding code a little * REMODE now displays the atk values on the client correctly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Odin's Power skill.protimus1-0/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18* uncluttered DB paths between REMODE on/off a littlelordttseven1-5/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Minstrel/Wanderer Lessons skill SP Boost, SP Regen. bugreport:5364shennetsind1-0/+8
Fixed Ranger Trap Research SP Boost. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Royal Guard Prestige, bugreport:5406shennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed White Imprison not going off, bugreport:5249shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Dragon (RK Mount) aspd and weight bonuses, bugreport:5386shennetsind1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15710 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Official Guild Aura Implementation bugreport:667shennetsind1-25/+34
Before: - Guild Aura would only trigger when guild master moved Now: - Guild Aura is triggered when master moves and/or when guild mate gets inside the area - Guild Aura range is no longer hardcoded, you may modify it from skill_unit_db Also: - Added new skill_unit_db target type 'guild' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17HELLO WORLD.shennetsind1-1/+13
- Fixed bugreport:5424, deep sleep status now makes target unable to move - Fixed bugreport:5335, savage steak and similar foods now provide their bonus correctly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Rewrote SC_MAGICPOWER to behave like on official serverslordttseven1-6/+2
* everything has been tested (with the exception of WZ_SIGHTBLASTER) * the status now uses a much simpler two-state mechanism; see http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4833 for details * non-offensive and non-magic skills no longer consume the status * set WZ_ICEWALL NK flag to NK_NO_DAMAGE to properly not consume the status * fixed stale matk used for unit- and timerskills * fixed the original bug with isilla card triggering a status recalc (bugreport:4833, matk swapping no longer needed) * removed a couple now unnecessary exceptions (they now work out of the box/as side effects) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-15* fixed SC_BURNING not ending properlylordttseven1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-15Status change packet cleanuplordttseven1-20/+64
* fixed a couple typos * replaced duplicate function clif_status_load with a macro * normalized and documented status change table related getter abstraction * put some checks that were previously in multiple places into clif_status_change * packets are now used as they are on official servers: - ZC_MSG_STATE_CHANGE for ending statuses and starting them on non-pcs - ZC_MSG_STATE_CHANGE2 for starting *all* statuses on players - tick = 9999 for statuses of indeterminate duration - for non-pc units, a packet is only sent if it has a visual impact on the client; if you notice any missing visual effects, please report them! * fixed hidden GM characters leaking certain status packets * fixed hidden GM characters not displaying timers for newly gained statuses * fixed status end packet never being sent for non-pc, non-mercenary units * fixed SC_CLOAKING displaying a time bar on the client * fixed tick being an unsigned int, yet used as a signed int * removed hard-coded status length exceptions in clif_status_change git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-06* fixed a missing break; in status_change_start resulting in broken combo ↵lordttseven1-0/+1
targets (bugreport:5389 and bugreport:5396, since r15009) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-22Applied renewal skill changes: (bugreport:5302)xantara1-4/+15
- 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-19minor improvement on status_calc_<stat> for SL_HIGH soul link, being it does ↵shennetsind1-13/+12
not stack with other status changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19Initial support for Wanderer and Minstrel, and a few adjustments here and ↵shennetsind1-65/+247
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-0/+2
- 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-16/+54
- 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-17Re-enabled SC_INCASPDRATE as per kenpachi's request.shennetsind1-1/+4
- val1 is the % aspd boost. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17Initial support for Shadow Chaser and a few adjustments here and there.shennetsind1-68/+238
- 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@15589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-11Fixed bug with abracadabra self skills not working, bugreport:5310shennetsind1-0/+1
Also fixed magnificat's non-mado condition git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Fixed bug with Soul Linker's Swoo visual effect not going off after duration ↵shennetsind1-2/+7
is gone, bugreport:681 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Added some renewal behaviors of skills from bugreport:5302 (all under ↵shennetsind1-9/+12
renewal mode) - Venom Splasher no longer requires target to be at 3/4 or lower health to work. - Deluge, Volcano and Violent Gale no longer require user to be of it's specific armor property to receive it's bonus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Added some renewal behaviors of skills from bugreport:5302 (all under ↵shennetsind1-7/+17
renewal mode) - Steel body no longer sets def and mdef at 90, instead it reduces incoming damage by 1/10. - Storm Gust no longer possesses a hit counter; instead every hit have a chance to freeze of 20+(5 x skill_level). - Thunder Storm skill ratio was increased from 80% to 100% - Misc: added isOFF macro to replace REMODE == 0 compiler-level-checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04` Fixed Guillotine Cross Poisons (bugreport:5275)xantara1-5/+12
-- Paralyze decreases attack speed, flee, and movement speed -- Death Hurt decreases the effectiveness of recovery -- Venom Bleed reduces max HP -- Oblivion Curse blocks natural SP recovery and skill use is denied ` Updated const.txt with the latest (renewal) statuses (SC_) values git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-31Fixed possible monster speed underflow when mobs leveling up is enabled ↵gepard19841-1/+1
(bugreport:2237). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed more trailing tabs.brianluau1-13/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed trailing tabs, and fixed some spacing.brianluau1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-24Fixed Divest status changes not loading properly on login with ↵gepard19841-4/+4
`debuff_on_logout: 0` (bugreport:1331). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22Minor cleanups, mostly reducing scopes.xazax-hun1-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-19Hair color fix for bugreport:5253, blame on r15449shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17Enabled Mersenne Twister MT19937 as random number generator instead of ↵gepard19841-10/+11
standard `rand()` function (follow-up to r14865, r14870). - It fixes issues caused by RAND_MAX being only 32k in Windows system (bugreport:1927, bugreport:86). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15053. [ai4rei]eathenabot1-3/+3
- clif cleanup: Changed clif_changestatus so that it takes sd instead of bl, since it only accepts BL_PC bls anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-15Fixed bug with katar weapon bonus, bugreport:5240shennetsind1-4/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15460 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14- Fixed walk-delay bug when a player is attacked in disguise causing ↵epoque111-0/+5
inaccurate client position git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Fix for exploit that allowed WPE to create a character with a custom hair ↵shennetsind1-3/+3
style/hair color not available to other players, to then crash them. from the comments within bugreport:150 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08Fixed Cloaking Exceed.protimus1-2/+7
- Stop hiding status when use skills or attack enemies. - Added security fixes to clear hiding status in some cases, like warped and reloging. - Updated walk speed formula. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08Fixed Exceed Break to work properly.protimus1-8/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-07Initial support for Royal Guard and some adjustments here and there.shennetsind1-12/+110
- 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@15404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-05Fixed issue with costume item bonuses not checking for headgear position ↵shennetsind1-0/+4
(would stack), bugreport:5204 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Re-designed /db/ folder structure as previously discussed.shennetsind1-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Removed unused and unofficial bonus `bRandomAttackIncrease` (in SVN since ↵gepard19841-2/+0
r2, bugreport:2139). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Fixed Songs, no longer dispells on death. bugreport:3444shennetsind1-0/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15370 54d463be-8e91-2dee-dedb-b68131a5f0ec