158 Commits

Author SHA1 Message Date
brianluau
ff15797bc5 - Changed @pettalk /dice to roll random 1-6 (before it always rolled 1).
- Added more /emotions to pet emotion processing.
- Removed the clif_skill_fail so it doesn't spam them with a message 
(the client limits spamming clif_parse_Emotion, but not spamming @commands).
- Follow up to r15009: used clif_emotion constants (see r14518).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 06:38:03 +00:00
brianluau
64379ae3d4 - Added 22nd argument to 'getmonsterinfo' which returns the mvp_exp of a monster.
- Changed 'checkvending' to return 2 if player is using @autotrade.
- Follow up to r15871: used spaces so everything lines up (people might use different Tab Size in their text editors).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19 05:56:01 +00:00
technote24
6aac4722fb =General
*Added some job coding to the source to prepare for the adding of baby 3rd's and other expanded jobs.
*Removed Baby Taekwon, Baby Star Gladiator, and Baby Soul Linker MAPID's code since their pointless.
-Gravity never released baby versions of these classes. If they do in the future then ill readded them.
*Did some clean up in pc.c in the job management code. All unnecessary spaces were replaced with tabs
-to lower the file size and make it easier to keep things tighty.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19 01:12:50 +00:00
technote24
fb6262a990 =General
*Added some jobs with ID's and MAPID's masks to prepare for the adding of more jobs in const.txt
*Fixed a typo on JOBL_THIRD check in const.txt
*Added all currently known tags and ID's support for NPC's, skills, status, and units.
*Changed SI_SITTING to official name SI_SIT.
*Increased MAX_SKILL to 3040.

=NPC
*Corrected a typo in the jobmaster script.
-Fixed required job level for changing to 3rd to 50.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-08 23:41:53 +00:00
eathenabot
0041662145 * Merged changes up to eAthena 15075.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 03:15:59 +00:00
lordttseven
6ca4baa006 * updated the custom job changer npc that ships with rA to support both branches of 3rd classes for easier testing proper job change mechanics
* updated const.txt with some job-system related values

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-20 15:08:06 +00:00
shennetsind
93f8dc1ffd Added 2 new item bonuses as per kenpachi's request:
- bonus2 bHPGainRaceAttack
- bonus2 bSPGainRaceAttack

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18 18:15:31 +00:00
shennetsind
1b25f2ae62 Re-enabled SC_INCASPDRATE as per kenpachi's request.
- val1 is the % aspd boost.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 18:14:15 +00:00
xantara
2daf269fee ` Fixed Guillotine Cross Poisons (bugreport:5275)
-- 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://svn.code.sf.net/p/rathena/svn/trunk@15539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04 05:46:00 +00:00
gepard1984
1a61c2d24e Removed unused and unofficial bonus bRandomAttackIncrease (in SVN since r2, bugreport:2139).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03 22:25:12 +00:00
masao87
aa1124a2a7 - Updated const.txt. bugreport:5177
- Fixed Rental NPC. bugreport:5178

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-02 00:56:15 +00:00
shennetsind
275f0b6b5b Follow up r15269, fixed a few typos and a test entry that wasn't meant to be submitted.
- Added new item bonus 'bonus bMatk,<value>';

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 16:41:04 +00:00
shennetsind
9c516793ff Added new bonus for RE cards 'bonus bWeaponMatk,<value>;'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 16:24:25 +00:00
Chilly0123
bd05ecd036 *Fixed bug in the attribute table.
*Added an item group that i missed.
*Lots of mob_db updates.
-Labeled groups of monsters by area and episode number.
-Updated many monsters to drop their new cards.
-Added mobs up to Episode 14.2 (many are still incomplete).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24 07:00:10 +00:00
Chilly0123
eb83d22bcf *Added new item groups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15223 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23 05:26:55 +00:00
shennetsind
be428f5b9f getmapflag() fix by Kenpachi (bugreport:5097)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06 02:56:12 +00:00
ai4rei
f204e8aa09 * Fixed npc class HIDDEN_WARP_NPC (139) being sent to the client, causing client crashes in poring war. It's a server-side "sprite" only.
- Updated Aegis NPC ID constants from current npcidentity.lub (569~603).
- Reintroduced HIDDEN_WARP_NPC script constant, which was removed by accident (since r14679).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-12 08:08:19 +00:00
ai4rei
d3d918211e * Random documentation of database files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-28 12:37:16 +00:00
L0ne_W0lf
02179c24bb * Added bonus3 bAddClassDropItem, care of Epoque.
- Added several missing items to the item database, updated others.
- Raised level 10 Dec. AGI to be level 48, when used by mobs.
- Added missing mercenaries to the mercenary DB, and skills.
- Added missing monster_chat_db entries for Nydhoggr's Shadow.
- Added Brasilis pets to the pet DB, these pets are unhatchable on purpose.
- Added additional quests to the quest_db, mostly for RE.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-11 20:13:22 +00:00
brianluau
b8918ccca2 - Removed extra <TAB> from const.txt
- Changed the card columns in `cart_inventory` table to SMALLINT(11), to match other tables.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-24 22:51:05 +00:00
ai4rei
2d495bd0f2 * Updated Aegis NPC ID constants from current npcidentity.lub (bugreport:4706).
- Fixes some incorrect NPC ID constants (since r12780).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-23 13:14:56 +00:00
ai4rei
cd78795961 * Various code tweaks and updates related to item types.
- Replaced item type literals with their appropriate constants.
- Added itemdb_typename to replace the ugly "BUG!" filled array in @iteminfo (since r1741, follow up to r14550).
- Made the item database parser verify item type for validity.
- Added item type constants to const.txt for use in scripts (getiteminfo).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 22:33:32 +00:00
ultramage
74872445ff Changed 'killerrid' and 'killedrid' from player vars to player params (bugreport:3249).
Now stored in player session data, so they don't get saved on logout anymore.
Added sql upgrade script 'upgrade_svn14507.sql' to remove the now unused player variables.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26 14:03:41 +00:00
ai4rei
1b9c1fc3d1 * Added script command pushpc, which is required by newer scripts.
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 09:26:00 +00:00
ai4rei
103e46fdab * Added enumeration RC2_* for mob data 'race2' (bugreport:4561).
- Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277).
- Fixed bSubRace2 lacking bounds check (since r1257).
- Fixed bSubRace2 being documented as bSPSubRace2 (since r1257).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 16:20:26 +00:00
Gepard
123a803ccb * Removed unused 'indoors' mapflag (follow-up to r3729).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-21 00:38:57 +00:00
Paradox924X
d95e3e7999 Implemented official cash food behavior, including use delay, not being dispelled (including on death), distinct status effects and icons from the ordinary food types.
Updated items accordingly. (bugreport:2560)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 06:17:49 +00:00
L0ne_W0lf
906c37ad64 * Added two new item groups, and implemented the remaining in the item database.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14364 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-16 22:49:27 +00:00
L0ne_W0lf
387bcdf5ae * Implemented the Manuk and Splendide item status effects, thanks to Epoque.
* Implemented Manuk and Splendide consumable items.
* Added Splendide and Manuk merchants.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 23:01:54 +00:00
Paradox924X
6a72859405 Fixed a few typos from r14322.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 03:20:25 +00:00
Paradox924X
00a2a3283e Added support for using 'town', 'autotrade', 'allowks', 'monster_noteleport', 'pvp_nocalcrank' and 'battleground' mapflags in scripts (bugreport:4226).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 03:08:13 +00:00
L0ne_W0lf
535bb54e76 * Lots of updates. Mostly mob related.
- Added known stats and drops for 13.2 monsters.
- Added custom skills and mobchat for 13.2 mobs.
- Added known stats for Brasilis Mobs.
- Added new quest entries, and updated some old ones.
- Removed Itemskill from Large_spray_of_flowers.
- Added known names and ids for more mobs.
- Added homunculus IDs to homun database as placeholders.
- Added skill ids for 3rd jobs to skill_db as placeholders.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-21 01:00:48 +00:00
L0ne_W0lf
82fd1bd8be * Added new broadcasting support from r14120 to WoE scripts.
- "Conquered" messages can now be effectively toggled off in Battle log
- Added fontsizes for WoESE messages. (At least the non-default sizes.)
* Added font weight constants, although they don't seem to do anything.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 19:41:37 +00:00
Gepard
f9cff9c6e0 Extended broadcast implementation:
- support for font formatting, like font-size
 - `bc_woe` flag to allow client-side filtering of WoE announcements
 - new broadcast packet 0x40C  

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 15:56:54 +00:00
Inkfish
b0d8294419 Added bMagicHPGainValue and bMagicSPGainValue.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-21 06:21:44 +00:00
Kisuka
8fd9c788de - Added episode 12 and 13 item givers. (topic:226055)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-04 20:59:06 +00:00
Inkfish
698e7a0fc0 Rewrote Quest Log system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25 20:55:35 +00:00
Inkfish
ab4ae85ca5 * Extended ATF_SKILL to ATF_MAGIC and ATF_MISC.
* r13932 Fixed a wrong check on hp in Intimidate code. (bugreport:3305) (I forgot to write the message.)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04 13:17:08 +00:00
Inkfish
5516002a5c * Implemented script command "autobonus". [Inkfish]
- "autobonus" is similar to "bonusautoscript", however it has a timer of its own.
- Updated itemdb changing items bonus using "bonusautoscript + sc_start" mode to "autobonus + bonus" mode.
- Remove bonusautoscript and status changes that was needed by bonusautoscript and is no longer in use.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-28 08:23:53 +00:00
Inkfish
1d90917604 * Implemented script command "areamobuseskill" and skill NPC_INVINCIBLE and NPC_INVINCIBLEOFF. (topic:217330)
* Using items no longer cancels invincibility(but using target and ground skills through items does). (bugreport:3259)
* Fixed Butterfly Wings not working during GVG. (bugreport:3264)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-19 13:26:50 +00:00
Kisuka
148fd7efb5 - Updated emotes in const.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-11 21:34:17 +00:00
Inkfish
dc7f470790 * Fixed turning off a skill needed to meet the requirements. (bugreport:3175)
* Skills used through items not having aftercast delay or cast time now don't overwrite the former canact_tick. (topic:220921)
* Multiple autoscripts now can trigger at once.
* Applied a temp fix for autoscripts crashing server.(bugreport:3154)
* Implemented SC_JEXPBOOST (thanks to GMJobbie for the diff). (bugreport:3177)
* Implemented SC_IGNOREDEF. (topic:217330)
* SC_DEFRATIOATK won't affect boss monsters. (topic:217330)
* Fixed skip_teleport_lv1_menu made lv2 skip menu as well. (bugreport:3183)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05 00:22:12 +00:00
Inkfish
ac5aa55ae7 * Added new bonuses bHealPower and bHealPower2.
* Heal skills code clean up. 
- bSkillHeal can affect offensive heal now. 
- bSkillHeal2 can affect AppleIdun and SlimPitcher now.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 12:21:59 +00:00
Inkfish
766143d109 Added new bonuses bUnbreakableGarment and bUnbreakableShoes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 06:45:58 +00:00
ultramage
ff21daafa2 Correction to some status icons based on official information
- Added SI_S_LIFEPOTION and SI_L_LIFEPOTION and their corresponding new status changes to deal with the fact that Small_Life_Potion and Med_Life_Potion each use a different status icon.
- Left the duplicate SC_HPREGEN status in fof backwards compatibility, but removed its icon.
- Corrected the status icon id for SC_INCCRI from 292 to 295.
- Corrected the status icon id for SC_INCHEALRATE from 293 to 292.
- Added status icons for SC_INCFLEE2, SC_SPCOST_RATE and SC_COMMONSC_RESIST.
- Removed icon from SC_ARMOR_RESIST since officially it is a bonus, not a status, and thus doesn't (and can't) have an icon.
- Renamed the status icon name of SC_ELEMENTALCHANGE from SI_ARMOR_RESIST to SI_ARMOR_PROPERTY.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 07:25:50 +00:00
zephyrus
ed5eee1dcb - Implemented new item and bonuses for Kreiger Von Midgard rewards.
* Execute script on skill (bonusautoscript3)
* Add effect on skill (bAddEffOnSkill)
* Execute skill on skill (bAutoSpellOnSkill)
- Fixed some boxes Rental time according to item descriptions.
- Implemented SC_ITEMSCRIPT, a status that gives you temporally the effect of an item. Check items 14597 to 14605 if you want to get the idea.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-18 02:50:39 +00:00
zephyrus
f2509ed537 - Updated const.txt using battleground stuff.
- Updated item_db.txt battleground items. Fixed 2 premium items. Fixed Gunslinger Medal usable by all classes.
- Battleground Guardians status (copied from Veins, we need officials).
- Added skill_nocast_db.txt restrictions for battlegrounds. I just used the 8 flag (when WoE is on) because nothing used it.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-27 16:24:47 +00:00
zephyrus
ede9af3b29 - Implemented new item bonus scripts required for battlegrounds.
- Battlegrounds items rewards for Tierra Valley and Flavius done (but autoscript rate is suggested - 5%).
- Restricted trade/storage/drop for those items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25 19:50:02 +00:00
zephyrus
551e20a850 - Added support for item effect Ignore Def Rate by Race. bonus2 bIgnoreDefRate,<race>,<%>;
- Added support for item status effects on skills. bonus3 bAddEff,<sc_effect>,<rate>,ATF_SKILL;
- Update to battleground equipment.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20 02:19:05 +00:00
L0ne_W0lf
c988ef42ac Removed duplicate constant I added in r13272.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-09 18:35:36 +00:00