summaryrefslogtreecommitdiff
path: root/npc
AgeCommit message (Collapse)AuthorFilesLines
2019-04-29Fix issue #1955Emistry Haoyan1-3/+6
- fix error due to event terminated by GM using `@killmonster` command.
2019-03-11Merge pull request #2396 from AnnieRuru/67-mobattachedHaru1-1/+1
* Add *mobattached and *killmonstergid script command
2019-03-11Merge pull request #2397 from AnnieRuru/68-getmercinfoHaru3-9/+9
Add constants and MERCINFO_GID to *getmercinfo script command
2019-03-11Merge pull request #2360 from sigtus/stableHaru1-18/+10
Added missing return on F_GetTradeRestriction
2019-03-11Add MERC_ Constants to npc scriptsAnnieRuru3-9/+9
2019-03-02* Add *mobattached and *killmonstergid script commandAnnieRuru1-1/+1
also fix quests_rachel, now support with *unitemote
2019-02-11Merge pull request #1656 from AtlantisRO/job_quest_suraHaru1-3/+3
Fixes #1655 - Fix to Sura Job Change Quest get stuck after first attemp.
2019-01-29Update Global_Functions.txtsigtus1-18/+9
2019-01-29Added missing return on F_GetTradeRestrictionsigtus1-0/+1
2019-01-14Add barter shop demo script.Andrei Karas2-0/+22
2019-01-14Fix a bug that causes the event to run indefinitelyAnnieRuru1-0/+10
- the .RoundCount only increase when having players answer correctly if nobody playing this event, or players give up before .Rounds(10) rounds, it will continue run forever
2018-12-16Merge pull request #2246 from Emistry/scriptcommand_pcneedstatuspointHaru1-0/+27
Implement status reduction script command.
2018-12-16Merge pull request #2261 from Habilya/npc/woe-se-mesfHaru1-592/+592
mesf npc/woe-se
2018-12-14Add script and item for inventory expansion.Andrei Karas2-0/+64
2018-11-13Merge pull request #2289 from EyesOfAHawk/buildin_getnpcidHaru28-254/+254
Remove type argument from buildin_getnpcid.
2018-11-13Remove type argument from buildin_getnpcid.EyesOfAHawk28-254/+254
2018-10-22add unit tests for data_to_stringgumi1-0/+10
2018-10-21Merge pull request #2172 from dastgirp/enhance/getiteminfoHaru1-0/+37
Updated getiteminfo and setiteminfo.
2018-10-21Updated getiteminfo and setiteminfo.Dastgir1-0/+37
Added ITR_TRADE (Trade restriction) for both script commands
2018-10-06mesf npc/woe-seHabilya1-592/+592
2018-10-05Implement status reduction script command.Emistry Haoyan1-0/+27
- for stat reduction support. - return the amount of status point required to increase a status.
2018-10-01add more unit tests for getdgumi1-0/+6
2018-07-30push constants as C_NAME in the script buffergumi1-1/+1
2018-07-28remove specialeffect on first login from the novice academy scriptAsheraf1-1/+0
this effect is officialy given thought the achievements system on first login.
2018-07-24update scripts to use new questinfo formatAsheraf2-16/+48
2018-07-12Fix date part2Unknown5-5/+5
2018-06-29Merge pull request #2098 from Asheraf/pairshipupdateHaru1-287/+576
update private airship map list to match main kRO servers
2018-06-25Merge pull request #2077 from AnnieRuru/39-pre-incrementHaru1-0/+14
Fix pre-increment / pre-decrement operator error
2018-06-21update private airship map list to match main kRO serversAsheraf1-287/+576
2018-06-14Fix pre-increment / pre-decrement operator errorAnnieRuru1-0/+14
eg: if (1) ++.@i;
2018-06-05Update instance scripts to follow official behaviourAsheraf15-233/+201
2018-05-07Merge pull request #1998 from Asheraf/private_airshipHaru4-0/+504
Implementation of Private AirShip
2018-05-05Fix some wrong messages in clans.txtJedzkie1-3/+3
2018-05-04Implementation of Private AirShipAsheraf4-0/+504
2018-04-08Added noteleport mapflag for pay_archeJedzkie1-0/+1
2018-02-06Merge pull request #1718 from Murilo-BiO/clan_systemHaru2-0/+583
Implementation of Official Clan System
2018-01-28Merge pull request #1881 from AtlantisRO/Standardization-MalangdoCulvert.txtAsheraf1-612/+675
Applied standardization to MalangdoCulvert script
2018-01-28Merge pull request #1880 from AtlantisRO/Standardization-HazyForest.txtAsheraf1-572/+627
Applied standardization to HazyForest script
2018-01-28Merge pull request #1878 from AtlantisRO/Standardization-EclageInterior.txtAsheraf1-367/+371
Applied standardization to EclageInterior script
2018-01-28Merge pull request #1877 from AtlantisRO/Standardization-BuwayaCave.txtAsheraf1-230/+230
Applied standardization to BuwayaCave script
2018-01-28Merge pull request #1874 from AtlantisRO/Standardization-BakonawaLake.txtAsheraf1-302/+350
Applied standardization to BakonawaLake script
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares2-0/+583
All official features work including the autokick for inactive members And the system is completely customizable.
2018-01-14Merge pull request #1871 from AtlantisRO/Standardization-NydhoggsNest.txtHaru1-1675/+1691
Applied standardization to NydhoggsNest script
2017-12-10Merge pull request #1883 from AtlantisRO/Standardization-OldGlastHeim.txtHaru1-699/+748
Applied standardization to OldGlastHeim script
2017-11-18Merge pull request #1902 from MishimaHaruna/getiteminfo-fixHaru12-95/+169
getiteminfo() / setiteminfo() fixes
2017-11-18Merge pull request #1862 from AtlantisRO/standardizationHaru1-1168/+1092
Applied standardization to EndlessTower script
2017-11-12Rewrite F_GetArmorType to reflect the fact that ITEMINFO_LOC returns a bitmaskHaru1-27/+72
The function now handles multi-slot headgears and other uncommon cases better. Signed-off-by: Haru <haru@dotalux.com>
2017-11-12Add F_GetAmmoType global function, counterpart to F_GetWeaponType for ↵Haru1-0/+25
ammunitions Both functions have now been updated to only check the subtype if the item type is correct (IT_AMMO for F_GetAmmoType, IT_WEAPON for F_GetWeaponType) Signed-off-by: Haru <haru@dotalux.com>
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru12-93/+97
Replacements are as follows: 0 => ITEMINFO_BUYPRICE 1 => ITEMINFO_SELLPRICE 2 => ITEMINFO_TYPE 3 => ITEMINFO_MAXCHANCE 4 => ITEMINFO_SEX 5 => ITEMINFO_LOC 6 => ITEMINFO_WEIGHT 7 => ITEMINFO_ATK 8 => ITEMINFO_DEF 9 => ITEMINFO_RANGE 10 => ITEMINFO_SLOTS 11 (Subtype, for weapons and ammunitions) => ITEMINFO_SUBTYPE 11 (ViewSprite, for other item types) => ITEMINFO_VIEWSPRITE (NOT AVAILABLE YET) 12 => ITEMINFO_ELV 13 => ITEMINFO_WLV 14 => ITEMINFO_VIEWID 15 => ITEMINFO_MATK (NOT AVAILABLE YET - this was documented but never implemented) Calls to getiteminfo() and setiteminfo() have been replaced with the newly introduced constants. Other constants (such as W_ weapon subtypes) in related code have been replaced as well, to improve code readability. This fixes an issue in the Eden Tutorial script "Tutorial Goal", where ITEMINFO_ATK was accidentally used instead of ITEMINFO_WEIGHT. Note: calls to getiteminfo or setiteminfo with numeric type arguments in third party scripts must be replaced with the respective constants. The use of numeric literals is no longer recommended, and those values may change in the future without notice. See the getiteminfo documentation for details. Signed-off-by: Haru <haru@dotalux.com>
2017-11-12Merge pull request #1836 from Emistry/script_F_GetArmorTypeHaru1-3/+16
Update F_GetArmorType()