149 Commits

Author SHA1 Message Date
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
L0ne_W0lf
5f19f788b4 Updated NPC_REBIRTH. Has it's own values, and no longer leeches off SL_KAIZEL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-09 17:21:32 +00:00
zephyrus
879ada0f6c - Renamed createmercenary to mercenary_create.
- Added other required mercenary script commands for official script.
- New Constants entries for this script.
- Update to missing configuration on mercenary skills.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-06 15:21:25 +00:00
shadow
1fc5701465 Removed "old" from IG_OldGiftBox by mistake.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15 22:17:30 +00:00
shadow
3adffcab45 Fixed some bad named gift boxes on constant db, bugreport:1857
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15 22:15:23 +00:00
L0ne_W0lf
eb8748ca5d * Increased Item group limit for new item groups.
* Added several new item groups, and updated some existing groups.
- IG_RedBox, IG_GreenBox, IG_OldYellowBox, IG_OldGiftBox IG_MagicCardAlbum, IG_HometownGift, and IG_Masquerade.
- IG_CardAlbum no longer gives Ghostring or Angeling Cards.
- Added Hahoe Mask to Wrapped Mask list.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-24 22:41:24 +00:00
shadow
c1c44cbec2 Added a list of aegis effect constants to be used on scripts, this should help on script conversion.
They go up to 377, but for higher values, you can still use the integers found on /doc/effect_list.txt
Added a list of aegis npc name constants to be used on scripts (eA doesnt support this yet).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 03:20:35 +00:00
zephyrus
5c7a1807e4 - Added support for OnTouchNPC event, required for Monster Race. Script commands need to be tested. Already tested sc_start.
- Added status SC_WALKSPEED required in monster Race.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-02 15:54:50 +00:00
zephyrus
4ced695e7e - Support for SP Regen status just like HP Regen (by items, by a little time). Required in some new items from Ep 12.1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29 12:48:08 +00:00
zephyrus
31320fcc9d - Added some new items and headgears.
- Changed the way DEF Potion and MDEF potion works to official.
- Cleanups to Barricade Engine. It now can be used in WoE 2.0, i will release optional scripts soon.
- Fixes to @noks. Now if the mob is targeting someone else the protection get lost.
- Added new status effects icons to cash items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-08 16:58:57 +00:00