summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.h
AgeCommit message (Collapse)AuthorFilesLines
2020-06-25getskillname() - strictly requiredJesusaves1-0/+1
2020-06-07Update harm() - It now accepts element, and now uses raw damage.Jesusaves1-0/+1
Add new command: calcdmg(src, target, type). It calcs ATK or MATK. Already taking in account everything.
2020-05-28Theoretical fix for crafting.Jesusaves1-0/+1
getinventorylist() will now be reliable enough to determine item indexes. Be careful when looping. Hopefully, Nicholas rotten code was squashed.
2020-05-22New builtin: harm()Jesusaves1-0/+1
Effect: Causes damage :> WARNING: Magic Damage is currently a joke >__>
2020-05-22Override built-in atcommand() to ensure it'll survive upstream changes.Jesusaves1-0/+1
2020-05-15New (DANGEROUS) Function for Moubootaur Legends runtime: resetrng()Jesusaves1-0/+1
This will select a new seed (between 0 and 4294967295) and replace it. Using this command should affect EVERYTHING ingame - from scripts to monsters.
2020-04-26New builtin script command: aggravateJesusaves1-0/+1
Does what Provoke and Mass Provoke should do, but 10x better. And 40x more hackish.
2020-02-26New utility function: instanceowner.Jesusaves1-0/+1
Will return the ID of the instance owner. "0" means global instance or invalid. Party and Guilds share IDs, so be careful when not using account IDs for this.
2020-01-25ChangePlayerMusic()Jesusaves1-0/+1
2019-11-06countitem() - add support for RIDJesusaves1-0/+3
2019-10-19Add a function to retrieve EXP tax for a certain guild role.Jesusaves1-0/+2
There's a prototype (WIP) to retrieve the configured role name. That would allow us in a future to allow guild role name customization
2019-10-02New function: readbattleparam( <param> )Jesusaves1-0/+1
Complements with some info only available with getunitdata(), which only works with non-players. Not everything covered by getunitdata() is covered by this function.
2019-09-14Force debugmes to don't be deprecated. I'm not going to change that on ML. Dot.Jesusaves1-0/+1
2019-09-03Add new function: readparam2(-)Jesusaves1-0/+1
Works similar to readparam, but it reads from battle status. It returns stats with the bonuses, defense, and attack, besides MaxHP/MaxMP.
2019-08-25[TMW2 Patch]Jesusaves1-0/+1
2019-08-17Homunculus Dispatch core rulesJesusaves1-0/+3
2019-08-17Get Homunculus EXP command (Homunculus need to be alive)Jesusaves1-0/+1
2019-04-09Merge branch 'master' into tmw2Jesusaves1-0/+1
2019-04-05Implement sendMapMask() which sends a custom map mask only to a specified user.Jesusaves1-0/+1
Remember to use getmapmask() before!
2019-03-15Replace built-in function getguildmember() to return their position too.Jesusaves1-0/+1
Fine grained control is everything %%e Just don't make it overly complex as usual ^.^
2019-03-12The last part of guild ~~functions hack~~ implementation.Jesusaves1-0/+1
setguildrole allows us to enjoy the feature (which works well as 4144 said it would) And at the same time, allows 4144 all time he wants to add that properly client side. ...Jesusalva hurries too much, doesn't him?
2019-03-12Implement guild info functions on TMW2.Jesusaves1-0/+7
At least it wasn't difficult >_>
2018-03-26add missing hashtable iterator buildinss20180406gumi1-0/+3
2018-02-27Add script function for check is hash table exists.Andrei Karas1-0/+1
New script function: htexists.
2018-02-15Add script command for check is id belong to existing instance.Andrei Karas1-0/+1
New script command: isinstance id
2017-06-05Remove areatimer from buildins.s20170627Andrei Karas1-1/+0
2017-06-05remove isstrgumi1-1/+0
2017-06-05remove misceffectgumi1-1/+0
2017-04-19Add script functions for manipulate item options.Andrei Karas1-0/+4
New functions: getitemoptionidbyindex getitemoptionvaluebyindex getitemoptionparambyindex setitemoptionbyindex
2016-09-26Add/extend functions for manipulate quest variables and time.Andrei Karas1-0/+3
See evol script docs.
2016-09-05add slide buildingumi1-0/+1
2016-09-04Add script command for close npc dialog only on client without affecting ↵Andrei Karas1-0/+1
server side. New script command: closeclientdialog
2016-09-04Fix hack with input string. Previous commit missing custom input function.Andrei Karas1-0/+1
2016-08-17Add function for convert label to int and int to label.Andrei Karas1-0/+2
New functions: getlabel - get label and return int tolabel - get int and return label
2016-06-21Add script command for remove card in item by inventory and card index.Andrei Karas1-0/+1
New script command: removecardbyindex itemIndex, cardIndex
2016-06-21Add script command for get card from item by inventory index.Andrei Karas1-0/+1
New script command: getcardbyindex itemIndex, cardIndex
2016-06-20add buildin setfakecells (fake client-side collision)mekolat1-0/+1
2016-06-15add hashtable functionsJoseph Botosh1-0/+10
htnew, htdelete, htput, htget, htclear, htsize htiterator, htinextkey, hticheck, htidelete
2016-03-30Add script command failedremovecardsindex.Andrei Karas1-0/+1
For remove all cards from item by inventory index.
2016-03-30Add script command successremovecardsindex.Andrei Karas1-0/+1
For remove all cards from item by inventory index.
2016-03-30Split script.c into buildins and other script functions.Andrei Karas1-0/+73