Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Implementation of unit controlling script commands.
|
|
|
|
|
|
|
|
Update NPC ID
|
|
|
|
|
|
Original commit in PR #796 by @Vennren on 15 Oct 2015
|
|
Implementation of Item Options System.
|
|
Setunitdata <GID>, <DataType>, <Val1> {, <Val2>, <Val3>}
Getunitdata <GUID>, <DataType> {, <Variable>}
Getunitname <unit id>
Setunitname <unit id>, <name>
Performs alteration and retrieval of real-time unit data for a game object of the types -
NPCs, Pets, Monsters, Homunuculus', Mercenaries, Elementals.
Applicable data types (available as script constants) -
UDT_TYPE: Unit Type value (BL_MOB, BL_NPC, BL_PET, BL_ELEM, BL_MER, BL_HOM)
UDT_SIZE: Unit Size
UDT_LEVEL: Level
UDT_HP: Current HP
UDT_MAXHP: Max HP
UDT_SP: SP
UDT_MAXSP: MAX SP
UDT_MASTERAID: Master Account ID (for Summons)
UDT_MASTERCID: Master Char ID (for Summons)
UDT_MAPIDXY: Warp a Unit to a map.
UDT_WALKTOXY: Make a unit walk to certain co-ordinates.
UDT_SPEED: Unit Speed
UDT_MODE: Mode (Mobs)
UDT_AI: Unit AI Type
UDT_SCOPTION: Status Options.
UDT_SEX: mm Sex.
UDT_CLASS: Class of the unit.
UDT_HAIRSTYLE: Hair Style of the unit.
UDT_HAIRCOLOR: Hair Color.
UDT_HEADBOTTOM: Headgear Bottom Sprite.
UDT_HEADMIDDLE: Headgear Middle Sprite.
UDT_HEADTOP: Headegar Top Sprite.
UDT_CLOTHCOLOR: Cloth Color.
UDT_SHIELD: Shield Sprite.
UDT_WEAPON: Weapon Sprite.
UDT_LOOKDIR: Face direction.
UDT_CANMOVETICK:Stop a unit from move for n seconds.
UDT_STR: Unit STR.
UDT_AGI: Unit AGI.
UDT_VIT: Unit VIT.
UDT_INT: Unit INT.
UDT_DEX: Unit DEX.
UDT_LUK: Unit LUK.
UDT_ATKRANGE: Attack range of a unit.
UDT_ATKMIN: Min Atk of a unit.
UDT_ATKMAX: Max Atk of a unit.
UDT_MATKMIN: Min MATK of a unit.
UDT_MATKMAX: Max MATK of a unit.
UDT_DEF: DEF.
UDT_MDEF: MDEF.
UDT_HIT: HIT.
UDT_FLEE: FLEE.
UDT_PDODGE: Perfect Dodge.
UDT_CRIT: Critical Rate.
UDT_RACE: Race. (Eg. string constants RC_DemiHuman or Integer 7).
UDT_ELETYPE: Element. (Eg. string constants Ele_Neutral or Integer 0).
UDT_ELELEVEL: Element Level (int).
UDT_AMOTION: AMotion Rate (int).
UDT_ADELAY: ADelay Rate (int).
UDT_DMOTION: DMotion Rate (int).
UDT_HUNGER: Hunger Rate (int) - for summons.
UDT_INTIMACY: Intimacy Rate (int) - for summons.
UDT_LIFETIME: LifeTime (int) - for summons.
UDT_MERC_KILLCOUNT: Kill count for mercenaries (int).
UDT_STATPOINT: Status Points (int) - for npcs.
Addition of AI constants as well.
Documentation is included.
Credits: [rA](https://github.com/rathena/rathena/commit/2cee5b6ff1bf53c4ae53bc1278b09ae84b8a0a76) & [Smokexyz](https://github.com/Smokexyz)
|
|
Allows the infusing of equipments with bonus item options.
This feature is constrained to clients of packet versions greater than or equal to `20150226`.
Item Options and their effects are defined server-side in `db/item_options.conf` and client side in `data/luafiles514/lua files/datainfo/addrandomoptionnametable.lub`
The ID of the option must tally with the correct index of the description provided in the client side lua file to avoid bugs.
IT_OPT_* keys and MAX_ITEM_OPTIONS macro are also exported from the source as constants.
An additional flag `disable_options` has been added to sql, and as `DisableOptions: true/false (boolean, defaults to false !!for equipments only!!)` to item_db.conf files.
Script commands documentation is also included.
SQL file updates are included.
Credits: [Smokexyz](https://github.com/Smokexyz)
Style and Script Fixes by [Asheraf](https://github.com/Asheraf)
Initial design Idea by [secretdataz](https://github.com/secretdataz)
|
|
|
|
Correct Castling skill to use cooldown
|
|
credit rathena/rathena@17a273864ad81ac82036a3ae646d11c384fe85e7
|
|
|
|
- NPC_LICK now has a base chance of 20%*level and a base duration of 5s
- Excruciating Palm now has a base duration 5s
- Shield Press now has a base duration of 5s+0.5s*level
- Earth Shaker now has a base duration of 2s (level 2-3) and 3s (level
4-5)
- Sightless Mind now has a base duration of 30s in pre-re and 20s in
renewal
- Credit rathena/rathena@80e026433
|
|
Correct Peuz's Greaves Bonus
|
|
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Fixes #569. Adds mob_db.txt documentation.
|
|
- Mapflags are moved into map_zone_db, this will make easier and more intuitive in the future to add mapflags to new instances and avoid miss any mapflag.
- Zone mapflags for renewal instances are moved into renewal folder.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Fixes #686. Blocks Vellum and Siege equips/potions usage on non WOE/PVP maps.
|
|
Users can decide to remove comment to normalize Priest aspd with knuckles.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
thanks to rathena/rathena#1997
|
|
* Change spelling in map_zone_db
|
|
Beast Strafe has no target and it should have.
|
|
in kRO Para_Team_Mark_ warp the player to eden group.
|
|
This removes the remaining unsupported symbols (despite they being
official names) in AegisNames: The apostrophe (`'`) sign is suppressed.
The full replacement rules (cumulative with the step 1 commit) are thus:
- Any apostrophe is suppressed.
- Any non-`[A-Za-z0-9_]` character is replaced with an underscore (`_`).
- If the replaced symbol is at a word boundary (beginning or end of the
string, or next to another underscore), it is suppressed instead.
- If the replacement causes an AegisName conflict, underscores are
appended appropriately.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This removes some unsupported symbols (despite they being official names) in
AegisNames. The replacement rules used are:
- Any non-`[A-Za-z0-9_']` character is replaced with an underscore (`_`).
- If the replaced symbol is at a word boundary (beginning or end of the string,
or next to another underscore), it is suppressed instead.
- If the replacement causes an AegisName conflict, underscores are appended
appropriately.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This removes special symbols (spaces, dashes, parentheses) from various custom
AegisNames for which we don't have the official value available. Where
possible, the appropriate name was guessed (based on similar existing items).
Signed-off-by: Haru <haru@dotalux.com>
|
|
They are whips, not musical instruments.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Some missing items were copied to the pre-renewal database. In general,
when an item ID is hardcoded in source, it's preferable that the item
exists in both databases.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Mostly whitespace, with the exception of the 'Wurst' item rename (was
previously incorrectly named Brusti)
Signed-off-by: Haru <haru@dotalux.com>
|
|
This commit just propagates the AegisName changes to the pre-re database
and to the (re) scripts.
Two issues are fixed as a side-effect:
- The ghost_palace script was referring the non-existing constant(s):
Thanatos_Two-Handed_Staff == (Thanatos_Two) - (Handed_Staff) == 0.
Paired with the script engine's inability to differentiate between
constants and player variables, that produced a very subtle issue.
- The item RAG203 is sold by a NPC (Rebellion Weapon Vending). Due to a
pair of swapped AegisName constants (RAG203 and RAG203_), the slotted
version was sold by the NPC instead of hte non-slotted one (the issue
was actually fixed in the previous commit, although the description of
the fix is here - these two commits are only split for legibility
purposes but they're to be considered indivisible).
Signed-off-by: Haru <haru@dotalux.com>
|
|
The values are based on Divine-Pride.
This also fixes several unusable AegisName constants containing spaces
or special characters.
Signed-off-by: Haru <haru@dotalux.com>
|
|
https://github.com/HerculesWS/Hercules/issues/1484
Signed-off-by: Angelmelody <cutepeipei@hotmail.com.tw>
|
|
|
|
|
|
Cannot be reset by dispell.
Cannot be healed by item/NPC once in BITESCAR.
Heal Skill would end the BiteScar Effect.
|
|
MaxHP + 1000, MaxSP + 100.
Show's Spirit of Sea, Land and Life around the sprite when skill is
learned.
|
|
Skill Cannot be Used on GvG/Battlegrounds.
Cast time of Emergency Call doubles.
Moves to Another Position by performing High Jump:
Lv 1: Move 6 cells
Lv 2: Move 10 cells
Lv 3: Move 14 cells
|
|
Added Summoner SC ID's in status.h
|
|
(Only Placeholder, other things related to summoner will follow-up soon)
Added SQL-Upgrade: Added `class` column in charlog
|
|
Added RG King's Grace cooldown
|
|
Change *getcharid to use constants
|
|
|
|
|